Bug 19053 - Kernel 4.7 freeze/blackscreen every game (not with kernel 4.7 rc7 and before) - OpenGL AMD radeon
Summary: Kernel 4.7 freeze/blackscreen every game (not with kernel 4.7 rc7 and before)...
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-26 01:16 CEST by psyca
Modified: 2016-07-26 20:41 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description psyca 2016-07-26 01:16:10 CEST
Description of problem:
Every game i try doesnt work anymore. I see only black screen and/or the system freeze.

It looks like there was something (critical) changed with OpenGL in the Kernel between 4.7 (final) and 4.7 rc 7 and earlier which causes the crash. Every game with the Kernel before the final 4.7 works.

My system uses an AMD graficcard (Sapphire HD7770 OC) with the free driver.

Tested Games:
* Counter Strike 1.6
* Life is Strange
* Left 4 Dead 2
* DeadCore
* Wasteland 2 DC
...


lspci -nnk | grep -i VGA -A2 

02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X] [1002:683d]
	Subsystem: PC Partner Limited / Sapphire Technology Device [174b:e214]
	Kernel driver in use: radeon
psyca 2016-07-26 01:25:33 CEST

Summary: Kernel 4.7 freeze/blackscreen every game (not kernel 4.7 rc) - OpenGL AMD radeon => Kernel 4.7 freeze/blackscreen every game (not with kernel 4.7 rc7 and before) - OpenGL AMD radeon

Comment 1 Charles Edwards 2016-07-26 01:59:29 CEST
Well, I was going to test it on this ATI system but steam won't even run.

[charles@BuildBot ~]$ steam
Running Steam on mageia 6 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
/home/charles/.local/share/Steam/ubuntu12_32/steam: symbol lookup error: /lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
 

lspci -nnk | grep -i VGA -A2 
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X] [1002:67b0]
	Subsystem: XFX Pine Group Inc. Double Dissipation R9 290X [1682:9290]
	Kernel driver in use: radeon

CC: (none) => cae

Rémi Verschelde 2016-07-26 07:39:31 CEST

Assignee: bugsquad => tmb

Comment 2 Thomas Backlund 2016-07-26 08:25:47 CEST
Steam does not like dri3, so either disable it in xorg.conf or start with:

LIBGL_DRI3_DISABLE=1 steam
Comment 3 Rémi Verschelde 2016-07-26 08:37:07 CEST
@psyca Is it only with Steam games that you're having issues, or also with packaged games like SuperTuxKart?
Comment 4 Charles Edwards 2016-07-26 17:16:51 CEST
(In reply to Thomas Backlund from comment #2)
> Steam does not like dri3, so either disable it in xorg.conf or start with:
> 
> LIBGL_DRI3_DISABLE=1 steam

I had already tried that and the steam window never opens

[charles@BuildBot ~]$ LIBGL_DRI3_DISABLE=1 steam
Running Steam on mageia 6 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1468023329)
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast


I let it run for 30 min and it never proceeds beyond those errors
Comment 5 Rémi Verschelde 2016-07-26 17:19:42 CEST
@Charles: You can try one of the solutions described on the Arch wiki: https://wiki.archlinux.org/index.php/Steam/Troubleshooting#Steam_runtime_issues

Steam's runtime is starting to be very old (Ubuntu 12.04 LTS...) and such issues just keep popping up as it conflicts with core system libraries.
Comment 6 Charles Edwards 2016-07-26 17:51:59 CEST
Thanks for the link.

"Deleting the runtime libraries" solved the issue for me.
Steam now starts normally.
Comment 7 Charles Edwards 2016-07-26 18:30:27 CEST
Now that steam will run I installed Left 4 Dead 2

I'm a crappy player but I had no issues running the game.


nexuiz-glx also runs without issue for me.

Initializing Video Mode: fullscreen 800x600x32x60hz
Loading OpenGL driver libGL.so.1
GL_VENDOR: X.Org
GL_RENDERER: Gallium 0.4 on AMD HAWAII (DRM 2.45.0 / 4.7.0-server-1.mga6, LLVM 3.8.1)
GL_VERSION: 3.0 Mesa 12.0.1
Comment 8 psyca 2016-07-26 20:41:47 CEST
I do not know what happend.

Yesterday i made the update from Kernel 4.7-rc7-? to 4.7.0, rebooted the system and started a game. Error like written in comment 1.
I reboot the computer again with 4.7.0, same error.
I reboot and load 4.7-rc7 - works fine.
I reboot and load 4.7.0 - error.
Write the bugreport.

Today i check SuperTuxRacing (like written in comment 3) it works. Try a (Steam) Game again. Works. Reboot and try again. Works.

I cant say what happend (there was also no new update in the meantime) but this error/bug doesnt appear anymore.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME


Note You need to log in before you can comment on or make changes to this bug.