You are not logged in.

#1 2019-11-02 09:27:52

frazzmark
Member
From: Italy
Registered: 2018-02-21
Posts: 10

[SOLVED] Cannot load OpenGL for secondary AMD graphics card

When trying to run glxinfo with the secondary card (i'm on a notebook with Intel + AMD discrete card) i get the following output:

$ DRI_PRIME=1 glxinfo | grep vendor
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/dri)
libGL error: failed to load driver: radeonsi
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel Open Source Technology Center

The radeonsi module is inside the above mentioned path, but it can't seem to load. I've been trying to find solutions for this, but so far nothing.

from lspci:

00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07) (prog-if 00 [VGA controller])
    Subsystem: Lenovo Skylake GT2 [HD Graphics 520]
    Flags: bus master, fast devsel, latency 0, IRQ 126
    Memory at f0000000 (64-bit, non-prefetchable) [size=16M]
    Memory at c0000000 (64-bit, prefetchable) [size=512M]
    I/O ports at 4000 [size=64]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] (rev 81)
    Subsystem: Lenovo Mars [Radeon HD 8670A/8670M/8750M]
    Flags: bus master, fast devsel, latency 0, IRQ 125
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f1000000 (64-bit, non-prefetchable) [size=256K]
    I/O ports at 3000 [size=256]
    Expansion ROM at f1040000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: radeon
    Kernel modules: radeon, amdgpu

dmesg output:

$ dmesg | grep radeon
[    1.073196] [drm] radeon kernel modesetting enabled.
[    1.073445] radeon 0000:03:00.0: remove_conflicting_pci_framebuffers: bar 0: 0xe0000000 -> 0xefffffff
[    1.073446] radeon 0000:03:00.0: remove_conflicting_pci_framebuffers: bar 2: 0xf1000000 -> 0xf103ffff
[    1.133857] radeon 0000:03:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[    1.133858] radeon 0000:03:00.0: GTT: 2048M 0x0000000080000000 - 0x00000000FFFFFFFF
[    1.133922] [drm] radeon: 2048M of VRAM memory ready
[    1.133923] [drm] radeon: 2048M of GTT memory ready.
[    1.141441] [drm] radeon: dpm initialized
[    1.144447] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
[    2.566720] radeon 0000:03:00.0: WB enabled
[    2.566722] radeon 0000:03:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0x00000000e901af7b
[    2.566723] radeon 0000:03:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0x0000000050faa258
[    2.566724] radeon 0000:03:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0x00000000ecf716d3
[    2.566725] radeon 0000:03:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0x00000000e633ae8e
[    2.566726] radeon 0000:03:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0x00000000beee2c37
[    2.567520] radeon 0000:03:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0x00000000b512af46
[    2.669100] radeon 0000:03:00.0: failed VCE resume (-110).
[    2.669103] radeon 0000:03:00.0: radeon: MSI limited to 32-bit
[    2.669139] radeon 0000:03:00.0: radeon: using MSI.
[    2.669164] [drm] radeon: irq initialized.
[    3.717862] [drm] Initialized radeon 2.50.0 20080528 for 0000:03:00.0 on minor 0
[ 1350.436931] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
[ 1351.902365] radeon 0000:03:00.0: WB enabled
[ 1351.902368] radeon 0000:03:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0x00000000e901af7b
[ 1351.902369] radeon 0000:03:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0x0000000050faa258
[ 1351.902371] radeon 0000:03:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0x00000000ecf716d3
[ 1351.902372] radeon 0000:03:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0x00000000e633ae8e
[ 1351.902373] radeon 0000:03:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0x00000000beee2c37
[ 1351.903166] radeon 0000:03:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0x00000000b512af46
[ 1352.004763] radeon 0000:03:00.0: failed VCE resume (-110).
[ 1665.085326] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
[ 1666.539071] radeon 0000:03:00.0: WB enabled
[ 1666.539074] radeon 0000:03:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0x00000000e901af7b
[ 1666.539075] radeon 0000:03:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0x0000000050faa258
[ 1666.539076] radeon 0000:03:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0x00000000ecf716d3
[ 1666.539077] radeon 0000:03:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0x00000000e633ae8e
[ 1666.539079] radeon 0000:03:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0x00000000beee2c37
[ 1666.539874] radeon 0000:03:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0x00000000b512af46
[ 1666.641452] radeon 0000:03:00.0: failed VCE resume (-110).

I would also like to mention that my /etc/modprobe.d folder  is completely empty, no blacklisted modules. It's a Southern Island chip from AMD, and I'm using the radeon driver.

Last edited by frazzmark (2019-11-06 14:20:44)

Offline

#2 2019-11-02 11:32:07

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,359

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

pacman -Qs xf86-video

Also post xorg log and a full journal /dmesg please.
For large logs, better use a pastebin client .


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2019-11-03 11:42:11

frazzmark
Member
From: Italy
Registered: 2018-02-21
Posts: 10

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

$ pacman -Qs xf86-video
local/xf86-video-amdgpu 19.1.0-1 (xorg-drivers)
    X.org amdgpu video driver
local/xf86-video-ati 1:19.1.0-1 (xorg-drivers)
    X.org ati video driver
local/xf86-video-intel 1:2.99.917+893+gbff5eca4-1 (xorg-drivers)
    X.org Intel i810/i830/i915/945G/G965+ video drivers

dmesg

journal since boot

xorg log

Thanks for the support

Last edited by frazzmark (2019-11-03 11:45:20)

Offline

#4 2019-11-03 13:32:35

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,359

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

Nothing in dmesg / journal stands out, but Xorg log does lack something :
It sees 2 videocards, but only the intel driver is loaded.
Nowhere in xorg log does it mention radeon or amdgpu.

[     9.362] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     9.362] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     9.363] (==) No Layout section.  Using the first Screen section.
[     9.363] (==) No screen section available. Using defaults.
[     9.363] (**) |-->Screen "Default Screen Section" (0)
[     9.363] (**) |   |-->Monitor "<default monitor>"
[     9.364] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[     9.364] (**) |   |-->Device "card0"

That indicates you have an xorg config file that overrides X autodetection and probably messes things up.

post

ls -lR /etc/X11 /usr/share/X11/xorg.conf.d/

Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#5 2019-11-03 13:36:52

frazzmark
Member
From: Italy
Registered: 2018-02-21
Posts: 10

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

I see. Here is the output to the command:

$ ls -lR /etc/X11 /usr/share/X11/xorg.conf.d/
/etc/X11:
totale 8
drwxr-xr-x 3 root root 4096 19 feb  2016 xinit
drwxr-xr-x 2 root root 4096 18 feb  2018 xorg.conf.d

/etc/X11/xinit:
totale 4
drwxr-xr-x 2 root root 4096 23 ott 15.26 xinitrc.d

/etc/X11/xinit/xinitrc.d:
totale 8
-rwxr-xr-x 1 root root 318  9 nov  2018 40-libcanberra-gtk-module.sh
-rwxr-xr-x 1 root root 199 19 ott 22.50 50-systemd-user.sh

/etc/X11/xorg.conf.d:
totale 4
-rw-r--r-- 1 root root 232  8 mar  2016 00-keyboard.conf

/usr/share/X11/xorg.conf.d/:
totale 20
-rw-r--r-- 1 root root   92 11 ott 19.37 10-amdgpu.conf
-rw-r--r-- 1 root root 1350 25 ott 10.43 10-quirks.conf
-rw-r--r-- 1 root root   92 15 ott 19.09 10-radeon.conf
-rw-r--r-- 1 root root  121 18 feb  2018 20-intel.conf
-rw-r--r-- 1 root root 1429 12 ago 20.26 40-libinput.conf

btw, totale=total in english

Last edited by frazzmark (2019-11-03 13:38:58)

Offline

#6 2019-11-03 14:05:02

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,359

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

pacman -Qo /usr/share/X11/xorg.conf.d/20-intel.conf

also post the contents of that file.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#7 2019-11-03 14:12:31

frazzmark
Member
From: Italy
Registered: 2018-02-21
Posts: 10

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

For the

pacman -Qo /usr/share/X11/xorg.conf.d/20-intel.conf

the answer is (translated):

No packages contain /usr/share/X11/xorg.conf.d/20-intel.conf.

As for its contents:

