You are not logged in.

#1 2016-11-09 21:53:36

Kazune
Member
Registered: 2016-11-09
Posts: 2

GLXBadContext with AMDGPU after switch from Nvidia

I had to move my system from laptop(nvidia) to desktop(amd), during which:

  • I removed all nvidia drivers/packages, only nvidia packages left are {lib32-,}libvdpau due to a big list of depending packages

  • Installed xf86-video-amdgpu

  • Installed mesa libraries

Everything booted, X started, but

# glxinfo
name of display: :0.0
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:  34
  Current serial number in output stream:  33

I can't get any more verbosity out of it with LIBGL/MESA_DEBUG

# lspci -k
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga XT / Amethyst XT [Radeon R9 380X / R9 M295X] (rev f1)
	Subsystem: PC Partner Limited / Sapphire Technology Radeon R9 380X Nitro 4G D5
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

Xorg.0.log
http://pastebin.com/Rz5Ek7nb

dmesg
http://pastebin.com/ZZBXUqBg

/etc/X11/xorg.conf.d/ only contains my keyboard/mouse configs.
no radeon modules are present in lsmod

Starting as root doesn't change anything.

I tried amdgpu-pro, which had the same issue.
I tried xf86-video-ati, with same result.
I tried mesa-git repo, same result.

The only thing that's out of place is the AMD-Vi in dmesg, but it seems that either the cpu or motherboard don't support IOMMU v2 which I don't care, unless that's the culprit.

I'm all out of ideas. Any chance it could be related to some left over nvidia files? Or maybe something obvious that I'm missing?

Offline

#2 2016-11-10 16:26:38

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: GLXBadContext with AMDGPU after switch from Nvidia

There is a chance this is related to mesa* being built against a different llvm then the installed one .

please post output of

ldd /usr/lib/xorg/modules/dri/radeonsi_dri.so

Compare the version  number for libLLVM that gives with pacman -Qs llvm output .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2016-11-10 17:29:37

Kazune
Member
Registered: 2016-11-09
Posts: 2

Re: GLXBadContext with AMDGPU after switch from Nvidia

Well, this is awkward. My laptop got fixed, so I'm back to it, before I received the reply.

I checked the libraries required by radeonsi_dri.so, the libLLVM.so neede is 3.9 which corresponds with the 3.9.0-1 version of the llvm package.

I should close this topic, since I no longer need of a fix for the issue. Hopefully when I'm gonna install Arch from scratch (once I have a proper hdd) I won't run into this problem

Offline

Board footer

Powered by FluxBB