Bug 25227 - X freezes on attempt to start quake3 engine based games with r300 driver
Summary: X freezes on attempt to start quake3 engine based games with r300 driver
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-22 07:29 UTC by Róbert Čerňanský
Modified: 2010-04-06 04:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Log from the X start. (48.00 KB, text/plain)
2009-11-22 07:29 UTC, Róbert Čerňanský
Details

Description Róbert Čerňanský 2009-11-22 07:29:33 UTC
Created attachment 31392 [details]
Log from the X start.

On HP Compaq nx6325 notebook with Radeon Xpress 200M GPU, when a game based on quake3 engine (Quake III Arena, Enemy Territory, ...) is starting the X freezes and screen remains black. Keyboard stops responding; it is not possible to switch to the text console with Ctrl+Alt+Fn. After "keyboard reset" with magic sysrq key combination Alt+SysRq+r the keyboard becomes responsive (CapsLock switches the LED) but switch to the text console still does not work.

Login via ssh is possible and 'top' shows that the X process consumes 99% CPU. The game has to be killed with -9 signal so as the X. After killing both the game and the X, machine (display) remains unresponsive as before. Reboot is needed.

Using git version of the Mesa, libdrm, and xf86-video-ati. However same behaviour is with Mesa-7.5.1, libdrm-2.4.13 and xf86-video-ati-6.12.4.
Kernel versions were 2.6.32-rc8 and 2.6.30. Xorg server version is 1.6.3.901 (X11 version 7.4).

My xorg.conf is empty. Same behaviour also with "AIGLX" "off" and "Composite" "false" options.

All listing below and attached are from the newest versions (git and 2.6.32-rc8 kernel) and empty xorg.conf. Also they all are before the freeze. After the freeze I did not noticed any new related entries in logs.



$ glxinfo | egrep "(OpenGL|direct)"
direct rendering: Yes
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RS400 5975) 20090101  NO-TCL
OpenGL version string: 1.5 Mesa 7.8-devel
OpenGL extensions:



Related kernel messages from system start (from /var/log/messages):

Nov 22 15:19:27 bemit kernel: pci 0000:01:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Nov 22 15:19:27 bemit kernel: [drm] Initialized drm 1.1.0 20060810
Nov 22 15:19:27 bemit kernel: [drm] radeon defaulting to userspace modesetting.
Nov 22 15:19:27 bemit kernel: [drm] Initialized radeon 1.31.0 20080528 for 0000:01:05.0 on minor 0
Nov 22 15:19:28 bemit kernel: [drm] Setting GART location based on new memory map
Nov 22 15:19:28 bemit kernel: [drm] Loading R300 Microcode
Nov 22 15:19:28 bemit kernel: platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin
Nov 22 15:19:28 bemit kernel: [drm] Num pipes: 4
Nov 22 15:19:28 bemit kernel: [drm] writeback test succeeded in 1 usecs



GPU entry from lspci -vv:

01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon Xpress 200M] (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device 30b0
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B+ DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (2000ns min), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at c0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at 6000 [size=256]
        Region 2: Memory at d4300000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at d4320000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel modules: radeonfb



Attached also Xorg.0.log.
Comment 1 Róbert Čerňanský 2010-04-05 09:28:04 UTC
This is not reproducible with Mesa 7.5.2, xf86-video-ati-6.12.5, libdrm-2.4.15, xorg server 1.6.5 and kernel 2.6.31.
Comment 2 Michel Dänzer 2010-04-06 04:25:57 UTC
Resolving per submitter, thanks for the followup (but btw you could also resolve the bug yourself :).


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.