You are not logged in.
Hello to all,
I am a new Arch user. So far everything went smoothly, but since I somehow played with environment variables to scale LibreOffice, things have gone pretty south. I can't even remember the whole circus because it simply took me several days and it was a lot until I could log in graphically again. This cycle involved: (un)installing plasma, reinstalling drivers, wayland, reinstalling x11, reinstalling sddm, fiddling around with snapper, resetting environment variables and reading lots of documentation and other posts. It started with me not being able to log in via sddm. Now, I get back into the graphical interface, but the Wayland session takes much longer to log in compared to x11 and later the ' qdbus6 org.kde.KWin /KWin org.kde.KWin.showDebugConsole ' shows me that all windows are running via X11 instead of Wayland.
Fractional scaling no longer works, my 2nd monitor is no longer adequately named, resolution is not saved/accepted, certain programs no longer start (e.g. Steam). The system is up to date!
I say thank you in advance and seriously, Arch is really fun. I've already learned a lot from this great documentation ![]()
Time for logs:
System:
Kernel: 6.13.4-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: hpet
Desktop: KDE Plasma v: 6 tk: Qt v: N/A wm: kwin_wayland vt: 4 dm: SDDM
Distro: Arch Linux
Machine:
Type: Laptop System: SLIMBOOK product: TITAN v: Standard
serial: <superuser required>
Mobo: SLIMBOOK model: TITAN v: Standard serial: <superuser required>
part-nu: 0001 uuid: <superuser required> UEFI: American Megatrends LLC.
v: N.1.50GRU07 date: 02/09/2023
Battery:
ID-1: BAT0 charge: 73.0 Wh (100.0%) condition: 73.0/93.5 Wh (78.0%)
volts: 12.3 min: 11.4 model: standard type: Li-ion serial: <filter>
status: full
CPU:
Info: 8-core model: AMD Ryzen 9 5900HX with Radeon Graphics bits: 64
type: MT MCP smt: enabled arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB
L3: 16 MiB
Speed (MHz): avg: 1099 min/max: 400/4680 boost: enabled cores: 1: 1099
2: 1099 3: 1099 4: 1099 5: 1099 6: 1099 7: 1099 8: 1099 9: 1099 10: 1099
11: 1099 12: 1099 13: 1099 14: 1099 15: 1099 16: 1099 bogomips: 105401
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q]
vendor: AIstone Global driver: nvidia v: 570.86.16 arch: Ampere pcie:
speed: 2.5 GT/s lanes: 8 ports: active: none off: HDMI-A-1
empty: DP-1,eDP-1 bus-ID: 01:00.0 chip-ID: 10de:249d class-ID: 0300
Device-2: Advanced Micro Devices [AMD/ATI] Cezanne [Radeon Vega Series /
Radeon Mobile Series] vendor: AIstone Global driver: amdgpu v: kernel
arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports: active: eDP-2 empty: none
bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 43.0 C
Device-3: Chicony Integrated IR Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-4:4 chip-ID: 04f2:b71a class-ID: 0e02
serial: <filter>
Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.5
compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
unloaded: modesetting,nouveau,vesa alternate: fbdev,nv dri: radeonsi
gpu: amdgpu,nvidia,nvidia-nvswitch d-rect: 5120x1440 display-ID: 0
Monitor-1: HDMI-A-1 pos: right model: VG27AQA1A serial: <filter> res:
mode: 2560x1440 hz: 144 scale: 100% (1) dpi: 109
size: 597x336mm (23.5x13.23") diag: 685mm (27") modes: max: 2560x1440
min: 640x480
Monitor-2: eDP-2 pos: primary,left model: California Institute of
eDP-2-0x1507 res: mode: 2560x1440 hz: 165 scale: 145% (1.45) to: 1766x993
dpi: 189 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") modes:
max: 2560x1440 min: 640x480
API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
drv: nvidia device: 1 drv: radeonsi gbm: drv: kms_swrast surfaceless:
drv: nvidia wayland: drv: radeonsi x11: drv: radeonsi
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.3.4-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
renoir LLVM 19.1.7 DRM 3.60 6.13.4-arch1-1) device-ID: 1002:1638
display-ID: :0.0
API: Vulkan v: 1.4.303 layers: 10 surfaces: xcb,xlib,wayland device: 0
type: integrated-gpu driver: N/A device-ID: 1002:1638 device: 1
type: discrete-gpu driver: N/A device-ID: 10de:249d
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
wl: wayland-info x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
Device-1: NVIDIA GA104 High Definition Audio vendor: AIstone Global
driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1
chip-ID: 10de:228b class-ID: 0403
Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
vendor: AIstone Global driver: N/A pcie: speed: 8 GT/s lanes: 16
bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
vendor: AIstone Global driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s
lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.13.4-arch1-1 status: kernel-api
Server-1: JACK v: 1.9.22 status: off
Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: AIstone Global driver: r8169
v: kernel pcie: speed: 5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie:
speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp4s0 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 bus-ID: 3-4:3 chip-ID: 8087:0029 class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
Drives:
Local Storage: total: 931.51 GiB used: 681.21 GiB (73.1%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB
size: 931.51 GiB speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 3B2QEXM7 temp: 32.9 C scheme: GPT
Partition:
ID-1: / size: 900 GiB used: 681.21 GiB (75.7%) fs: btrfs dev: /dev/nvme0n1p3
ID-2: /boot/efi size: 511 MiB used: 296 KiB (0.1%) fs: vfat
dev: /dev/nvme0n1p1
ID-3: /home size: 900 GiB used: 681.21 GiB (75.7%) fs: btrfs
dev: /dev/nvme0n1p3
ID-4: /tmp size: 900 GiB used: 681.21 GiB (75.7%) fs: btrfs
dev: /dev/nvme0n1p3
ID-5: /var/log size: 900 GiB used: 681.21 GiB (75.7%) fs: btrfs
dev: /dev/nvme0n1p3
Swap:
ID-1: swap-1 type: partition size: 24.21 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p2
Sensors:
System Temperatures: cpu: 46.4 C mobo: N/A gpu: amdgpu temp: 44.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 15.03 GiB used: 6.42 GiB (42.7%)
Processes: 413 Power: uptime: 1h 18m states: freeze,mem,disk
suspend: s2idle wakeups: 0 hibernate: platform Init: systemd v: 257
default: graphical
Packages: 1123 pm: pacman pkgs: 1093 pm: flatpak pkgs: 30 Compilers:
gcc: 14.2.1 Shell: fish v: 3.7.1 running-in: konsole inxi: 3.3.37Journalctl -b1 -1 :
https://0x0.st/8A2J.txt
Xorg.0.log:
https://0x0.st/8A2h.txt
Happy to share more.
Last edited by in bocca al lupo (2025-02-25 16:18:13)
Offline
You set which kind of environment variable, to what value, where exactly?
Post a
printenv
glxinfo -B, main thing I see from the journal that it seems like nvidia is loaded before amdgpu which can confuse a bunch of clients, edit your /etc/mkinitcpio.conf and add amdgpu to the MODULES=() array, if nvidia ones are there as well add it before the nvidia modules and get rid of the kms hook in the hooks line and run
mkinitcpio -PLast edited by V1del (2025-02-25 00:27:56)
Online
I had
__GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 GBM_BACKEND=nvidia-drm
under /etc/environment
and
SAL_USE_VCLPLUGIN=qt6
QT_SCALE_FACTOR=1.45 But I can't remember exactly where I put them, I guess it was ~/.profile. But I removed them right at the beginning. I don't really remember any other.
SAL_USE_VCLPLUGIN=qt6
QT_QPA_PLATFORM=xcb
DESKTOP_SESSION=plasma
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
QT_WAYLAND_RECONNECT=1
XDG_SESSION_TYPE=wayland
XDG_VTNR=2
XDG_SESSION_CLASS=user
PWD=/home/grex
KONSOLE_DBUS_WINDOW=/Windows/1
XKB_DEFAULT_LAYOUT=de
XDG_SEAT=seat0
GDK_BACKEND=x11
KGLOBALACCELD_PLATFORM=org.kde.kwin
TERM=xterm-256color
KDE_SESSION_VERSION=6
XDG_ACTIVATION_TOKEN=kwin-1
MOTD_SHOWN=pam
QT_AUTO_SCREEN_SCALE_FACTOR=0
JOURNAL_STREAM=9:18284
XAUTHORITY=/run/user/1000/xauth_grUEOD
SHLVL=1
SYSTEMD_EXEC_PID=1198
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
SHELL=/usr/bin/fish
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/grex/.gtkrc-2.0:/home/grex/.config/gtkrc-2.0
COLORFGBG=15;0
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service/memory.pressure
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
COLORTERM=truecolor
KONSOLE_DBUS_SERVICE=:1.60
SHELL_SESSION_ID=370e13310d014dd3970fd7e752541ca6
XDG_MENU_PREFIX=plasma-
USER=grex
PATH=/usr/lib/qt6/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PROFILEHOME=
XDG_CURRENT_DESKTOP=KDE
WINDOWID=46137359
XDG_DATA_DIRS=/home/grex/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
GBM_BACKEND=nvidia-drm
XDG_RUNTIME_DIR=/run/user/1000
INVOCATION_ID=a84a79aafe5245a98511c185ea7ed720
KONSOLE_VERSION=241202
XDG_SESSION_DESKTOP=KDE
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
KDE_APPLICATIONS_AS_SCOPE=1
SESSION_MANAGER=local/Mango-Titan:@/tmp/.ICE-unix/1342,unix/Mango-Titan:/tmp/.ICE-unix/1342
MANAGERPID=1140
KDE_FULL_SESSION=true
XDG_CONFIG_DIRS=/home/grex/.config/kdedefaults:/etc/xdg
DISPLAY=:0
MAIL=/var/spool/mail/grex
LOGNAME=grex
fish_user_paths=/usr/lib/qt6/bin
GTK_RC_FILES=/etc/gtk/gtkrc:/home/grex/.gtkrc:/home/grex/.config/gtkrc
EDITOR=nano
LANGUAGE=de_AT:en_GB:en
LANG=de_AT.UTF-8
KDE_SESSION_UID=1000
WAYLAND_DISPLAY=wayland-0
KONSOLE_DBUS_SESSION=/Sessions/1
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
ICEAUTHORITY=/run/user/1000/iceauth_gFtpaT
HOME=/home/grex glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon Graphics (radeonsi, renoir, LLVM 19.1.7, DRM 3.60, 6.13.4-arch1-1) (0x1638)
Version: 24.3.4
Accelerated: yes
Video memory: 512MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 58 MB, largest block: 58 MB
VBO free aux. memory - total: 6750 MB, largest block: 6750 MB
Texture free memory - total: 58 MB, largest block: 58 MB
Texture free aux. memory - total: 6750 MB, largest block: 6750 MB
Renderbuffer free memory - total: 58 MB, largest block: 58 MB
Renderbuffer free aux. memory - total: 6750 MB, largest block: 6750 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 512 MB
Total available memory: 8205 MB
Currently available dedicated video memory: 58 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, renoir, LLVM 19.1.7, DRM 3.60, 6.13.4-arch1-1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.3.4-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.3.4-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile Edit:
I have now put “amdgpu nvidia” (It was empty before) in /etc/mkinitcpio.conf and executed " mkinitcpio -P", removed kms from hooks.
Last edited by in bocca al lupo (2025-02-25 13:20:39)
Offline
Get rid of all nvidia related variables, get rid of GBM_BACKEND=nvidia-drm (you generally don't want to force set these when running in a mixed GPU environment, and actually never, since they are mostly obsolete)
The main killer for wayland is GDK_BACKEND=x11 and QT_QPA_PLATFORM=xcb both of which will force everything to x11. You do not ever want to set these globally, but maybe, on demand for single applications where you know them to be necessary due to bugs in wayland integration
Online
Oh my.
The main killer for wayland is GDK_BACKEND=x11 and QT_QPA_PLATFORM=xcb both of which will force everything to x11.
Had those 2 lines in my fish config and forgot, that I put them there as well
it's a tiny bit embarrassing .
Login now fast again; monitor is getting recognized; fractional scaling works; resolution's okay again. Just Steam is not working, but I guess that's another thread/issue.
Thank you so much!
Solved. Going to mark it ![]()
Last edited by in bocca al lupo (2025-02-25 16:19:35)
Offline
FWIW for the nvidia variables, what you should actually be doing on demand for applications that really require the dGPU is to run said application via prime-run from the nvidia-prime package. Gaming wise this mostly applies to native games, anything that runs through proton has code that will automatically prefer a dedicated GPU if present.
Online