Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]libgl error: unable to load driver: r600_dri.so
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
AndrewAmmerlaan
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2014
Posts: 143
Location: Lent

PostPosted: Sun May 07, 2017 7:10 am    Post subject: [SOLVED]libgl error: unable to load driver: r600_dri.so Reply with quote

So the other day I was reading up on wayland, and decided to give it a shot. I added the waylamd USE flag, and ran emerge -uDN @world. However after reboot the screen stayed black, trying to startx resulted in just a black screen and the following errors:
Code:

libGL error : unable to load driver r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver
libGL error: unable to load driver swrast_dri.so
libGL error: failed to loaf driver swrast
Unrecognized opengl version
Unrecognized opengl version

After installing weston aswell, and elogind (as I read that it was required to make sddm work with wayland). Weston-launch also failed with similar error messages, it also failed to load r600.
Giving up on trying to get wayland to work for the moment, I reverted all the changes I made. Yet the weird thing is that after rebuilding, x still fails to start with the same error message, how can this be? How is it that this driver pointer is still missing, and how do I get it back?
_________________
OS: Gentoo KDE x86_64 (~amd64, 4.20.7-gentoo)
MB: MSI Z370-A PRO
CPU: Intel Core i7-8700K
GPU: NVIDIA GTX 1060 6GB & Intel UHD Graphics 630
SSD: Samsung 970 Pro 512GB
RAM: Crucial Ballistix 32GB DDR4-2400


Last edited by AndrewAmmerlaan on Wed May 10, 2017 3:49 pm; edited 2 times in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Sun May 07, 2017 5:48 pm    Post subject: Reply with quote

Just a guess here:

These modules are supplied by mesa, though probably this is unnecessary:
# emerge -1 mesa

However, this may be the problem: make sure you update your eselect for mesa and opengl to have a provider:

# eselect mesa list

# eselect opengl list

Make sure one of each section is still starred by setting one of them
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
AndrewAmmerlaan
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2014
Posts: 143
Location: Lent

PostPosted: Mon May 08, 2017 2:49 pm    Post subject: Reply with quote

Sadly, that didn't work. I also checked /var/log/messages for any additional output, but it didn't show anything out of the ordinary.
Also, here is my make.conf: https://bpaste.net/show/5918da83f273

EDIT: It seems that x does start when eselect mesa 64/32 bit software renderer is set to classic instead of gallium, it is however much slower and kwin crashes immediatly with a seg fault.
_________________
OS: Gentoo KDE x86_64 (~amd64, 4.20.7-gentoo)
MB: MSI Z370-A PRO
CPU: Intel Core i7-8700K
GPU: NVIDIA GTX 1060 6GB & Intel UHD Graphics 630
SSD: Samsung 970 Pro 512GB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
AndrewAmmerlaan
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2014
Posts: 143
Location: Lent

PostPosted: Wed May 10, 2017 3:48 pm    Post subject: Reply with quote

The good news is that I fixed it, the bad news is that I don't know exactly what fixed it. But I'll just leave what I did here for anyone else having a similar problem.
So basically I rebuilt everything with emerge -e @world which also rebuilt whatever was causing this problem. Consequently I don't know which package rebuild fixed it, however I do know that mesa nor xorg-server were the cause of it as I had already rebuilt those prior to rebuilding everything else.
_________________
OS: Gentoo KDE x86_64 (~amd64, 4.20.7-gentoo)
MB: MSI Z370-A PRO
CPU: Intel Core i7-8700K
GPU: NVIDIA GTX 1060 6GB & Intel UHD Graphics 630
SSD: Samsung 970 Pro 512GB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum