Libgl Error Dlopen /usr/lib/dri/swrast_dri.so Failed
Contents |
Assigned to Milestone xserver-xorg-video-ati (Ubuntu) Edit Confirmed Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: xserver-xorg-video-ati (Ubuntu) Filed here by: onli swrast_dri.so ubuntu When: 2014-06-17 Confirmed: 2016-06-28 Target Distribution Baltix BOSS Juju Charms Collection failed to load driver swrast ubuntu Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu libgl error: no matching fbconfigs or visuals found RTM Package (Find…) Project (Find…) Status Importance Confirmed Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project libgl error: failed to load driver: swrast (?) Also affects distribution/package Nominate for series Bug Description After upgrading from 12.04 to 14.04, direct rendering was not working. glxinfo showed these errors: onli@Fallout:~$ glxinfo name of display: :0.0 libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory) libGL error: unable to load driver: swrast_dri.so libGL error: failed to load
.drirc File
driver: swras display: :0 screen: 0 direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose A sudo ln -s /usr/lib/i386-linux-gnu/dri /usr/lib/dri fixed it. (Re-)Installation of this package should probably check for that symlink, if this is the right place. Tags: trusty Edit Tag help onli (onli) on 2014-06-17 tags: added: trusty Launchpad Janitor (janitor) wrote on 2016-06-28: #1 Status changed to 'Confirmed' because the bug affects multiple users. Changed in xserver-xorg-video-ati (Ubuntu): status: New → Confirmed See full activity log To post a comment you must log in. Report a bug This report contains Public information Edit Everyone can see this information. Mark as duplicate Convert to a question Link a related branch Link to CVE You are not directly subscribed to this bug's notifications. Subscribing... Edit bug mail Other bug subscribers Subscribe someone else • Take the tour • Read the guide © 2004-2016 CanonicalLtd. • Terms of use • Contact Launchpad Support • Blog • Careers • System status • r18232 (Get the code!)
failed to load driver swrast General support questions Post Reply Print view Search Advanced search 6 posts • Page 1 of 1 jody Posts: 18 Joined: 2015/05/12 12:58:08 [SOLVED] after update, failed to load driver
Driver Does Not Expose __dridrivergetextensions_swrast()
swrast Quote Postby jody » 2016/02/04 11:33:03 HiI did a 'yum update' today on ubuntu install swrast our CentOS 7 machine.I am quite sure NVIDIA-Linux-x86_64-352.79 was installed (before the update, it was NVIDIA-Linux-x86_64-352.63)Everything seems to be working normally unable to load driver swrast_dri so and most OpenGL program work. However one OpenGL application reportsCode: Select alllibGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
during start and then the GL windows are not https://bugs.launchpad.net/bugs/1330870 drawn - they just contain the background.Before the update this application worked correctly, and did not display the message about swrast.However, swrast seems to be present:Code: Select all$ ls -l /usr/lib64/dri/*swrast*
-rwxr-xr-x. 7 root root 8292104 Nov 20 18:42 /usr/lib64/dri/kms_swrast_dri.so
-rwxr-xr-x. 7 root root 8292104 Nov 20 18:42 /usr/lib64/dri/swrast_dri.so
There was a post with a similar topichttps://www.centos.org/forums/viewtopic.php?f=13&t=4130&p=20321&hilit=swrast#p20321but in my case 'glxinfo' does not complain.In my ' /var/log/Xorg.0.log' there was no mention http://www.centos.org/forums/viewtopic.php?t=56273 of 'swrast'.Is it perhaps necessary to reinstall swrast?If yes, which package would i have to install? Can anybody help me fix this problem?Thank You Last edited by jody on 2016/02/04 15:10:32, edited 1 time in total. Top TrevorH Forum Moderator Posts: 16877 Joined: 2009/09/24 10:40:56 Location: Brighton, UK Re: after update, failed to load driver swrast Quote Postby TrevorH » 2016/02/04 11:54:13 If you have installed the nvidia drivers using their binary .run package then you need to reinstall that each and every time there is a kernel update. They also overwrite other files belonging to other packages (mesa* xorg*?) so other things may also break them when CentOS packages are updated. This is why ELRepo repackage the nvidia .run files as proper CentOS yum packages and remove the file overwrites. CentOS 5 dies in March 2017 - migrate soon!Full time Geek, part time moderator. Use the FAQ Luke Top jody Posts: 18 Joined: 2015/05/12 12:58:08 Re: after update, failed to load driver swrast Quote Postby jody » 2016/02/04 14:06:27 It is true that i have originally installed nvidia with a *.run binary.But after some problems i uninstalled it (with --uninstall) and then did 'yum install kmod-nvidia'.I ran the failing program again withCode: Select allexport LIBGL_DEBUG=verbose for more detailed
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview http://askubuntu.com/questions/283640/libgl-error-failed-to-load-driver-i965 of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site http://stackoverflow.com/questions/26202156/gdebugger-libgl-error-on-linux About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions libgl error Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are to load driver voted up and rise to the top libGL error: failed to load driver: i965 up vote 5 down vote favorite 5 Hi I just installed the AMD propietary driver for my HP pavilion dv6 with switchable graphics with Xubuntu 12.10. Everything seems to work fine but games doesn't load good and if I use the command: LIBGL_DEBUG=verbose fglrxinfo I get this errors: libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/i965_dri.so libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/i965_dri.so libGL error: dlopen /usr/lib/i386-linux-gnu/dri/i965_dri.so failed (/usr/lib/i386-linux-gnu/dri/i965_dri.so: wrong ELF class: ELFCLASS32) libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/i965_dri.so libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/i965_dri.so libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/gerard/.drirc: No such file or directory. libGL error: failed to load driver: i965 libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so libGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/usr/lib/i386-linux-gnu/dri/swrast_dri.so: wrong
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up gDebugger libGL error on linux up vote 1 down vote favorite I'm trying to debug my OpenGl project with gDEBugger, but unfortunately gDEBugger is not even starting: ~/bin/gDEBugger581-x86_64> ./gDEBugger-bin libGL error: failed to load driver: swrast libGL error: Try again with LIBGL_DEBUG=verbose for more details. Segmentation fault ~/bin/gDEBugger581-x86_64> LIBGL_DEBUG=verbose ./gDEBugger-bin libGL: screen 0 does not appear to be DRI2 capable libGL: OpenDriver: trying /usr/lib64/dri/updates/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib64/dri/updates/swrast_dri.so libGL error: dlopen /usr/lib64/dri/updates/swrast_dri.so failed (/usr/lib64/dri/updates /swrast_dri.so: cannot open shared object file: No such file or directory) libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so libGL error: dlopen /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch) libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast Segmentation fault this happens with the last gremedy version (5.8.1), the last AMD version (6.2.4) and the latest CodeXL version (CodeXL doesn't crash, but the same error appears non the less and debugging doesn't work). I'm on OpenSuse 13.1, I have a NVIDIA card and the latest drivers installed. Other OpenGL programms work just fine. So far I've tried to reinstall NVIDIA drivers, reinstall all MESA packages, update CUDA from 5.5 to 6.5, checked that all mesa packages are installed from the standard suse repo