Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are you able to use the qtconsole with optirun/primusrun #1

Open
hmaarrfk opened this issue Jan 29, 2018 · 2 comments
Open

Are you able to use the qtconsole with optirun/primusrun #1

hmaarrfk opened this issue Jan 29, 2018 · 2 comments

Comments

@hmaarrfk
Copy link

Hey, I guess I found your instructions for optirun, and I was wondering if you tried to use primusrun?
optirun seems to be give me the following error:

cat /home/mark/test/share/jupyter/kernels/python3/kernel.json 
{
 "argv": [
  "optirun",
  "python",
  "-m",
  "ipykernel_launcher",
  "-f",
  "{connection_file}"
 ],
 "language": "python",
 "display_name": "Python 3"
}
$ optirun ipython grid.py 
WARNING: This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Reinstalling the application may fix this problem.

changing optirun to primusrun in both places seems to run the application.

However, when I launch

primusrun jupyter qtconsole

then issue

%run app_name

It freezes and can't run the application.

Any clue as to what is going on?

@StreakyCobra
Copy link
Owner

Hi,

I just tried to use the GPU in tensorflow through optirun and primusrun, none of them are working anymore :( I tried to find a way to solve this but without success for now.

Also, I never used jupyter qtconsole before, so I can not guarantee that is has been working at all in the past.


Here is the setup I tried with:

  • Archlinux:
    • CUDA 9.1
    • cuDNN 7.0
  • In a conda environment:
    • Python 3.6
    • tensorflow 1.0.1
    • tensorflow-gpu 1.4.1

@hmaarrfk
Copy link
Author

Hey thanks for talking it out. It might be growing pains with Wayland. Though, when I tried loging into X11 it wasn't working either.

I realized I had Fedora 27 installed with an old version of the driver.
I tried updating the driver, but the new one doesn't really work and froze my system at the login screen. Apparently there is some issue with bbswitch. I reinstalled F27 before I knew that this was a known issue. I'll try to get my system to boot again tonight.

NVidia graphics seemed to be working OK on my desktop, I didn't realize there was so much left to do with switchable graphics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants