Hi,
my system is:
Architecture x86-64
OS Opensuse 13.2, kernel version 3.16.6-2-desktop
processor 4xIntel(R) Core™ i7-4500U CPU @ 1.80GHz
graphics card Intel VGA compatible controller
graphics card nVidia 3D controller
after upgrading from 13.1 to 13.2 OS, this message appears when I try to launch a graphic program “Xw_Window, GLX extension unavailable”, the Xorg.0.log presents some errors:
26.511] (EE) open /dev/dri/card0: No such file or directory
26.511] (WW) Falling back to old probe method for modesetting
26.511] (EE) open /dev/dri/card0: No such file or directory
26.512] (WW) Falling back to old probe method for vesa
26.512] (EE) Screen 0 deleted because of no matching config section.
26.519] (EE) AIGLX: reverting to software rendering
26.541] (EE) AIGLX error: dlopen of /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
26.541] (EE) GLX: could not load software renderer
Well, maybe you tried to install it via the .run installer from nvidia’s website?
In any case, your Mesa is broken, as it was back in the other thread. Maybe still some left-overs from your first tries? Maybe you should just install fresh?
Re-installing Mesa-libGL1 and xorg-x11-server should probably help:
sudo zypper in -f Mesa-libGL1 xorg-x11-server
If not, then you maybe did something wrong when upgrading.
Please post your repo list in this case:
zypper lr -d
And “Bumblebee” for opensuse 13.2 isn’t available.
Of course it is.
It’s even included in 13.2 (except nvidia-bumblebee).
PS: “zypper info nvidia” doesn’t prove anything, as there is no package named “nvidia”.
Post the output of “zypper se nvidia”. Or “rpm -qa | grep nvidia”.
Enter YaST->System->Boot Loader->Kernel Parameters, and remove the “nomodeset” from the “Optional Kernel Boot Parameter” field.
Then the intel driver (including OpenGL) should work.
And you’d better remove the modeset.nouveau=0 as well, nouveau is not loaded anyway, as this is an Optimus system.
You’re original error message still puzzles me though:
The software renderer (swrast) should work unless you install the nvidia driver.
Which Mesa packages do you have installed?
Maybe it doesn’t match the rest of the system?
You did experiment with different Mesa versions in the past IIRC…
rpm -qi Mesa Mesa-libglapi0
rpm -qa Mesa*
PS, please also post the output of:
ldd /usr/lib64/dri/swrast_dri.so
Maybe there’s still an old nvidia library lying around on your hard disk which gets preferred (replacing libglapi maybe).
If I remove the “nomodeset” and “modeset.nouveau=0” as well, yast2 gives me this error “An error occurred during boot loader installation. Retry boot loader configuration?”
That’s bad.
How could it even install the boot loader in the first place then?
Then edit the file /etc/default/grub with a text editor (as root) and remove them from the line “GRUB_CMDLINE_LINUX_DEFAULT=”.
Afterwards run “sudo grub2-mkconfig -o /boot/grub2/grub.cfg” to apply the change.
Hm. I have no idea at the moment then where this error could come from then.
Maybe this will show something suspicious? (some wrong link?)
ls -l /usr/lib64/libGL*
and
ls -l /usr/lib64/libglapi*
"GRUB_CMDLINE_LINUX_DEFAULT="
this variable seems undefined.
Yes. This is no system variable that will get defined.
It is a configuration value for grub2.
You should change it accordingly in /etc/default/grub and then recreate the boot menu, via “sudo grub2-mkconfig -o /boot/grub2/grub.cfg”.
Have you done that?
Has it helped?
If not, please post /var/log/Xorg.0.log again.
Last question, for using nvidia card and switch from intel to nvidia on my optimus notebook, there is a manual procedure ? Avoiding bumblebbe that is almost impossible to install for a newbi.
Last question, for using nvidia card and switch from intel to nvidia on my optimus notebook, there is a manual procedure ? Avoiding bumblebbe that is almost impossible to install for a newbi.
Yes, there is, but this only works with nouveau, not the nvidia driver. So it doesn’t really make much sense I think, except for turning off the nvidia card completely to save power.
IIRC, I already raised the suspicion that you still have parts of the nvidia driver left which cause your problems with the bumblebee installation.
So probably it will work just fine now after we finally removed it?
If you follow these instructions, it should work (but do not install the standard nvidia driver, install nvidia-bumblebee from the Bumblebee repo): https://en.opensuse.org/SDB:NVIDIA_Bumblebee