<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jeremy Visser &#187; emac</title>
	<atom:link href="http://jeremy.visser.name/tag/emac/feed/" rel="self" type="application/rss+xml" />
	<link>https://jeremy.visser.name</link>
	<description></description>
	<lastBuildDate>Fri, 16 Jul 2010 03:39:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<atom:link rel='hub' href='https://jeremy.visser.name/?pushpress=hub'/>
<cloud domain='jeremy.visser.name' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>No DRI on X.Org with a Radeon? Check your Virtual size.</title>
		<link>https://jeremy.visser.name/2009/10/28/no-dri-on-x-org-with-a-radeon-check-your-virtual-size/</link>
		<comments>https://jeremy.visser.name/2009/10/28/no-dri-on-x-org-with-a-radeon-check-your-virtual-size/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 03:52:25 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[emac]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://jeremy.visser.name/?p=1303</guid>
		<description><![CDATA[After I installed Fedora Rawhide on the eMac this week, I fired up X.Org, only to discover that&#8230; (II) AIGLX: Screen 0 is not DRI2 capable (II) AIGLX: Screen 0 is not DRI capable So it had fallen back to a software 3D renderer, which is pretty crap. So to make a long story short, [...]]]></description>
			<content:encoded><![CDATA[<p>After I installed Fedora Rawhide on the eMac this week, I fired up X.Org, only to discover that&#8230;</p>
<blockquote><pre>(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable</pre>
</blockquote>
<p>So it had fallen back to a software 3D renderer, which is pretty crap. So to make a long story short, it was because my &#8216;Virtual&#8217; screen size was too big. I typed <code>xrandr</code>, and got the following:</p>
<blockquote><pre>$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 960, <strong>maximum 2048 x 2048</strong></pre>
</blockquote>
<p>Because of various technical reasons, when the Virtual size is too big (which, evidently, 2048&#215;2048 is), DRI gets disabled. So, to re-enable it, I put this into my xorg.conf:</p>
<blockquote><pre>Section "Screen"
        Identifier "Main Screen"
        Device "Radeon 7500"
        Monitor "eMac CRT"
        SubSection "Display"
                <strong>Virtual 1280 960</strong> # put the highest resolution you intend to use here
        EndSubSection
EndSection</pre>
</blockquote>
<p>Obviously, edit the values to suit.</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2009/10/28/no-dri-on-x-org-with-a-radeon-check-your-virtual-size/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to get X.Org working on an Apple eMac (ATI Radeon 7500)</title>
		<link>https://jeremy.visser.name/2009/02/20/how-to-get-xorg-working-on-an-apple-emac-ati-radeon-7500/</link>
		<comments>https://jeremy.visser.name/2009/02/20/how-to-get-xorg-working-on-an-apple-emac-ati-radeon-7500/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 10:55:37 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[ati]]></category>
		<category><![CDATA[emac]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://jeremy.visser.name/?p=973</guid>
		<description><![CDATA[About 8 or so months ago, I bought an Apple eMac, which came with a DVD drive, 1GHz PowerPC processor, 1GB of RAM, and an ATI Radeon 7500 video card. One of the first things I did was attempt to install Linux on it. Ubuntu 8.04 was my first try, and I was annoyed to [...]]]></description>
			<content:encoded><![CDATA[<p>About 8 or so months ago, I bought an <a href="http://en.wikipedia.org/wiki/EMac">Apple eMac</a>, which came with a DVD drive, 1GHz PowerPC processor, 1GB of RAM, and an ATI Radeon 7500 video card.</p>
<p>One of the first things I did was attempt to install Linux on it. Ubuntu 8.04 was my first try, and I was annoyed to find that I couldn&#8217;t get a picture with Xorg on it &#8212; just a blank screen. I also tried Debian Etch, Debian Sid, and Fedora 8, which also had the exact same symptoms.</p>
<p>The only Linux distro that worked was openSUSE 11, but I couldn&#8217;t stand openSUSE because it was slow, YaST was painful to use, I hated RPM, and they customised GNOME <em>way</em> too much.</p>
<p>Initially, I thought it was a refresh rate problem. I have gathered that the optimum screen mode for the eMac is 1024×768 @ 89Hz. Because Ubuntu was trying to set the mode to 1280&#215;800 @ 60Hz by default, I added a modeline for the proper mode. However, that didn&#8217;t fix my blank screen, and I almost gave up in despair.</p>
<p>I also ran <code>xrandr</code> under a tty, and it was interesting to see that it thought my Mac had DVI hardware &#8212; <code>DVI-0</code> and <code>DVI-1</code>. The eMac most definitely does not support DVI, so this told me the issue was a little more advanced than refresh rates.</p>
<p>On Saturday, while talking to the friendly folks on <a href="irc://irc.freenode.net/#gentoo-powerpc">#gentoo-powerpc</a>, one of them pointed me to <a href="http://www.ppclinux.info/wiki/maclin/G4_emac_modelines">this page</a> (Update: the link is an equivalent page, as the original link is now gone), which contained some ConnectorTable hacks. As it turned out, the hacks worked! Both internal and external VGA worked (internal VGA was called <code>VGA-1</code>, and external VGA was called <code>VGA-0</code>), which makes me really happy.</p>
<p>So, to get X.Org working on your eMac, make the following changes to <code>xorg.conf</code>.</p>
<p>First you need to define the Modeline for the video mode:</p>
<blockquote>
<pre>Section "Monitor"
  Identifier   "Configured Monitor"
  # 1024x768 @ 89.00 Hz (GTF) hsync: 72.00 kHz; pclk: 99.07 MHz
  Modeline "1024x768"  99.07  1024 1088 1200 1376  768 769 772 809  +HSync +Vsync
EndSection</pre>
</blockquote>
<p>Then, tell it to use the video mode:</p>
<blockquote><pre>Section "Screen"
  Monitor    "Configured Monitor"
  # Fill in self-explanatory data here.
  SubSection "Display"
     Viewport   0 0
     Depth     24
     Modes   "1024x768"
  EndSubSection
EndSection</pre>
</blockquote>
<p>Fix the broken ConnectorTable:</p>
<blockquote><pre>Section "Device"
  # Fill in device information here.
  Option      "ConnectorTable" "100,1,0,1,108,2,0,1"
EndSection</pre>
</blockquote>
<p>After you do that, you should have a working X display. If you still get a blank screen, switch to a tty, run <code>export DISPLAY=:0</code>, run <code>xrandr</code>, and check to see that the eMac is using the correct resolution. Make sure DVI is not mentioned.</p>
<p>The <a href="http://img360.imageshack.us/img360/6131/dsc01144sk6.jpg">photo</a> by Oswald using <code>-HSync +Vsync</code> depicts the eMac with the picture off-centre. This is because <code>-HSync +Vsync</code> (the default) is wrong! Use <code>+HSync +Vsync</code>, and your picture will be in the centre of the screen.</p>
<p>Instead of the ConnectorTable hack above, one user from the Ubuntu forums <a href="http://ubuntuforums.org/showpost.php?s=00c1a0b7b96af6102d30e542bc1b2cb0&#038;p=6494976">points out</a> that it is possible to get a picture by adding the following code to the Device section:</p>
<blockquote><pre>Section "Device"
  # Device information goes here.
  Option "monitor-DVI-0" "iMac"
EndSection</pre>
</blockquote>
<p>This is not as good a solution as setting ConnectorTable, as the external VGA monitor does not work with this set.</p>
<p><strong>If you used this information</strong> to try and fix X on your eMac, <strong>please <a href="#respond">let me know</a></strong> in the comments so I know whether it was helpful or not! Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2009/02/20/how-to-get-xorg-working-on-an-apple-emac-ati-radeon-7500/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>