$ cat /usr/share/X11/xorg.conf.d/20-intel.conf 
Section "Device"
	Identifier "card0"
	Driver "intel"
	Option "Backlight" "intel_backlight"
	BusID "PCI:0:2:0"
EndSection

Maybe it's been left over from an old xorg-intel package?

Offline

#8 2019-11-03 14:22:43

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,359

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

You can get english output for commands by prepending them with LC_ALL=C .

User config files are supposed to be in /etc/X11/xorg.conf.d , a remnant from a previous package seems likely.

Remove 20-intel.conf , restart X (or reboot if you prefer)  and post a fresh xorg log.

Last edited by Lone_Wolf (2019-11-03 14:22:57)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#9 2019-11-03 14:30:22

frazzmark
Member
From: Italy
Registered: 2018-02-21
Posts: 10

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

Done, fresh xorg log from a reboot: https://pastebin.com/3GrCwSmg

The radeon card is now shown, but the output of glxinfo remains unchanged:

$ DRI_PRIME=1 glxinfo | grep vendor
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/dri)
libGL error: failed to load driver: radeonsi
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel Open Source Technology Center

Offline

#10 2019-11-03 14:45:26

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,359

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

[     8.629] (EE) RADEON(G0): gbm_create_device returned NULL
[     8.629] (II) Loading sub module "shadow"
[     8.629] (II) LoadModule: "shadow"
[     8.629] (II) Loading /usr/lib/xorg/modules/libshadow.so
[     8.629] (II) Module shadow: vendor="X.Org Foundation"
[     8.629]    compiled for 1.20.5, module version = 1.1.0
[     8.629]    ABI class: X.Org ANSI C Emulation, version 0.4
[     8.629] (II) RADEON(G0): KMS Color Tiling: disabled
[     8.629] (II) RADEON(G0): KMS Color Tiling 2D: disabled
[     8.630] (II) RADEON(G0): mem size init: gart size :7fbce000 vram size: s:80000000 visible:fa28000
[     8.630] (II) RADEON(G0): EXA: Driver will allow EXA pixmaps in VRAM

These are weird, especially the gbm message and radeon using EXA ( an old deprecated method) instead of GLAMOR .
I suggest removing xf86-video-intel so X will have to use modesetting driver for the intel card.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#11 2019-11-03 15:10:35

frazzmark
Member
From: Italy
Registered: 2018-02-21
Posts: 10

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

I tried looking around for the gbm message, but I have no clue what it means. I removed both the amdgpu and intel packages (reboot after reboot) and the message hasn't gone away, and the problem is still there. Now the modesetting driver is in use: https://pastebin.com/nYdZinKS

Offline

#12 2019-11-03 15:35:26

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,359

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

The intel part of the log looks a lot better now.
I think the xf86-video-ati / radeon kernel module combo detects your card wrong and tries to use it as a older (pre-gcn or even pre-HD2000  model ).

first remove xf86-video-ati and re-install xf86-video-amdgpu .
post xorg log , run glxinfo -B .

Also try a second configuration with amdgpu as kernel module for your card.
https://wiki.archlinux.org/index.php/AM … K)_support
post that xorg log, also run glxinfo -B .

Last edited by Lone_Wolf (2019-11-03 15:36:28)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#13 2019-11-03 15:48:58

frazzmark
Member
From: Italy
Registered: 2018-02-21
Posts: 10

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

First configuration (only amdgpu, radeon kernel driver still in use):
Xorg log

 $ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)  (0x1916)
    Version: 19.2.2
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 19.2.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

I'm going to try the amdgpu driver now (second config).

Offline

#14 2019-11-03 16:05:55

frazzmark
Member
From: Italy
Registered: 2018-02-21
Posts: 10

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

Second config now,  with amdgpu driver enabled (https://wiki.archlinux.org/index.php/AM … K)_support)
Xorg log: https://pastebin.com/x0guMq1X
There is a line here, showing "../drm/card1 removed" that is suspicious.

glxinfo output is unchanged:

$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)  (0x1916)
    Version: 19.2.2
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.0 Mesa 19.2.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

for completeness, here is the the dmesg output from this boot. It's interesting to see that it shows a different GART size (1024 MB instead 2048 MB).
Also, I remember that the "DRI_PRIME=1 glxinfo" command used to work some time ago, and I wasn't using the amdgpu driver.

