Open Artox opened 7 years ago
You must install the proprietary "nvidia" driver for use with Bumblebee. Have you tried following your distro documentation? https://en.opensuse.org/SDB:NVIDIA_Bumblebee
You must install the proprietary "nvidia" driver for use with Bumblebee. That is news to me. I thought I could choose nouveau, or nvidia; and thus I chose to first get it working with nouveau before pulling in more dependencies and things that could break. Also note that the distro-documentation you linked clearly labels this step optional.
I can try using the nvidia driver later today. Does nouveau really not work? According to the Feature Matrix this GPU should be reasonably well supported.
So I now got around to installing the nvidia drivers. Used rpm packages from https://download.nvidia.com/opensuse/leap/42.3 . Sadly it does not work:
export LIBGL_DEBUG=verbose
optirun glxinfo
name of display: :0
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /home/josua/.drirc: No such file or directory.
libGL: Can't open configuration file /home/josua/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL: Can't open configuration file /home/josua/.drirc: No such file or directory.
libGL: pci id for fd 5: 8086:0166, driver i965
libGL: OpenDriver: trying /usr/lib64/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/i965_dri.so
libGL: Can't open configuration file /home/josua/.drirc: No such file or directory.
libGL: Using DRI3 for screen 0
X Error of failed request: GLXBadContext
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 48
Current serial number in output stream: 47
I can't exactly tell whats wrong here.
Either way the one thing that does work:
optirun -b none nvidia-settings -c :8
I get to see exactly what I expect, except for a supposed screen resolution of 640x480. I guess thats harmless.
@Artox when using Nouveau you don't need bumblebee
@Artox when using Nouveau you don't need bumblebee
Now you caught me cold. I thought without Bumblebee I was stuck with the Intel graphics block (which runs on i915 I think, not nouveau)?
@Artox If you remove Bumblebee and install nouveau, you can make applications render on the Nvidia GPU by enabling PRIME. Can for example be done with:
DRI_PRIME=1 glxgears
That has less overhead than "optirun glxgears", technically it works in a completely different way. This "PRIME" rendering method is however not available with the Nvidia driver (Nvidia proprietary driver only displaying stuff rendered on the Intel GPU on its outputs, not the other way round).
Please try also:
optirun sudo glxgears
and report your result.
OpenSUSE 42.3
And now the context:
When trying to run glxgears or glxinfo (No other applications attempted) through optirun (/primusrun), I get this output on the console:
And this is the dmesg that was printed while, and after running optirun:
What I have attempted: Adding a Screen section to /etc/bumblebee/xorg.conf.nouveau:
Explicitly set BusID "PCI:01:00:0" Add rcutree.rcu_idle_gp_delay=1 to cmdline
Any suggestions how to proceed?