flathub / org.yuzu_emu.yuzu

https://flathub.org/apps/details/org.yuzu_emu.yuzu
21 stars 45 forks source link

Can't launch Yuzu flatpak on nvidia + wayland #1374

Closed totof3110 closed 10 months ago

totof3110 commented 10 months ago

yuzu Version

n/a

Description

Seems like @liushuyu's PR https://github.com/flathub/org.yuzu_emu.yuzu/pull/1315 is causing a crash on my system (Manjaro Gnome Nvidia Wayland session). Any commit after this change gives error

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

during launch, while commits prior are working fine (launching and running games).

Tested with various commits using flatpak update --commit={commitId} org.yuzu_emu.yuzu.

Reproduction Certainty

Always

System Information

System:
  Host: magnus Kernel: 6.6.8-2-MANJARO arch: x86_64 bits: 64 compiler: gcc
    v: 13.2.1 Desktop: GNOME v: 45.2 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ZOTAC model: ZBOX-EN173080C/EN173070C/EN153060C v: XX
    serial: <superuser required> UEFI: American Megatrends LLC. v: B453P109
    date: 11/24/2021
CPU:
  Info: 8-core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 640 KiB L2: 10 MiB L3: 24 MiB
  Speed (MHz): avg: 946 high: 3145 min/max: 800/4600 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
    13: 800 14: 800 15: 800 16: 3145 bogomips: 73744
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: ZOTAC driver: i915
    v: kernel arch: Gen-12.1 bus-ID: 00:02.0
  Device-2: NVIDIA GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
    vendor: ZOTAC driver: nvidia v: 545.29.06 arch: Ampere bus-ID: 01:00.0
  Display: wayland server: X.org v: 1.21.1.10 with: Xwayland v: 23.2.3
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia
    unloaded: nouveau dri: iris gpu: nvidia,nvidia-nvswitch
    resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 545.29.06
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3080 Laptop
    GPU/PCIe/SSE2
Network:
  Device-1: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer driver: iwlwifi
    v: kernel bus-ID: ae:00.0
  IF: wlp174s0 state: down mac: ca:32:58:3b:8a:8f
  Device-2: Intel Ethernet I225-V driver: igc v: kernel port: N/A
    bus-ID: af:00.0
  IF: enp175s0 state: up speed: 1000 Mbps duplex: full
    mac: 00:01:2e:a4:27:54
  Device-3: Qualcomm Atheros Killer E2500 Gigabit Ethernet vendor: Dell
    driver: alx v: kernel port: 3000 bus-ID: b2:00.0
  IF: enp178s0 state: down mac: 00:01:2e:a4:27:53
  Device-4: Microsoft Xbox 360 Wireless Adapter driver: xpad type: USB
    bus-ID: 3-1:2
  IF-ID-1: br-ba6adc4f594e state: up speed: 10000 Mbps duplex: unknown
    mac: 02:42:7e:15:de:3d
  IF-ID-2: docker0 state: down mac: 02:42:fe:ba:3c:bf
  IF-ID-3: veth82ce980 state: up speed: 10000 Mbps duplex: full
    mac: b6:61:23:d6:ba:50
  IF-ID-4: vethe82fd55 state: up speed: 10000 Mbps duplex: full
    mac: ae:8a:26:d4:0c:5d
Drives:
  Local Storage: total: 1.82 TiB used: 1.29 TiB (71.1%)
Info:
  Processes: 477 Uptime: 41m Memory: total: 32 GiB note: est.
  available: 31.09 GiB used: 4.32 GiB (13.9%) Init: systemd Compilers:
  gcc: 13.2.1 clang: 16.0.6 Packages: 1309 Shell: Zsh v: 5.9 inxi: 3.3.31

Logs and Backtraces

F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/clevesque/.local/share/flatpak
F: Opening user flatpak installation at path /home/clevesque/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/clevesque/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-23.08/588afc7fa2f83683e80229c572edc24d77f958a45623feef5a8f5e5b83eef07f/files/lib32 does not exist
F: Cleaning up unused container id 4098671456
F: Cleaning up per-app-ID state for org.yuzu_emu.yuzu
F: Allocated instance id 3549038960
F: Add defaults in dir /org/yuzu_emu/yuzu/
F: Add locks in dir /org/yuzu_emu/yuzu/
F: Allowing homedir access
F: Allowing wayland access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/clevesque/.config/pulse/client.conf': Error opening file /home/clevesque/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 43 xdg-dbus-proxy --args=45'
F: Running 'bwrap --args 43 yuzu-launcher'
Authorization required, but no authorization protocol specified

qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

/app/bin/yuzu-launcher: line 30:    13 Aborted                 (core dumped) prlimit --nofile=8192 yuzu "$@"

Remarks

This does not happen with the AppImage version. Seems specific to flatpak.

trinukso commented 10 months ago

Still not working: Nvidia + Wayland (Gnome).

totof3110 commented 10 months ago

@trinukso : could you confirm that PR https://github.com/flathub/org.yuzu_emu.yuzu/pull/1378 addresses your issue as well? You can install the custom version of Yuzu flatpak with:

flatpak install --user https://dl.flathub.org/build-repo/73506/org.yuzu_emu.yuzu.flatpakref
trinukso commented 10 months ago

Yes, works! Thanks.

El mar,  2 de ene de 2024 a las 14:16:51 PM, Christophe Levesque @.***> escribió:

@trinukso https://github.com/trinukso : could you confirm that PR

1378 https://github.com/flathub/org.yuzu_emu.yuzu/pull/1378

addresses your issue as well? You can install the custom version of Yuzu flatpak with:

flatpak install --user https://dl.flathub.org/build-repo/73506/org.yuzu_emu.yuzu.flatpakref — Reply to this email directly, view it on GitHub https://github.com/flathub/org.yuzu_emu.yuzu/issues/1374#issuecomment-1874631434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH75TXBMAYA7AUDGANRBUADYMSBNHAVCNFSM6AAAAABBHLBRL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGYZTCNBTGQ. You are receiving this because you were mentioned.Message ID: @.***>

trinukso commented 10 months ago

@trinukso : could you confirm that PR #1378 addresses your issue as well? You can install the custom version of Yuzu flatpak with:

flatpak install --user https://dl.flathub.org/build-repo/73506/org.yuzu_emu.yuzu.flatpakref

When will it be fixed in the "normal" version?

totof3110 commented 10 months ago

Resolved with https://github.com/flathub/org.yuzu_emu.yuzu/pull/1387.