glxinfo: couldn't find RGB GLX visual or fbconfig
alpine edge, x86_64
I'am running sway
with two GPU's: Intel
and AMD
and cannot open some programms, for example blender
which gives me this error:
/home/buildozer/aports/testing/blender/src/blender-2.79b/intern/ghost/intern/GHOST_WindowX11.cpp:198: X11 glXQueryVersion() >
initial window could not find the GLX extension
Installing mesa-demos
package and running glxinfo
and glxgears
gives this:
$ glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
$ glxgears
Error: couldn't get an RGB, Double-buffered visual
From dmesg
I can see that amdgpu
and i915
modules loads successufully:
[ 1.306698] [drm] amdgpu kernel modesetting enabled.
[ 1.309261] fb: switching to amdgpudrmfb from EFI VGA
[ 1.309623] amdgpu 0000:01:00.0: No more image in the PCI ROM
[ 1.309685] amdgpu 0000:01:00.0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used)
[ 1.309686] amdgpu 0000:01:00.0: GART: 256M 0x0000000000000000 - 0x000000000FFFFFFF
[ 1.309900] [drm] amdgpu: 8192M of VRAM memory ready
[ 1.309901] [drm] amdgpu: 8192M of GTT memory ready.
[ 1.363449] amdgpu: [powerplay] Failed to retrieve minimum clocks.
[ 1.363449] amdgpu: [powerplay] Error in phm_get_clock_info
[ 1.555398] fbcon: amdgpudrmfb (fb0) is primary device
[ 1.555401] amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
[ 1.581044] [drm] Initialized amdgpu 3.27.0 20150101 for 0000:01:00.0 on minor 0
[ 1.644222] i915 0000:00:02.0: enabling device (0000 -> 0003)
[ 1.645459] amdgpu 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 1.647447] [drm] Initialized i915 1.6.0 20180719 for 0000:00:02.0 on minor 1
[ 1.674026] i915 0000:00:02.0: fb1: inteldrmfb frame buffer device
[ 4.713231] [drm] radeon kernel modesetting enabled.
[ 4.997981] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
firefox
, tranmission
, mpv
, etc. running fine, however this problem prevents me using programms inside glibc-chroot. Different distribution installed alongside using the same setup works fine and glxinfo -B
outputs brief info: glxinfo.log. setup-xorg-base
and xorg-server-xwayland
was configured and installed, Intel and AMD drivers was configured using this and this guides. I'am not sure what else I can do at this point.