Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

installing X with radeon driver lead to llvmpiped slow X


onli

Question

I have a Radeon 7950. I think my question is whether it is a known bug, just something I did wrong or something I should report elsewhere?

 

Following the installation doc in the wiki, I added radeon as VIDEO_CARD to my make.conf. When later installing X, I had to add glamor. When X then started it claimed to have DRI, but did not use the radeon driver but rather the mesa llvmpipe solution, which is as far as I udnerstand only cpu powered? In any case, it was unbearably slow. I then stumbled upon http://forums.funtoo.org/topic/850-cant-start-x-as-a-regular-user/ because If ound the same debug output when starting X:

gbm: failed to open any driver (search paths /usr/lib64/dri)
gbm: Last dlopen error: /usr/lib64/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory
failed to load driver: radeonsi
EGL_MESA_drm_image required.

Note that the xorg.0.log did not contain that error.

 

The solution was to add radeonsi to VIDEO_CARD and to let emerge rebuild with --newuse.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I don't think so. It states the contrary in https://wiki.gentoo.org/wiki/Radeon#Driver:

Portage uses the VIDEO_CARDS variable for enabling support for various graphics cards. Setting VIDEO_CARDS to the value of radeon (see the feature matrix) will pull in the correct driver:

FILE /etc/portage/make.conf

VIDEO_CARDS="radeon"

 

radeonsi gets only mentioned in the feature matrix, where for the older cards it is stuff like r600 that would get included automatically, wouldn't it?
Link to comment
Share on other sites

  • 0

Hey, I was able to fix it by changing VIDEO_CARDS="radeon" to VIDEO_CARDS="radeonsi". I found the solution on a Gentoo forum:

https://forums.gentoo.org/viewtopic-p-7534494.html

 

The instructions that I followed:

"Make sure you have VIDEO_CARDS="radeonsi" and then `emerge -N media-libs/mesa` again; to be save `emerge -N @world` might also be a good idea to rebuild other libraries that use VIDEO_CARDS too."

 

and after it recompiled x server, llvm, and etc, it worked :D and I can play Steam games, and my DE is accelerated.

Link to comment
Share on other sites

  • 0

Hey, thanks. Good to know that radeonsi alone should work as well. I now edited the wiki. I'm not actually sure how open they are to outsiders editing it, and I can only hope the problem is not Funtoo-specific, but I hope it is correct and helps some people.

Link to comment
Share on other sites

×
×
  • Create New...