You are not logged in.
Hi everyone.
I'm trying to switch to wayland and use sway as the window manager. So far I'm getting issues and I think I'm stuck with the opengl driver.
Also worth mentioning that this is a new graphics card that I installed a few days ago.
Here's some info:
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c7)
Subsystem: Sapphire Technology Limited Device e447
Kernel driver in use: amdgpu
Kernel modules: amdgpu$ sudo lshw -c display
*-display
description: VGA compatible controller
product: Navi 23 [Radeon RX 6600/6600 XT/6600M]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:03:00.0
version: c7
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: irq:37 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:f7b00000-f7bfffff memory:c0000-dffff$ glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig$ uname -a
Linux desktop.alex.hq.home 5.17.7-arch1-1 #1 SMP PREEMPT Thu, 12 May 2022 18:55:54 +0000 x86_64 GNU/Linux$ pacman -Qs llvm
local/clang 13.0.1-2
C language family frontend for LLVM
local/lib32-llvm 13.0.1-1
Collection of modular and reusable compiler and toolchain technologies (32-bit)
local/lib32-llvm-libs 13.0.1-1
Low Level Virtual Machine (runtime library)(32-bit)
local/llvm 13.0.1-3
Collection of modular and reusable compiler and toolchain technologies
local/llvm-libs 13.0.1-3
LLVM runtime libraries$ pacman -Qs mesa
local/glu 9.0.2-3
Mesa OpenGL utility library
local/lib32-glu 9.0.2-3
Mesa OpenGL utility library (32 bits)
local/lib32-mesa 22.0.3-1
An open-source implementation of the OpenGL specification (32-bit)
local/mesa 22.0.3-1
An open-source implementation of the OpenGL specification
local/mesa-demos 8.4.0-8
Mesa demos
local/mesa-utils 8.4.0-8
Essential Mesa utilities
local/mesa-vdpau 22.0.3-1
Mesa VDPAU driverssway starts, but there is no cursor showing and there are some EGL warnings
sway output:
libEGL warning: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: undefined symbol: amdgpu_query_sw_info (search paths /usr/lib/dri, suffix _dri)
00:00:00.039 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
libEGL warning: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: undefined symbol: amdgpu_query_sw_info (search paths /usr/lib/dri, suffix _dri)
00:00:00.061 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver"
00:00:00.061 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize"
00:00:00.061 [ERROR] [wlr] [render/egl.c:242] Failed to initialize EGL
00:00:00.061 [ERROR] [wlr] [render/egl.c:521] Failed to initialize EGL context
00:00:00.061 [ERROR] [wlr] [render/gles2/renderer.c:698] Could not initialize EGL
00:00:00.626 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.626 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.645 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.645 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.661 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.661 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.661 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.661 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.680 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.680 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.680 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.680 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.695 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.695 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.695 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.695 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.695 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.695 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.713 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.713 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.713 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.713 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.713 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.713 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.728 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.728 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.728 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.728 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.728 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.728 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.728 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.728 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.747 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.747 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.747 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.747 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.747 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.747 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:00.747 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:00.747 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
Environment variable $XDG_CURRENT_DESKTOP not set, ignoring.
2022-05-16 14:31:35 - [swaybg-1.1.1/main.c:340] Found config * for output HDMI-A-1 (Ancor Communications Inc ASUS VE278 D1LMTF028587)
2022-05-16 14:31:35 - [swaybg-1.1.1/main.c:340] Found config * for output DP-3 (Ancor Communications Inc MX279 E4LMRS048081)
2022-05-16 14:31:35 - [swaybg-1.1.1/main.c:340] Found config * for output DP-2 (Ancor Communications Inc MX279 DBLMRS002155)
2022-05-16 14:31:35 - [swaybg-1.1.1/main.c:340] Found config * for output DP-1 (Ancor Communications Inc MX279 D4LMRS019425)
00:00:01.855 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:01.855 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:01.855 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:01.855 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:01.855 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:01.855 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:01.855 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:01.855 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:01.908 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:01.908 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:01.908 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:01.908 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:01.908 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:01.908 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:01.908 [ERROR] [wlr] [types/output/cursor.c:269] Failed to pick cursor format
00:00:01.908 [ERROR] [wlr] [types/output/cursor.c:354] Failed to render cursor buffer
00:00:05.988 [ERROR] [wlr] [backend/drm/atomic.c:34] connector DP-1: Atomic commit failed (modeset): Permission denied
00:00:05.988 [ERROR] [wlr] [backend/drm/drm.c:1028] connector DP-1: Failed to disable CRTC 72
00:00:05.989 [ERROR] [wlr] [backend/drm/atomic.c:34] connector DP-2: Atomic commit failed (modeset): Permission denied
00:00:05.989 [ERROR] [wlr] [backend/drm/drm.c:1028] connector DP-2: Failed to disable CRTC 75
00:00:05.989 [ERROR] [wlr] [backend/drm/atomic.c:34] connector DP-3: Atomic commit failed (modeset): Permission denied
00:00:05.989 [ERROR] [wlr] [backend/drm/drm.c:1028] connector DP-3: Failed to disable CRTC 78
00:00:05.989 [ERROR] [wlr] [backend/drm/atomic.c:34] connector HDMI-A-1: Atomic commit failed (modeset): Permission denied
00:00:05.989 [ERROR] [wlr] [backend/drm/drm.c:1028] connector HDMI-A-1: Failed to disable CRTC 81Any help is greatly appreciated! thank you!
Edit: further attempts on trying to use amdgpu-pro gives same results:
$ progl glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfigLast edited by megabeaver (2022-05-16 20:06:23)
Offline
The symbol should be defined in /usr/lib/libdrm_amdgpu.so.1.0.0, which is provided by the libdrm package.
$ ldd /usr/lib/dri/radeonsi_dri.so | xargs scanelf -Rs +amdgpu_query_sw_info | grep -v " - "
TYPE SYM FILE
ET_DYN amdgpu_query_sw_info /usr/lib/libdrm_amdgpu.so.1
$ CUTF pacman -Q libdrm
libdrm 2.4.110-1
$ CUTF pacman -Qkk libdrm
libdrm: 91 total files, 0 altered filesLast edited by progandy (2022-05-16 19:26:17)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
@progandy thank you that was it!
I had a bunch of things in /usr/local/lib that shouldn't have been there.
deleting them worked! Thanks again!
Offline