Bug 20184

Summary: [Wine]: Using Alt+Tab while running the wine application 'Fairy Puzzle' hangs the display
Product: Mesa Reporter: Sunil Mekathotti <sbmekathotti>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: medium CC: sbmekathotti
Version: 7.2   
Hardware: Other   
OS: other   
Whiteboard:
i915 platform: i915 features:
Attachments: screen-shot
Ubuntu-gdb-info
openSUSE-gdb-info

Description Sunil Mekathotti 2009-02-18 02:14:56 UTC
Details of the X-stack:
----------------------

mesa/drm:           master (git)     16-FEB-2009
mesa/mesa :        7.2                                             
xorg/xserver:        1.5.2                                               
xorg/xf86-video-ati: master(git)      16-FEB-2009                            
xorg/driver/xf86-input-keyboard - 1.3.0                  
xorg/driver/xf86-input-mouse-1.3.0 

-wine version - 1.0.1 
-OS: Ubuntu-8.10 - 32-Bit
Radeon : R580 (X1900) 

Steps to reproduce Problem:
-------------------------

1) Download 'Fairy Puzzle' from www.gametop.com
2) After installing the application using wine, start the game
3) Now use Alt+Tab to switch to other applications, the display hangs(screenshot attached)
4) Ctrl+Alt+Backspace kills X-server-OK, startx resumes normal afterwards
Comment 1 Sunil Mekathotti 2009-02-18 02:16:27 UTC
Created attachment 23074 [details]
screen-shot
Comment 2 Michel Dänzer 2009-02-18 02:59:01 UTC
If Ctrl-Alt-Backspace works and the following X server works normally, it's probably stuck in a software loop. While it's hung, can you try logging in remotely, see if any process is hogging the CPU, and if so attach gdb to it and get a backtrace? If no process is hogging the CPU, try getting backtraces for the X server and the Wine process.
Comment 3 Sunil Mekathotti 2009-02-24 01:24:39 UTC
(In reply to comment #2)
> If Ctrl-Alt-Backspace works and the following X server works normally, it's
> probably stuck in a software loop. While it's hung, can you try logging in
> remotely, see if any process is hogging the CPU, and if so attach gdb to it and
> get a backtrace? If no process is hogging the CPU, try getting backtraces for
> the X server and the Wine process.

Other observations:

- Happens on Ubuntu-8.10 and openSUSE-11.0
- Happens only when the game is launched in full screen mode, other wise it is OK. I can use Alt+TAB smoothly to switch between windows when game is launched in window mode.

- Attaching the 'top' and 'gdb' traces for Ubuntu and openSUSE

Comment 4 Sunil Mekathotti 2009-02-24 01:25:45 UTC
Created attachment 23253 [details]
Ubuntu-gdb-info
Comment 5 Sunil Mekathotti 2009-02-24 01:26:16 UTC
Created attachment 23254 [details]
openSUSE-gdb-info
Comment 6 Sunil Mekathotti 2009-09-13 22:59:47 UTC
Problem no longer reproducible in Ubuntu-9.04
closing

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.