[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ATI Radeon 9200 256MB PCI xfree86-4.3.0.1 - hang



Boris Kolpackov <boris@kolpackov.net> writes:

> I am having problems with above-mentioned card. After startx the box
> just hangs (black screen) with the only way out is through power-down
> (C-A-Backspace doesn't work). There is no log in /var/log/XFree86.0.log.
>
> Here is some info:
>
> * Card is VisionTek eXtasy Radeon 9200 256MB PCI DVI/VGA/SV
>   DeviceID is 5961
>
> * XFree86-4.3.0.1 is from Debian unstable. I have disabled DRI (see config
>   below).
>
>
> * I am running linux kernel 2.6.4. I have disabled AGP/Framebuffer.
>
>
> * Driver from ATI v3.14.6 (for 4.3.0) seem to work ok.
>
> * I tried various options for radeon driver (you can see them in config
>   file below) without any difference.

Meantime I continued poking the radeon driver. Since after the startx
the box is totally wasted I decide to ssh from a remote box and run
XFree86 -verbose. This way I at least could capture some output. The whole
thing appeared to hang right after

(--) Depth 24 pixmap format 32 bpp

and just before

(II) do I need RAC? No, I don't.

So I started comparing output from ATI driver to the one from XFree's
radeon. All important things seemed identical (like addresses of MMIO regs,
V_BIOS segment, BIOS, Linear Framebuffer, etc) except the amount of memory
the driver detected. ATI's driver reported 128MB (64bit DDR SDRAM) while
radeon reported 256 (128bit DDR SDRAM). So I added

VideoRam 131072

to the video card section of XF86Config-4. And everything just worked.

Has anybody else experienced anything like this?

hth,
-boris


> Section "Files"
> 	FontPath	"unix/:7110"			# local font server
> 	# if the local font server has problems, we can fall back on these
> 	# FontPath	"/usr/lib/X11/fonts/Type1"
> 	# FontPath	"/usr/lib/X11/fonts/CID"
> 	# FontPath	"/usr/lib/X11/fonts/Speedo"
> 	# FontPath	"/usr/lib/X11/fonts/misc"
> 	# FontPath	"/usr/lib/X11/fonts/cyrillic"
> 	# FontPath	"/usr/lib/X11/fonts/100dpi"
> 	# FontPath	"/usr/lib/X11/fonts/75dpi"
> EndSection
>
> Section "Module"
> #	Load	"GLcore"
> 	Load	"bitmap"
> 	Load	"dbe"
> 	Load	"ddc"
> #	Load	"dri"
> 	Load	"extmod"
> 	Load	"freetype"
> #	Load	"glx"
> 	Load	"int10"
> 	Load	"record"
> 	Load	"speedo"
> 	Load	"type1"
> 	Load	"vbe"
> EndSection
>
> Section "InputDevice"
> 	Identifier	"Generic Keyboard"
> 	Driver		"keyboard"
> 	Option		"CoreKeyboard"
> 	Option		"XkbRules"	"xfree86"
> 	Option		"XkbModel"	"pc104"
> 	Option		"XkbLayout"	"ru"
> 	Option          "XkbVariant"    "phonetic"
> 	Option          "XkbOptions"    "grp:toggle"
> EndSection
>
> Section "InputDevice"
> 	Identifier	"Configured Mouse"
> 	Driver		"mouse"
> 	Option		"CorePointer"
> 	Option		"Device"		"/dev/psaux"
> 	#Option		"Device"		"/dev/input/mice"
> 	Option		"Protocol"		"MouseManPlusPS/2"
> 	Option		"Emulate3Buttons"	"false"
> 	Option		"ZAxisMapping"		"4 5"
> EndSection
>
> Section "Device"
> 	Identifier	"Generic Video Card"
> 	#Driver		"fglrx"
> 	Driver		"radeon"
> 	#ChipID		0x514D
> 	#ChipID		0x4966
> 	#BusID           "PCI:5:14:0"
> 	#Option		"NoAccel"	"true"
> 	#Option          "ForcePCIMode"  "true"
> 	#Option		"BusType"	"PCI"
> EndSection
>
> Section "Monitor"
> 	Identifier	"Generic Monitor"
> 	HorizSync	30-75
> 	VertRefresh	50-85
> 	Option		"DPMS"
> EndSection
>
> Section "Screen"
> 	Identifier	"Default Screen"
> 	Device		"Generic Video Card"
> 	Monitor		"Generic Monitor"
> 	DefaultDepth	24
>
> 	SubSection "Display"
> 		Depth		24
> 		Modes		"1600x1200" "800x600" "640x480"
> 	EndSubSection
> EndSection
>
> Section "ServerLayout"
> 	Identifier	"Default Layout"
> 	Screen		"Default Screen"
> 	InputDevice	"Generic Keyboard"
> 	InputDevice	"Configured Mouse"
> EndSection
>
> Section "DRI"
> 	Mode	0666
> EndSection
>



Reply to: