Trying to use Radeon driver on Apple eMac

Joseph Adams joeyadams3.14159 at gmail.com
Tue Dec 9 10:25:54 PST 2008


Yay!  I modified my xorg.conf to add the modelines and use the
ConnectorTable, and it displays fine (though there is a bit of
flickering whenever xrandr is called)  See
http://www.funsitelots.com/pub/xorg_emacG4_working for logs,
screenshots, etc.

My xorg.conf is as follows:

# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
	Option	    "XkbVariant" "dvorak"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	#Driver      "fbdev"
	#Option	    "UseFBDev" "true"
	Option      "ConnectorTable" "96,1,0,1,100,2,0,1"
	#Option      "MacModel" "powerbook-internal"
EndSection

#Both of these xrandr modes worked:
#xrandr --newmode  "1024x768j" 99.198 1024 1072 1168 1376 768 769 772
810 +HSync +VSync
#xrandr --newmode "1280x960j" 124.54  1280 1368 1504 1728  960 961 964
1001  +HSync +Vsync
# $ gtf 1280 960 72
# 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
# Modeline "1280x960_72.00"  124.54  1280 1368 1504 1728  960 961 964
1001  -HSync +Vsync
# (note that -HSync should be +HSync, or the image is about 70% over
to the left (according to my test)


Section "Monitor"
	Identifier "eMac Monitor"
	#HorizSync 71-73
	Modeline "1280x960" 124.54  1280 1368 1504 1728  960 961 964 1001
+HSync +VSync
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "eMac Monitor"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection


I went ahead and tested 3D and video playing.  3D works fine until I
VT out and back in (then 3D programs like glxgears and neverball lock
up).  Playing an ogg vorbis through Epiphany works fine.  Playing an
flv or an ogg in mplayer displays a garbled image (see screenshots).
Video playing does not seem to be affected by VT switching.

Although these are likely separate issues, I just wanted to bring them
to your attention in case they're related to this problem.  I guess
now we have to figure out how to get Xorg to autoprobe the correct
modes?



More information about the xorg mailing list