Wayland XDG_RUNTIME_DIT

so when i was trying to build gamescope i got this message

wlserver: [wayland] error: XDG_RUNTIME_DIR not set in the environment

im not sure where to find XDG or what i need to edit the file

I also can't login into KDE Wayland even thou i have all of these package install

i'm using 5.18.3-262-tkg-bmq
i'm use Nvidia i have these install

is this because nvidia still dose not work wayland ?

opencl-nvidia
nvidia-utils
nvidia-settings
nvdia-dkms
libxnvctrl
libcdpai
lib32-opencl-nvidia
gwe
xf86-video-nouveau

wayland install

kwayland-integration
kwayland-server
layer-shell-qt
liva
libdecor
plasma-wayland-session
qt5-wayland
wayland
wayland-utils
xorg-xwayland

Yes, and please post terminal output (+ garuda-inxi) like this.

opencl-nvidia
nvidia-utils
nvidia-settings
nvdia-dkms
libxnvctrl
libcdpai
lib32-opencl-nvidia
gwe
xf86-video-nouveau

wayland install

kwayland-integration
kwayland-server
layer-shell-qt
liva
libdecor
plasma-wayland-session
qt5-wayland
wayland
wayland-utils
xorg-xwayland
2 Likes

Also, always check comments in the AUR (none in this case, I think) and especially issues upstream.
This user cannot run it after driver update, maybe also building is affected.

Anyway it's brand new. Maybe not even a bug. Just wanted to suggest an approach...

2 Likes
System:
  Kernel: 5.18.3-262-tkg-bmq arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq
    root=UUID=9a48c1a2-a8e4-4593-8aa9-8fe4dd3dbc74 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=ffd2d4d3-f83c-4607-b6bc-2cab7baad1e1 loglevel=3
  Console: pty pts/1 wm: kwin_x11 DM: 1: LightDM v: 1.30.0 note: stopped
    2: SDDM note: stopped Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: GA-78LMT-USB3 6.0 v: SEx serial: N/A
    BIOS: Award v: F2 date: 11/25/2014
CPU:
  Info: model: AMD FX-8350 socket: 754 (M2) note: check bits: 64 type: MT MCP
    arch: Piledriver built: 2012-13 process: GF 32nm family: 0x15 (21)
    model-id: 2 stepping: 0 microcode: 0x6000852
  Topology: cpus: 1x cores: 8 smt: enabled cache: L1: 384 KiB
    desc: d-8x16 KiB; i-4x64 KiB L2: 8 MiB desc: 4x2 MiB L3: 8 MiB
    desc: 1x8 MiB
  Speed (MHz): avg: 4000 min/max: 1400/4000 boost: enabled
    base/boost: 4000/3000 scaling: driver: acpi-cpufreq governor: performance
    volts: 1.5 V ext-clock: 200 MHz cores: 1: 4000 2: 4000 3: 4000 4: 4000
    5: 4000 6: 4000 7: 4000 8: 4000 bogomips: 64069
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU117 [GeForce GTX 1650] vendor: PNY driver: nvidia
    v: 515.48.07 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-06) arch: Turing process: TSMC 12nm
    built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 2
    speed: 5 GT/s bus-ID: 01:00.0 chip-ID: 10de:1f82 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
    compositor: kwin_x11 driver: X: loaded: nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3600x1080 s-dpi: 90 s-size: 1016x312mm (40.00x12.28")
    s-diag: 1063mm (41.84")
  Monitor-1: DVI-D-0 pos: bottom-l res: 1680x1050 hz: 60 dpi: 90
    size: 473x296mm (18.62x11.65") diag: 558mm (21.97") modes: N/A
  Monitor-2: HDMI-0 pos: primary,top-right res: 1920x1080 hz: 60 dpi: 106
    size: 458x258mm (18.03x10.16") diag: 526mm (20.7") modes: N/A
  OpenGL: renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
    v: 4.6.0 NVIDIA 515.48.07 direct render: Yes
Audio:
  Device-1: AMD SBx00 Azalia vendor: Gigabyte driver: snd_hda_intel v: kernel
    bus-ID: 8-1.3:4 chip-ID: 2d30:1000 bus-ID: 00:14.2 class-ID: 0300
    chip-ID: 1002:4383 class-ID: 0403
  Device-2: NVIDIA vendor: PNY driver: snd_hda_intel v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
  Device-3: C-Media Addasound SR Series type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound Server-1: ALSA v: k5.18.3-262-tkg-bmq running: yes
  Sound Server-2: PulseAudio v: 16.0 running: no
  Sound Server-3: PipeWire v: 0.3.52 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: ce00 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: anbox0 state: down mac: <filter>
Drives:
  Local Storage: total: 803.94 GiB used: 360.74 GiB (44.9%)
  ID-1: /dev/sda maj-min: 8:0 model: SATA SSD size: 223.57 GiB block-size:
    physical: 512 B logical: 512 B sata: 3.2 speed: 3.0 Gb/s type: SSD
    serial: <filter> rev: BB.3 scheme: MBR
  SMART: yes state: disabled
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST500LT012-9WS142
    family: Laptop HDD size: 465.76 GiB block-size: physical: 4096 B
    logical: 512 B sata: 2.6 speed: 3.0 Gb/s type: HDD rpm: 5400
    serial: <filter> rev: SDM1 scheme: MBR
  SMART: yes state: disabled
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: SanDisk model: Ultra
    size: 114.61 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 210.74 GiB size: 210.74 GiB (100.00%)
    used: 100.87 GiB (47.9%) fs: btrfs block-size: 4096 B dev: /dev/sda1
    maj-min: 8:1
  ID-2: /home raw-size: 210.74 GiB size: 210.74 GiB (100.00%)
    used: 100.87 GiB (47.9%) fs: btrfs block-size: 4096 B dev: /dev/sda1
    maj-min: 8:1
  ID-3: /var/log raw-size: 210.74 GiB size: 210.74 GiB (100.00%)
    used: 100.87 GiB (47.9%) fs: btrfs block-size: 4096 B dev: /dev/sda1
    maj-min: 8:1
  ID-4: /var/tmp raw-size: 210.74 GiB size: 210.74 GiB (100.00%)
    used: 100.87 GiB (47.9%) fs: btrfs block-size: 4096 B dev: /dev/sda1
    maj-min: 8:1
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 50 (default 100)
  ID-1: swap-1 type: zram size: 11.67 GiB used: 30 MiB (0.3%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 12.83 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda2 maj-min: 8:2
Sensors:
  System Temperatures: cpu: 30.9 C mobo: N/A gpu: nvidia temp: 36 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 50%
Info:
  Processes: 287 Uptime: 4h 6m wakeups: 0 Memory: 11.67 GiB
  used: 5.17 GiB (44.3%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1832
  lib: 513 Shell: garuda-inxi (sudo) default: Bash v: 5.1.16
  running-in: alacritty inxi: 3.3.18
Garuda (2.6.3-2):
  System install date:     2022-06-14
  Last full system update: 2022-06-15
  Is partially upgraded:   Yes
  Relevant software:       NetworkManager
  Windows dual boot:       No/Undetected
  Snapshots:               Snapper
  Failed units:            anbox-container-manager.service bluetooth-autoconnect.service systemd-networkd-wait-online.service

good to know nvidia still have not fix wayland in there cards

I noticed you are in a partial upgrade status.
Maybe you’d better

garuda-update

Furthermore, how’s that

DM: 1: LightDM v: 1.30.0 note: stopped
2: SDDM note: stopped

?
Two DM’s are out of standard…
For sddm, give a look at this thread:

Just consider that now sddm-wayland-git is called sddm-git

2 Likes