Bug 1733820
Summary: | GOG linux games will not run without "compatibility layer" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | James Hogarth <james.hogarth> | ||||
Component: | gamehub | Assignee: | Artem <ego.cordatus> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 30 | CC: | ego.cordatus | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | gamehub-0.14.2.1-3.fc30 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-08-07 01:44:32 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Yeah, i tested now and can reproduce this. The fun thing that i tested this in earlier builds and it works without this compatibility layer. Thank you for such informative bug report. Will try to test in now without -O2. You also suggesting bump to latest version in your patch, but i am not sure, maybe better staying on this first stable release: https://github.com/tkashkin/GameHub/releases/tag/0.14.2-1-master FEDORA-2019-f0d066d230 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f0d066d230 gamehub-0.14.2.1-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f0d066d230 gamehub-0.14.2.1-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1594119 [details] Disable gcc -O2 optimisation Description of problem: The GOG linux games don't have a native run command, only a "run with compatibility layer" which then fails to launch the games. How reproducible: Known issue - see upstream bug linked. This appears to be caused by having any build optimisation enabled. Unfortunately '__global_compiler_flags' is hardcoded to -O2 and overrides any CFLAGS set manually to -O0. This can be overridden by redefining the macro however. I've run a quick test of the attached patch which ensures no optimisation is applied. With this patch the games launch correctly.