FS#78926 - [dolphin-emu] OpenGL backend segfaults
Attached to Project:
Arch Linux
Opened by Jeremi Campagna (Shijikori) - Thursday, 29 June 2023, 15:17 GMT
Last edited by Toolybird (Toolybird) - Thursday, 29 June 2023, 22:41 GMT
Opened by Jeremi Campagna (Shijikori) - Thursday, 29 June 2023, 15:17 GMT
Last edited by Toolybird (Toolybird) - Thursday, 29 June 2023, 22:41 GMT
|
Details
Description:
When using the OpenGL backend, the emulator segfaults loading any game. Additional info: * 5.0.r19433.34527cadcc-3 * config and/or log files etc. * no upstream significant bug report. only related bug is this one : https://bugs.dolphin-emu.org/issues/13257 Steps to reproduce: 1. Open dolphin-emu 2. In Graphics settings, set backend to "OpenGL" 3. Play a game Log output stops and dolphin-emu segfaults. I would tend to believe the package has not been built correctly or is using a broken version as AUR package dolphin-emu-beta-git works perfectly. Compiling the same version manually (5.0.r19368) with the same dependencies installed and same arguments as described in dolphin-emu-beta-git PKGBUILD results in fully working binaries, no issues with OpenGL backend. |
This task depends upon
Closed by Toolybird (Toolybird)
Thursday, 29 June 2023, 22:41 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#78628
Thursday, 29 June 2023, 22:41 GMT
Reason for closing: Duplicate
Additional comments about closing:
I attached the patch to this comment.
FS#78628FS#78628. The linked package is built with LTO disabled using the attached diff. It was built in a clean chroot. Does it segfault?https://drive.google.com/file/d/1WAcDX4bxAd-HbX9I-4WTBAuCBjZdIMhy/view?usp=sharing dolphin-emu-1:5.0.r19433.34527cadcc-3-x86_64.pkg.tar.zst
Rather puzzling considering my patch is also basically what I had to do to get a local build of dolphin-emu (from upstream repo and documentation) running. I suppose something with the options that I changed disables LTO?
Could also be unrelated.
Not really. If you compile in a clean chroot as per Arch official pkgs, the makepkg.conf used is from devtools [1]. If you compile locally, the makepkg.conf is more than likely from pacman [2]. They are actually different, notably regarding LTO. The 2 being different is not ideal, but that's how it is currently.
[1] https://gitlab.archlinux.org/archlinux/devtools/-/blob/master/config/makepkg/x86_64.conf
[2] https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/blob/main/makepkg.conf