Bug 20306 (rossiliu)

Summary: xf86-video-ati 6.9.0 to 6.11.0 driver will hang on mplayer full screen
Product: xorg Reporter: rossiliu <liueigi>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: liueigi
Version: 7.3 (2007.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log form ubuntu 8.04
none
Xorg.0.log Enable AGP8x,EXA,EXAVsync,DRI form ubuntu 8.04 none

Description rossiliu 2009-02-25 03:03:39 UTC
I am Ubuntu 8.04 LTS 32bit (Traditional Chinese) user, system info is

CPU: 

model name	: Genuine Intel(R) CPU 3.40GHz HT
cpu family	: 15
model		: 4

VGA card is ATi X800XT AIW AGP

M/B is Gigabyte 8IPE100G ver.3 ( intel 865PE / ICH5 )

memory is DDR dual channel up to 2G

2 SATA 2 IDE H.D.D. and one DVD-RW device.

xorg.conf setting in below

---------------------------------------------------------------------------------------------------------

ection "ServerLayout"
	Identifier	"Default Layout"
  screen 0 "aticonfig-Screen[0]-0" 0 0
	Inputdevice	"Generic Keyboard"
	Inputdevice	"Configured Mouse"
	Option		"AIGLX"	"true"
EndSection

Section "Files"
EndSection

Section "Module"
	Load		"dri"
	Load		"v4l"
	Load		"dbe"
	Load		"glx"
	Load		"drm"
EndSection

Section "ServerFlags"
	Option		"AIGLX"	"on"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"evdev"
	Option		"Device"		"/dev/input/event2"
#	Driver		"mouse"
	Option 		"SendCoreEvents"
	Option		"CorePointer"
	Option		"Name"			"Logitech USB Optical Mouse"
	Option		"Emulate3Buttons"	"false"
#	Option		"Dev Phys"		"usb-0000:00:1d.1-2/input0"
#	Option		"Device"		"/dev/input/mice"
	Option		"Buttons"		"10"
	Option		"ZAxisMapping"		"4 5 6 7"
EndSection

Section "Monitor"
	Identifier	"aticonfig-Monitor[0]-0"
	Option		"VendorName"	"ATI Proprietary Driver"
	Option		"ModelName"	"Generic Autodetecting Monitor"
	Option		"DPMS"	"true"
	HorizSync    28.0 - 72.0
	VertRefresh  43.0 - 80.0
EndSection

Section "Device"
	Identifier	"aticonfig-Device[0]-0"
	Driver		"radeon"
	Option		"AGPMode" 		"8"
	Option 		"EnablePageFlip" 	"on"
	Option		"DRI"			"on"
	Option		"AccelMethod"		"EXA"
	Option		"EXAVSync"		"on"
	Option 		"AccelDFS" 		"on"
	Option      	"BackingStore" 		"on"
	Option 		"EnablePageFlip" 	"on"
	Option 		"TVDACLoadDetect" 	"on"
	Option 		"DefaultTVDACAdj" 	"on"
	Option 		"TVStandard" 		"ntsc-j"
	Busid		"PCI:1:0:0"
EndSection

Section "Screen"
	Identifier	"aticonfig-Screen[0]-0"
	Device		"aticonfig-Device[0]-0"
	Monitor		"aticonfig-Monitor[0]-0"
	Defaultdepth	24
	SubSection "Display"
		Viewport	0	0
		Depth	24
                Modes    "1024x768" "800x600" "640x480" "1280x1024"
	EndSubSection
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "Extensions"
	Option		"DAMAGE"	"Enable"
	Option		"RENDER"	"Enable"
	Option		"XVideo"	"Enable"
	Option 		"Composite" 	"Enable"
EndSection

---------------------------------------------------------------------------------------------------------------

And compiz I active it.


bug is 

1) I download xf86-video-ati 6.9.0 / 6.10.0 / 6.11.0 try to build and install to ubuntu 8.04, when I done and restart computer into gnome, every thing fine, but when I use mplayer or smplayer or vlm to watch movie, switch to full screen, and switch back to window mode, all system hang, even TTY1 same one.

2) I try reinstall my ubuntu, form 8.04 to 8.10( format H.D.D to install, not upgrade to 8.10 ), ubuntu 8.10 build-in xserver-xorg-video-ati 6.9.0 driver and mesa 7.3, that problem is same one. I try 6.11.0, that is same.( xorg.conf is same upper you can see )

