https://bugs.freedesktop.org/show_bug.cgi?id=64649
Priority: medium Bug ID: 64649 Assignee: dri-devel@lists.freedesktop.org Summary: [r600g] Anomaly 2 (Steam) crashes with GLX_EXT_swap_control not supported, unable to set vertical sync Severity: critical Classification: Unclassified OS: Linux (All) Reporter: romulasry@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Game update: AppID 236730 "Anomaly 2", ProcID 7610, IP 0.0.0.0:0 ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored. GLX_EXT_swap_control not supported, unable to set vertical sync.
https://bugs.freedesktop.org/show_bug.cgi?id=64649
romulasry@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Component|Drivers/Gallium/r600 |GLX
https://bugs.freedesktop.org/show_bug.cgi?id=64649
romulasry@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop |org |.org Component|GLX |Drivers/Gallium/r600
https://bugs.freedesktop.org/show_bug.cgi?id=64649
--- Comment #14 from Kai kai@dev.carbon-project.org --- (In reply to comment #11)
(In reply to comment #2)
It then closes. It won't run without that extention, switched to GLX instead of a driver specific component.
The game runs for me with i965 on gen7.
Very likely (see attachment 79573). The title is wrong, GLX_EXT_swap_control is only requested by the Steam overlay and non-critical. I can see the GLX_EXT_swap_control with any game I launch through Steam (e.g. Oil Rush) and the others work well. It's just Anomaly that is hitting a bug in r600g (or a bug in Anomaly which isn't handled gracefully by r600g?). Anyway, the title should be changed to something more accurate.
https://bugs.freedesktop.org/show_bug.cgi?id=64649
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Anomaly 2 (Steam) exits |Anomaly 2 (Steam) exits |with GLX_EXT_swap_control |with segfault in r600g |not supported, unable to | |set vertical sync |
https://bugs.freedesktop.org/show_bug.cgi?id=64649
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Anomaly 2 (Steam) exits |Anomaly 2 (Steam) exits |with segfault in r600g |with divide by 0 in r600g
https://bugs.freedesktop.org/show_bug.cgi?id=64649
--- Comment #15 from romulasry@gmail.com ---
Again, just to make sure you don't search for a bug that is maybe no longer in r600g: I don't have the latest master for Mesa/libdrm, and it'll take me at least a few days, before I can get around to build a new version. Hency you might want to confirm the backtrace with somebody who runs master.
I will the backtrace, could you give me the exact command you used?
https://bugs.freedesktop.org/show_bug.cgi?id=64649
--- Comment #16 from Kai kai@dev.carbon-project.org --- (In reply to comment #15)
Again, just to make sure you don't search for a bug that is maybe no longer in r600g: I don't have the latest master for Mesa/libdrm, and it'll take me at least a few days, before I can get around to build a new version. Hency you might want to confirm the backtrace with somebody who runs master.
I will the backtrace, could you give me the exact command you used?
The command is gdb "~/.local/share/Steam/SteamApps/common/Anomaly 2/Anomaly2Linux" [ProcID] but that alone isn't enough. First you need to install the debugging symbols for Mesa and libc (the 32 bit versions!). Then you need to start Steam and Anomaly 2 through Steam. While the intro is playing you need to tab to a console, determine the process ID (with ps) and then replace [ProcID] in the command above. After gdb has attached itself to Anomaly 2, you will see the gdb prompt where you need to type c (or continue). After that, you can tab back to the game and wait until you hit the crash. Then you should be back to your desktop (and console windows). There you have to type in bt full and info registers
You can exit gdb (and the attached Anomaly 2) by typing in q (or quit).
If you want to redirect the output of the above commands to a file, use set logging file /path/to/log-file set logging on before you type c (or continue).
If you have trouble getting through all commands before the intro ends, you might want to prepare them beforehand.
I hope this helps.
https://bugs.freedesktop.org/show_bug.cgi?id=64649
--- Comment #17 from romulasry@gmail.com --- Created attachment 79726 --> https://bugs.freedesktop.org/attachment.cgi?id=79726&action=edit Full GDB backtrace for git mesa Anomaly 2
https://bugs.freedesktop.org/show_bug.cgi?id=64649
romulasry@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #79726|0 |1 is obsolete| |
https://bugs.freedesktop.org/show_bug.cgi?id=64649
--- Comment #18 from romulasry@gmail.com --- Created attachment 79727 --> https://bugs.freedesktop.org/attachment.cgi?id=79727&action=edit Full GDB backtrace for git mesa Anomaly 2
https://bugs.freedesktop.org/show_bug.cgi?id=64649
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #79727|text/x-log |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=64649
Kai kai@dev.carbon-project.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #79573|0 |1 is obsolete| |
--- Comment #19 from Kai kai@dev.carbon-project.org --- Created attachment 86915 --> https://bugs.freedesktop.org/attachment.cgi?id=86915&action=edit Full GDB backtrace for Anomaly 2 (2013-10-02)
Still an issue with current Git HEAD on an X.org 1.14.2 (ie. with OpenGL 3.1 available).
The stack is: Kernel: 3.11.2 libdrm: 2.4.46 Mesa: master/aac75f877da1d106f6fd7bbd238d1d1d35a0c8e8 X.Org: 1.14.2
Current dmesg output is:
traps: Renderer[12757] trap divide error ip:f53c1896 sp:f0bfede0 error:0 in r600_dri.so[f4f06000+11a0000]
https://bugs.freedesktop.org/show_bug.cgi?id=64649
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #20 from GitLab Migration User gitlab-migration@fdo.invalid --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/438.
dri-devel@lists.freedesktop.org