[opensuse-support] Optimus (nvidia) and bumblebee (or primus?)
Hi list, I wonder if some here use Optimus laptops and can share some input. I do, and use bumblebee, because all I need it for is some single applications. suse-prime, which requires logging out and in, is therefore way too much overhead. I've read that newer prime versions do also support prime-run using render offload with nvidia drivers newer than some 435.xx But checking the opensuse pages on prime nothing of that is mentioned, and 'cnf prime-run' doesn't give any matches. So it seems I'm stuck with bumblebee (which I don't have an issue with). However, now there's kernel 5.5 (I run Tumbleweed). And the current version of bumblebee uses nvidia 418.113, which won't compile against 5.5 :( Naive as I am :o, I just pulled the RPM source for the kernel modules, changed the spec file to use 440.59 instead, and generated my own package for nvidia-bumblebee. It does install and compile the kernel modules without error. I can load them, also w/o error. BUT: It doesn't work :( woodstock:~ # systemctl status bumblebeed.service ● bumblebeed.service - Bumblebee C Daemon Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; disabled; vendor preset: disabled) Active: active (running) since Tue 2020-02-18 11:14:04 CET; 7s ago Main PID: 28447 (bumblebeed) Tasks: 1 (limit: 4915) Memory: 1.7M CGroup: /system.slice/bumblebeed.service └─28447 /usr/sbin/bumblebeed woodstock:~% optirun --status Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off. woodstock:~% optirun glxspheres Polygons in scene: 62464 (61 spheres * 1024 polys/spheres) libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast GLX FB config ID of window: 0xad (8/8/8/0) Visual ID of window: 0x21 X Error of failed request: GLXBadContext Major opcode of failed request: 151 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 37 Current serial number in output stream: 36 Even the X server seems to start w/o major issues, woodstock:~ # grep EE /var/log/Xorg.8.log [ 1731.350] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied [ 1731.355] (EE) Failed to load module "mouse" (module does not exist, 0) [ 1731.777] (EE) Failed to load module "mouse" (module does not exist, 0) [ 1731.777] (EE) No input driver matching `mouse' [ 1731.778] (EE) PreInit returned 2 for "<default pointer>" [ 1731.778] (EE) kbd: <default keyboard>: failed to set us as foreground pgrp (Inappropriate ioctl for device) [ 1731.788] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied (card0 is the intel card) Does anyone have an idea what I am missing? -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Le 18/02/2020 à 11:41, Peter Suetterlin a écrit :
It doesn't work :(
bumblebee worked for me... one or two days :-( I wanted to test Resolve proprietary video editor, and it worked lightningly fast... but no more when I need it I don't know really if this works at all reliably jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
jdd@dodin.org wrote:
Le 18/02/2020 à 11:41, Peter Suetterlin a écrit :
It doesn't work :(
bumblebee worked for me... one or two days :-(
Now, with kernel 5.5? Bumblebee worked for me w/o issues the last 3 years or so. It's just now with the kernel change that it doesn't anymore... -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Le 18/02/2020 à 12:04, Peter Suetterlin a écrit :
jdd@dodin.org wrote:
Le 18/02/2020 à 11:41, Peter Suetterlin a écrit :
It doesn't work :(
bumblebee worked for me... one or two days :-(
Now, with kernel 5.5? Bumblebee worked for me w/o issues the last 3 years or so. It's just now with the kernel change that it doesn't anymore...
no, I use Leap 15.1 may be my asus n550 jk is not compatible enough jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Yuck! I had overlooked a change in the files (or rather, overlooked the error note during the install..). The new version no longer uses a private libGL.so, but has switched to using libGLX_nvidia.so. Installing this, plus a slight change in the icd file, brought my bumblebee/optirun back to life :D -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (2)
-
jdd@dodin.org
-
Peter Suetterlin