3) google earth very very very slowly, I can't use it. 


PS: I build source code driver use "checkinstall" to help me packet .deb file, and use dpkg -i to install this packet.




Best regards.
Comment 1 Alex Deucher 2009-02-25 06:30:51 UTC
please attach your xorg log.
Comment 2 rossiliu 2009-02-25 07:30:43 UTC
Created attachment 23282 [details]
Xorg.0.log form ubuntu 8.04
Comment 3 rossiliu 2009-02-25 07:32:14 UTC
(In reply to comment #1)
> please attach your xorg log.
> 

attach files are xorg log

unfortunately I don't save ubuntu 8.10 and other old log files.
I attach two files for you.

Xorg.0.log.ubuntu.8.04.radeon.6.8.0  ----> Ubuntu 8.04 build-in xserver-xorg-video-ati 6.8.0
Xorg.0.log.ubuntu.8.04.radeon.6.11.0 ----> Ubuntu 8.04 use xf86-video-ati 6.11.0

the xorg.conf setting are same.
I use some Option only for 6.10.0 later, so in the 6.8.0 will got error message.

Best regards
Comment 4 Alex Deucher 2009-02-25 07:46:48 UTC
In the future, please attach the logs directly rather than zipping them up.  First remove all of the options in the device section of your config and reboot.  Does that fix the problem?  If not, does setting the AGPMode to 4 help?
Option "AGPMode" "4"
Comment 5 rossiliu 2009-02-26 00:03:54 UTC
Created attachment 23307 [details] [review]
Xorg.0.log Enable AGP8x,EXA,EXAVsync,DRI form ubuntu 8.04

Thank your reply first.

I try remove all options and restart gdm, it is work! 
But I think here is some thing wrong in option.
so, I try option parameter one by one.
I enable EXA, AGP8x, EXAVsync 
last, when I use Option  "DRI"  "on" , mplayer let the system crash.

I attach xorg log file for you.

and I try google earth, that is very very very slow can't used. 

Best regards.
Comment 6 Alex Deucher 2009-02-26 07:09:32 UTC
DRI should be on by default.  Please try with only:

Option "AccelMethod" "EXA"

if that doesn't work,  try adding:

Option "AGPMode" "4"
Comment 7 rossiliu 2009-02-26 17:05:06 UTC
(In reply to comment #6)
> DRI should be on by default.  Please try with only:
> 
> Option "AccelMethod" "EXA"
> 
> if that doesn't work,  try adding:
> 
> Option "AGPMode" "4"
> 

Thank you a lot!

This message I will post it in Taiwan Ubuntu wiki, let more user know it and use it.
thank you.

best regards.
Comment 8 Alex Deucher 2009-02-26 17:33:18 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > DRI should be on by default.  Please try with only:
> > 
> > Option "AccelMethod" "EXA"
> > 
> > if that doesn't work,  try adding:
> > 
> > Option "AGPMode" "4"
> > 
> 
> Thank you a lot!
> 

Which option fixed it?  I'd like to add a quirk so the driver will do this automatically for your card.
Comment 9 rossiliu 2009-02-26 17:41:04 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > DRI should be on by default.  Please try with only:
> > > 
> > > Option "AccelMethod" "EXA"
> > > 
> > > if that doesn't work,  try adding:
> > > 
> > > Option "AGPMode" "4"
> > > 
> > 
> > Thank you a lot!
> > 
> 
> Which option fixed it?  I'd like to add a quirk so the driver will do this
> automatically for your card.
> 

yes ! as you say, I just enable EXA, don't enable DRI 。
xorg.conf setting on below

--------------------------------------------

Section "Device"
	Identifier	"aticonfig-Device[0]-0"
	Driver		"radeon"
	Option		"AGPMode" 		"8"
#	Option 		"EnablePageFlip" 	"on"
#	Option		"DRI"			"on"
	Option		"AccelMethod"		"EXA"
#	Option		"EXAVSync"		"on"
#	Option 		"AccelDFS" 		"on"
#	Option      	"BackingStore" 		"on"
#	Option 		"EnablePageFlip" 	"on"
#	Option 		"TVDACLoadDetect" 	"on"
#	Option 		"DefaultTVDACAdj" 	"on"
#	Option 		"TVStandard" 		"ntsc-j"
	Busid		"PCI:1:0:0"
EndSection

---------------------------------------------

that will working fine! 
very thank you! ^__^


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.