Bug 305595

Summary: Wine games in fullscreen mode hang with the first mouse click
Product: [Plasma] kwin Reporter: LyCC <flevi99>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CLOSED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 4.9.0   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description LyCC 2012-08-22 12:35:08 UTC
Issue with steam on wine: (valve) Counter-Strike 1.6, Condition Zero, Plants vs zombies, (source) Counter-Strike: Source, CS: Global Offensive. They all start and run well in windowed mode, but on full screen, the graphics hand with the first mouse click (music still playing in the background).
I don't get anything in the terminal or logs (or i don't know where to look), advise needed on how to get some more information on this issue (I only get an malloc error, but i don't know if that is from killing the game, i can't get out of the window untill i loged into another terminal and kill the game).

Hardware: Core2Duo, 4Giga Ram, NVidia 9800GT, driver: 304.32.

Other: I tried with a new install, upgraded everything, nvidia driver, kernet, etc, there ware no problems, last i updated KDE to 4.9, and the same situation.

Reproducible: Always

Steps to Reproduce:
with an up to date Chakra 64bit installation
1. start any game from steam (valve or source), in fullscreen
2. observe the animation running, sound playing, then click anywhere and the graphics hang
Comment 1 Thomas Lübking 2012-08-22 13:41:19 UTC
The game will most likely grab the entire server when it gets the focus (what means kwin, ie. the compositor, will no longer be able to draw anything.

a) Does it happen with xrender compositing as well?
b) please attach the output of "qdbus org.kde.kwin /KWin supportInformation"
c) to (likely) workaround the issue suspend compositing when running such game (shift+alt+f12, will also free GPU resources then available to the game) - you can also setup a rule (kcmshell4 kwinrules, last tab) to do that automatically.
Comment 2 LyCC 2012-08-22 17:35:22 UTC
a) Yes, it's the same (with both wine 1.5.11, 1.5.4, and Crossover (wine 1.4), all desktop effects disabled)
b) http://paste.kde.org/538250/
c) shift+alt+f12, unfortunatly no help

Regards.
Comment 3 Thomas Lübking 2012-08-22 17:57:33 UTC
"happens w/o compositing" == "not a KWin problem"

Have you nevertheless tried to replace the WM (like "openbox --replace&")?

Does it also happen with other wine (OpenGL) games like the windows version of urban terror or so?
Comment 4 LyCC 2012-08-22 20:23:15 UTC
Yes, urban terror windows version the same, i get a gray background and i can scroll the desktop.
I tried openbox, the same, so not KWin issue, thank you for you help.