Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75342 - [pcsx2] Emulation fails to start on Wayland: host display device context creation error

Attached to Project: Community Packages
Opened by parcimonic (parcimonic) - Saturday, 16 July 2022, 13:25 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 09 August 2022, 10:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

When trying to boot a game, the program will fail with a message about host display device and the emulation won't start.


Additional info:
* package version: 1.7.3074-1 with patch from  FS#75335 

* link to upstream bug report: https://github.com/PCSX2/pcsx2/issues/6363

Steps to reproduce:

0. You won't be able to start the program without the aforementioned patch, so apply it and rebuild the package.
1. Start the program and try to start a game.
2. The error will pop-up and the emulation will fail.

Steps to fix:

Add "-DWAYLAND_API=ON" to cmake options in the PKGBULD.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Tuesday, 09 August 2022, 10:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.7.3187-3
Comment by parcimonic (parcimonic) - Monday, 25 July 2022, 03:05 GMT
With the release of `pcsx2 1.7.3114-1`, the desktop file has `Exec=env QT_QPA_PLATFORM=xcb MESA_NO_ERROR=1 pcsx2-qt`, therefore this bug doesn't affect emulation when started via desktop icon, programs menu, etc.

When starting from command line, if `QT_QPA_PLATFORM=xcb` isn't set, the bug will still happen.
Comment by Maxime Gauduin (Alucryd) - Tuesday, 09 August 2022, 10:03 GMT
1.7.3187-3 adds WAYLAND_API=ON and an optdep on qt6-wayland.

Loading...