Last edited by frazzmark (2019-11-04 16:21:27)

Offline

#15 2019-11-06 14:20:03

frazzmark
Member
From: Italy
Registered: 2018-02-21
Posts: 10

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

I have found the issue.
In order to keep some older packages (python-llvmlite) which required LLVM 8, i stopped updating LLVM. Running

strace glxinfo

after exporting DRI_PRIME=1, I found the lines

openat(AT_FDCWD, "/usr/lib/dri/tls/radeonsi_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (File o directory non esistente)
openat(AT_FDCWD, "/usr/lib/dri/radeonsi_dri.so", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\0\r\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=20223384, ...}) = 0
mmap(NULL, 23136696, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f1943c87000
mprotect(0x7f1943d57000, 18272256, PROT_NONE) = 0
mmap(0x7f1943d57000, 13451264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xd0000) = 0x7f1943d57000
mmap(0x7f1944a2b000, 4816896, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xda4000) = 0x7f1944a2b000
mmap(0x7f1944ec4000, 1101824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x123c000) = 0x7f1944ec4000
mmap(0x7f1944fd1000, 2910648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1944fd1000
close(4)                                = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=313095, ...}) = 0
mmap(NULL, 313095, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f194602a000
close(4)                                = 0
openat(AT_FDCWD, "/usr/lib/tls/haswell/x86_64/libLLVM-9.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (File o directory non esistente)
stat("/usr/lib/tls/haswell/x86_64", 0x7ffed88c6760) = -1 ENOENT (File o directory non esistente)
openat(AT_FDCWD, "/usr/lib/tls/haswell/libLLVM-9.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (File o directory non esistente)
stat("/usr/lib/tls/haswell", 0x7ffed88c6760) = -1 ENOENT (File o directory non esistente)
openat(AT_FDCWD, "/usr/lib/tls/x86_64/libLLVM-9.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (File o directory non esistente)
stat("/usr/lib/tls/x86_64", 0x7ffed88c6760) = -1 ENOENT (File o directory non esistente)
openat(AT_FDCWD, "/usr/lib/tls/libLLVM-9.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (File o directory non esistente)
stat("/usr/lib/tls", 0x7ffed88c6760)    = -1 ENOENT (File o directory non esistente)
openat(AT_FDCWD, "/usr/lib/haswell/x86_64/libLLVM-9.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (File o directory non esistente)
stat("/usr/lib/haswell/x86_64", 0x7ffed88c6760) = -1 ENOENT (File o directory non esistente)
openat(AT_FDCWD, "/usr/lib/haswell/libLLVM-9.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (File o directory non esistente)
stat("/usr/lib/haswell", 0x7ffed88c6760) = -1 ENOENT (File o directory non esistente)
openat(AT_FDCWD, "/usr/lib/x86_64/libLLVM-9.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (File o directory non esistente)
stat("/usr/lib/x86_64", 0x7ffed88c6760) = -1 ENOENT (File o directory non esistente)
openat(AT_FDCWD, "/usr/lib/libLLVM-9.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (File o directory non esistente)
stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=249856, ...}) = 0
munmap(0x7f194602a000, 313095)          = 0
munmap(0x7f1943c87000, 23136696)        = 0
write(2, "libGL error: ", 13)           = 13
write(2, "MESA-LOADER: failed to open rade"..., 65) = 65

where you can see it looks for LLVM 9, and does not find it. Therefore, all I had to do is upgrade LLVM,and it worked!
I haven't mentioned this before because I had no idea that mesa made use of LLVM. I have had to remove the "old" packages which needed LLVM 8...

Last edited by frazzmark (2019-11-06 22:57:02)

Offline

#16 2019-11-07 09:32:14

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,359

Re: [SOLVED] Cannot load OpenGL for secondary AMD graphics card

Yup, many parts of mesa rely on llvm : gallium drivers, vulkan, opencl to name a few .

The driver for your intel chipset is one of the few remaining classic non-gallium drivers, that's why it kept working.
(Intel's new Iris driver that has many advantages on newer hardware is also a gallium driver).


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

Board footer

Powered by FluxBB