Bug 7251 - Switching to full-screen freezes system when screen depth = 24 bit
Summary: Switching to full-screen freezes system when screen depth = 24 bit
Status: RESOLVED DUPLICATE of bug 7154
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.0.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 07:38 UTC by Michael
Modified: 2006-06-23 01:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.log from one freeze session (38.63 KB, text/plain)
2006-06-16 07:39 UTC, Michael
no flags Details

Description Michael 2006-06-16 07:38:38 UTC
System: Thinkpad X31, ATI Radeon Mobility M6 LY, Debian unstable, Xorg 7.0.20,
ATI driver 6.5.8.0-1

Using screen depth of 24bit, dri disabled, starting the game lbreakout, pressing
repeatedly the "f" key (switches between window and full-screen 640x480 mode)
reliably freezes the system completely (no ssh, no SysRQ Keys). The screen shows
horizontal lines and a square in the middle (sorry, no screenshot).

Using 16bit screen depth gives no problems at all.

Disabling or Enabling DynamicClocks does not have any effect on this.

Here is the xorg.conf file:

Section "ServerLayout"
	Identifier	"DefaultLayout"
	Screen      	"Screen"
	InputDevice	"Keyboard" "CoreKeyboard"
        InputDevice	"USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
	Option		"AllowMouseOpenFail"  "true"
EndSection

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
        Load  "bitmap" # bitmap-fonts
	Load  "type1"
	Load  "freetype"
	Load  "record"
# TouchPad not detected
EndSection

Section "InputDevice"
	Identifier	"Keyboard"
	Driver		"keyboard"
        Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
	Option		"SendCoreEvents"	"true"
        Option          "Protocol"              "IMPS/2"
        Option		"Emulate3Buttons"	"true"
	Option		"Emulate3Timeout"	"70"
        Option          "Buttons"               "5"
EndSection

Section "Device"
        Identifier      "ATI"
        Driver          "radeon"
	VendorName	"IBM Thinkpad"
	BoardName	"ATI Radeon Mobility M6"
# acceleration
#       Option          "AGPMode" "4"
        Option          "EnablePageFlip"	"on"
#	Option          "RenderAccel"		"on"
	Option		"AGPFastWrite"		"no"
#	Option		"BackingStore"		"on"
#	Option		"AccelMethod"		"exa"
# enable PowerPlay features
#	Option          "DynamicClocks"		"on"
        # use bios hot keys on thinkpad (aka fn+f7)
        Option          "BIOSHotkeys"		"on"
	BusID           "PCI:1:0:0"
	Option		"sw_cursor" "off"
EndSection

Section "Monitor"
        Identifier	"InternalLCD"
        Option		"DPMS"
EndSection

Section "Screen"
        Identifier	"Screen"
        Device		"ATI"
        Monitor		"InternalLCD"
        DefaultDepth	24
        SubSection "Display"
                Depth 	24
                Modes	"1280x1024" "1024x768"
        EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection

Possibly related to bug #7154 ?
Comment 1 Michael 2006-06-16 07:39:39 UTC
Created attachment 5933 [details]
Xorg.log from one freeze session
Comment 2 Michel Dänzer 2006-06-16 07:53:22 UTC
(In reply to comment #0)
> 
> Possibly related to bug #7154 ?

Most likely, as there isn't anything specific about fullscreen other than the
mode switch. The log file actually looks like the server is trying to shut down
though?
Comment 3 Michael 2006-06-16 08:26:18 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > 
> > Possibly related to bug #7154 ?
> 
> Most likely, as there isn't anything specific about fullscreen other than the
> mode switch. 

O.k, but there is one difference: With MergedFB (#7154) the freezes seem to be
unrelated to screen depth. They happen whether you use 24bit or 16bit.

This ("full-screen") bug, so far, only happened with 24bit so far (and I'm not
using MergedFB).

> The log file actually looks like the server is trying to shut down
> though?

Hopefully, I took the right log file... I just restarted the computer after the
last freeze and took the one called Xorg.0.log.old. But maybe I mixed something
up...

Next time I will take more care. (However, I don't know how many "orphan inodes
deleted" and "fsck has detected problems on the disk and requires a reboot"
messages I can still bear to see :-( ).

But as long as there is no real method to diagnose system freezes, there
certainly is no easy method to come up with a problem solution, I guess. At
least so far, this certainly bears to many similarities with #7154 :-(

Thanks for your time and your work, Michel! I really like the power of this
small graphics card. It's certainly powerful enough for all I need, even google
earth runs fast enough ! Should be strong enough also for xgl, I guess. But at
the moment I'd really like to switch my graphics card adapter to something with
less bugs. This is, if it weren't a laptop with integrated graphics ;-)
Comment 4 Michael 2006-06-23 00:53:02 UTC
The freezes can be avoided when using xserver-xorg-video-ati-6.5.7.3-3. The bug
only appears with 6.5.8.0-1.
Comment 5 Michel Dänzer 2006-06-23 01:08:03 UTC

*** This bug has been marked as a duplicate of 7154 ***


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.