[SOLVED] Xorg doesn't start after mesa-19.1.1 update ("no unwind info found" error).
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I removed libglvnd and set "-Dglvnd=false" in slackbuild.
After compilation ends and it starts building the package i get error:
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
If i do not remove libglvnd, i get exactly same error.
Maybe you have some bits from the nvidia package still lingering on your system? Try reinstalling both mesa and xorg-server with slackpkg. Then please share the output from these two commands.
How about to go temporary as runlevel 3, then to remove libglvnd and mesa packages, then to build the new mesa (from the Linux console) ?
That's what i did actually.
Quote:
Originally Posted by orbea
Maybe you have some bits from the nvidia package still lingering on your system? Try reinstalling both mesa and xorg-server with slackpkg. Then please share the output from these two commands.
I also have a problem with Xorg not starting with nvidia graphics after the recent upgrade to mesa-19.1.1
I have determined that the new mesa introduces a new dependency on lm_sensors to /usr/lib/xorg/modules/dri/nouveau_dri.so
and that if
/usr/lib/libsensors.so.5
is either deleted or renamed
then Xorg starts but glxgears will not run
however if libsensors.so.5 is present Xorg will not start
If I revert just /usr/lib/xorg/modules/dri/nouveau_dri.so from mesa-19.0.6 but keep all the rest of the system at updated status then Xorg starts and glxgears runs.
I notice that the /usr/lib/libsensors.so.5 dependency seems to go hand-in-hand with LLVM dependency..... I have confirmed that the problem is not present on Intel graphics machines and they do not have lm_sensors or LLVM dependencies in their dri modules....
I am running a system built from 32-bit Slackware Current components on a Dell Precision T5400 desktop with:
02:00.0 VGA compatible controller: NVIDIA Corporation GT218 [NVS 300] (rev a2)
Subsystem: NVIDIA Corporation Device 0862
Kernel driver in use: nouveau
Kernel modules: nouveau
Next reinstall mesa and xorg-server again. If the problem persists share the output of the 'ldd' command again.
Code:
ldd /usr/lib*/libGL.so*
Edit2: You will also want to get rid of any files with the '304.137' version like '/usr/lib/libGL.so.304.137'.
First make sure you find them all.
Code:
find /usr/lib -name '*304.137*'
And then be sure to remove them like already done for the nvidia libraries. You will want to reinstall mesa and xorg after removing the files to make sure you have the correct versions installed.
I have had problems with X when upgrading mesa, using Nouveau or Nvidia prop. drivers ( slackware64--current, actually running
a GeForce GT 710).
Now when i see a mesa upgrade, first of all I remove nvidia ( or nouveau) drivers, then i removepkg mesa, then installpkg new mesa
and then again nvidia or nouveau. And all seems to be OK.
If this can help...
HP
GT 710 should be fine with latest from nividia. as for uninstalling NVidia with mesa upgrades the way it is linked now really not needed.
this has happened newer mesa "libglvnd" and the ability to run more than one Module. This reminds me when we where dealing with openGL 3 and 4 with xorg years ago.
I am sure we will see more of this as Wayland implemented and Nvidia drags feet.
How to test upgrade mesa do not uninstall and you will see it will not complain about the links.
I have tested this several times now.
Especially with the latest xorg updates. https://devtalk.nvidia.com/default/t...aller-package/
whereas if I 'remove' libsensors.so.5 this must "interrupt the flow" before the error is triggered as Xorg.0.log then says:
Code:
[ 331.806] (II) AIGLX: Screen 0 is not DRI2 capable
[ 331.806] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (libsensors.so.5: cannot open shared object file: No such file or directory)
[ 331.806] (EE) AIGLX error: unable to load driver swrast
Next reinstall mesa and xorg-server again. If the problem persists share the output of the 'ldd' command again.
Code:
ldd /usr/lib*/libGL.so*
Edit2: You will also want to get rid of any files with the '304.137' version like '/usr/lib/libGL.so.304.137'.
First make sure you find them all.
Code:
find /usr/lib -name '*304.137*'
And then be sure to remove them like already done for the nvidia libraries. You will want to reinstall mesa and xorg after removing the files to make sure you have the correct versions installed.
Code:
rm -f /usr/lib/libGL.so.304.137
I did as you asked, but the problem persists.
ldd output:
Do you still get the xorg backtrace when you install the missing packages?
Hi
There are no 'missing packages' to install that I know of.........I 'removed' (by renaming) libsensors.so.5 because I noted that this had become a new dependency of nouveau_dri.so after the mesa update...........this allowed Xorg to start with no backtrace as indicated but with no DRI2 so glxgears failed.
All packages are the latest to Thu Jun 27 19:07:20 UTC 2019
Cheers
pee_bee
p.s. everything was working just fine for quite a few years prior to the recent mesa update....
@Jefferson That seems like an improvement as its now using nouveau instead of swrast (software), but that didn't seem to solve all of your problems... Can you try compiling mesa from source yourself again, I hope at least that works now? It may be worth to also try newer (git) or older versions to see if they are better.
Quote:
Originally Posted by pee_bee
Hi
There are no 'missing packages' to install that I know of.........I 'removed' (by renaming) libsensors.so.5 because I noted that this had become a new dependency of nouveau_dri.so after the mesa update...........this allowed Xorg to start with no backtrace as indicated but with no DRI2 so glxgears failed.
I mean at least lm_sensors, this is now a dependency for mesa and it should be installed if you want stuff to work correctly. Your error message indicates that its not correctly installed.
Code:
[ 331.806] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (libsensors.so.5: cannot open shared object file: No such file or directory)
Perhaps this issue is different than the other issue you can also reproduce.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.