You are not logged in.

#1 2015-10-15 17:59:47

Annisar
Member
Registered: 2015-10-15
Posts: 11

[SOLVED] xf86-video-ati @ HD 7950 - everything works, except OpenGL

Hi!
This is my first post here, I am very glad to join your awesome community!

I need help with one thing: Recently I came back to Arch which was lying down on my disk since half of a year waiting for better time to play with it. I had it configured for latest GNOME + fglrx. After upgrading, everything worked okay, except catalyst - so I decided to give xf86-video-ati a try, after few hours of fight with amd's driver. I followed wiki article on first uninstalling catalyst and installing open source driver.  Everything worked perfectly - gdm and xfce4 were fine. Since then, I successfully configured load of stuff & started to build pretty decent everyday system. Then, I wanted to try Kodi aaand...

# kodi
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

Any of 3d games I tried to run also couldn't start. Can your share your ideas how to solve that problem?

glxinfo:

# glxinfo
name of display: :0.0
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  47
  Current serial number in output stream:  46

lspci:

# lspci | grep AMD
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]

versions:

# pacman -Qs xorg | grep local
local/xf86-input-evdev 2.9.2-1 (xorg-drivers xorg)
local/xf86-input-mouse 1.9.1-1 (xorg-drivers xorg)
local/xf86-video-ati 1:7.5.0-2 (xorg-drivers xorg)
local/xorg-appres 1.0.4-1
local/xorg-bdftopcf 1.0.5-1 (xorg xorg-apps)
local/xorg-font-util 1.3.1-1 (xorg-fonts xorg)
local/xorg-font-utils 7.6-4
local/xorg-fonts-alias 1.0.3-1
local/xorg-fonts-encodings 1.0.4-4 (xorg-fonts xorg)
local/xorg-fonts-misc 1.0.3-4
local/xorg-iceauth 1.0.7-1 (xorg-apps xorg)
local/xorg-luit 1.1.1-2 (xorg xorg-apps)
local/xorg-mkfontdir 1.0.7-2 (xorg xorg-apps)
local/xorg-mkfontscale 1.1.2-1 (xorg-apps xorg)
local/xorg-server 1.17.2-4 (xorg)
local/xorg-server-common 1.17.2-4
local/xorg-server-utils 7.6-4
local/xorg-server-xwayland 1.17.2-4
local/xorg-sessreg 1.1.0-1 (xorg-apps xorg)
local/xorg-setxkbmap 1.3.1-1 (xorg-apps xorg)
local/xorg-twm 1.0.9-1
local/xorg-xauth 1.0.9-1 (xorg-apps xorg)
local/xorg-xbacklight 1.2.1-1 (xorg-apps xorg)
local/xorg-xclock 1.0.7-1
local/xorg-xcmsdb 1.0.5-1 (xorg-apps xorg)
local/xorg-xdpyinfo 1.3.2-1 (xorg-apps xorg)
local/xorg-xgamma 1.0.6-1 (xorg-apps xorg)
local/xorg-xhost 1.0.7-1 (xorg-apps xorg)
local/xorg-xinit 1.3.4-3
local/xorg-xinput 1.6.1-1 (xorg-apps xorg)
local/xorg-xkbcomp 1.3.0-1 (xorg-apps xorg)
local/xorg-xkill 1.0.4-1 (xorg-apps xorg)
local/xorg-xmessage 1.0.4-2
local/xorg-xmodmap 1.0.9-1 (xorg-apps xorg)
local/xorg-xrandr 1.4.3-1 (xorg-apps xorg)
local/xorg-xrdb 1.1.0-1 (xorg-apps xorg)
local/xorg-xrefresh 1.0.5-1 (xorg-apps xorg)
local/xorg-xset 1.2.3-1 (xorg-apps xorg)
local/xorg-xsetroot 1.1.1-2 (xorg-apps xorg)
# pacman -Qs mesa | grep local
local/glu 9.0.0-3
local/lib32-glu 9.0.0-2
local/lib32-libtxc_dxtn 1.0.1-5
local/lib32-mesa 11.0.3-1
local/lib32-mesa-libgl 11.0.3-1
local/libtxc_dxtn 1.0.1-6
local/mesa 11.0.3-1
local/mesa-demos 8.2.0-5
local/mesa-libgl 11.0.3-1
local/mesa-vdpau 11.0.3-1

Last edited by Annisar (2015-10-15 21:51:05)

Offline

#2 2015-10-15 18:31:46

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] xf86-video-ati @ HD 7950 - everything works, except OpenGL

'mesa-libgl' should normally ensure proper acceleration/DRI support by itself.
Do you have any traces of Catalyst drivers lying around? (check with: find /usr -type f -print0 | xargs -0 pacman -Qqo >/dev/null | grep "No package owns" | grep -vE '/usr/share/(fonts|mime)/' )
Or perhaps an /etc/X11/xorg.conf that's not needed anymore?

Last edited by byte (2015-10-15 18:40:59)


1000

Offline

#3 2015-10-15 18:43:23

Annisar
Member
Registered: 2015-10-15
Posts: 11

Re: [SOLVED] xf86-video-ati @ HD 7950 - everything works, except OpenGL

I don't have /etc/X11/xorg.conf which I deleted in process of uninstalling proprietary driver, but I have many "no package owns" including files that have something to do with fglrx. What to do now?

Last edited by Annisar (2015-10-15 18:47:28)

Offline

#4 2015-10-15 19:19:22

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] xf86-video-ati @ HD 7950 - everything works, except OpenGL

Just delete them, especially when they weren't from an Arch package in the first place.


1000

Offline

#5 2015-10-15 21:21:10

Annisar
Member
Registered: 2015-10-15
Posts: 11

Re: [SOLVED] xf86-video-ati @ HD 7950 - everything works, except OpenGL

Okay, after backing up & deleting files, problem reduced to:

# glxinfo
name of display: :0.0
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  30
  Current serial number in output stream:  29
# kodi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

... and then during reading wiki 100th time, I found that I forgot also to remove

/etc/profile.d/ati-flgrx.sh

.

To summarize, I needed to do as @byte adviced (remove all files that was left by fglrx) & to remove that one file mentioned above. After deletion & rebooting X didn't start properly, but after reinstalling packages (xf86-video-ati, mesa, mesa-libgl, lib32-mesa-libgl) & startx'ing manually, it went up without any problem.

Thank you for help. Problem is now solved.

Last edited by Annisar (2015-10-15 21:50:50)

Offline

#6 2015-11-25 01:55:57

predacon
Member
Registered: 2013-10-13
Posts: 33

Re: [SOLVED] xf86-video-ati @ HD 7950 - everything works, except OpenGL

thankyou so much. it worked perfectly smile

Offline

Board footer

Powered by FluxBB