<?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>Roopesh's Blog &#187; Beryl</title>
	<atom:link href="http://www.roopeshsheth.com/category/beryl/feed" rel="self" type="application/rss+xml" />
	<link>http://www.roopeshsheth.com</link>
	<description>A random blog</description>
	<lastBuildDate>Fri, 30 Apr 2010 05:46:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Nvidia fixed</title>
		<link>http://www.roopeshsheth.com/2007/04/15/nvidia-fixed</link>
		<comments>http://www.roopeshsheth.com/2007/04/15/nvidia-fixed#comments</comments>
		<pubDate>Sun, 15 Apr 2007 18:14:22 +0000</pubDate>
		<dc:creator>Roopesh Sheth</dc:creator>
				<category><![CDATA[Beryl]]></category>

		<guid isPermaLink="false">http://www.roopeshsheth.com/2007/04/15/nvidia-fixed/</guid>
		<description><![CDATA[Thanks, breals.&#160; This totally worked.]]></description>
			<content:encoded><![CDATA[<p>Thanks, <a href="http://www.reals.net">breals</a>.&nbsp; <a href="http://ubuntuforums.org/showthread.php?t=409154&amp;highlight=nvidia">This</a> totally worked.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.roopeshsheth.com/2007/04/15/nvidia-fixed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NVidia wierdness</title>
		<link>http://www.roopeshsheth.com/2007/04/14/nvidia-wierdness</link>
		<comments>http://www.roopeshsheth.com/2007/04/14/nvidia-wierdness#comments</comments>
		<pubDate>Sat, 14 Apr 2007 15:51:01 +0000</pubDate>
		<dc:creator>Roopesh Sheth</dc:creator>
				<category><![CDATA[Beryl]]></category>

		<guid isPermaLink="false">http://www.roopeshsheth.com/2007/04/14/nvidia-wierdness/</guid>
		<description><![CDATA[So I got Beryl working and all, but now I&#8217;ve got a new thing going on.&#160; When I reboot, my Xserver doesn&#8217;t start properly.&#160; If I re-install the NVidia driver (Step 6) and restart gdm, everything works fine.&#160; Until I reboot.&#160; So I guess I can&#8217;t reboot anymore.]]></description>
			<content:encoded><![CDATA[<p>So I got <a href="http://www.beryl-project.org">Beryl</a> <a href="http://www.roopeshsheth.com/2007/04/14/beryl-working-again/">working and all</a>, but now I&#8217;ve got a new thing going on.&nbsp; When I reboot, my Xserver doesn&#8217;t start properly.&nbsp; If I re-install the NVidia driver (<a href="http://www.roopeshsheth.com/2007/04/14/beryl-working-again/">Step 6</a>) and restart gdm, everything works fine.&nbsp; Until I reboot.&nbsp; So I guess I can&#8217;t reboot anymore.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.roopeshsheth.com/2007/04/14/nvidia-wierdness/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Beryl working again!</title>
		<link>http://www.roopeshsheth.com/2007/04/14/beryl-working-again</link>
		<comments>http://www.roopeshsheth.com/2007/04/14/beryl-working-again#comments</comments>
		<pubDate>Sat, 14 Apr 2007 15:07:07 +0000</pubDate>
		<dc:creator>Roopesh Sheth</dc:creator>
				<category><![CDATA[Beryl]]></category>

		<guid isPermaLink="false">http://www.roopeshsheth.com/2007/04/14/beryl-working-again/</guid>
		<description><![CDATA[OK, much pain, many tries, and much frustration later, I have Beryl working and kicking ass! I was trying to fix the `direct rendering: no` problem from earlier.&#160; I think this is what fixed the problem: Download the NVidia drivers from NVidia. Modify the XGL startup file (`sudo gedit /usr/local/bin/startxgl.sh`): #!/bin/sh /usr/bin/Xgl :0 -fullscreen -ac [...]]]></description>
			<content:encoded><![CDATA[<p>OK, much pain, many tries, and much frustration later, I have Beryl working and kicking ass!</p>
<p>I was trying to fix the <a href="http://www.roopeshsheth.com/2007/04/14/broken-beryl/">`direct rendering: no` problem from earlier</a>.&nbsp; I think this is what fixed the problem:</p>
<ol>
<li>Download the NVidia drivers from NVidia.</li>
<li>Modify the XGL startup file (`sudo gedit /usr/local/bin/startxgl.sh`):
<pre>#!/bin/sh
/usr/bin/Xgl :0 -fullscreen -ac -accel xv:fbo -accel glx:pbuffer &amp;
sleep 4&nbsp; 
export DISPLAY=:0
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec /etc/X11/Xsession gnome-session</pre>
</li>
<li>Modify the xorg.conf file (`sudo gedit /etc/X11/xorg.conf`):</li>
<ol>
<li>Find `Section &#8220;Device&#8221;</li>
<li>Add `Option &#8220;AddARGBGLXVisuals&#8221; &#8220;True&#8221;`</li>
<li>Should read like
<pre>Section "Device"
Identifier   "NVidia GeForce 7600"
Driver       "nvidia"
Option "AddARGBGLXVisuals" "True"
EndSection</pre>
</li>
</ol>
<li>Drop down to the terminal: [Ctrl] + [Alt] + [F1]</li>
<li>Stop the Xserver: `sudo /etc/init.d/gdm stop`
</li>
<li>Run the NVidia drivers: `sudo /home/<username>/Desktop/NVidia+[Tab]`</username></li>
<li>Go through the installation</li>
<li>Restart the Xserver: `sudo /etc/init.d/gdm restart`</li>
<li>If it doesn&#8217;t automatically take you to the GNOME login, hit [Ctrl] + [Alt] + [F7]</li>
<li>Be sure to choose `Options (or F10) | Select Session | Xgl` before logging in.</li>
<li>You should be able to open a terminal window and run `glxinfo | grep direct` and it should return `direct rendering: yes`.</li>
<li>For fun, run `glxgears` and you should see smooth gear movement.</li>
<li>Now you can run `beryl-manager` (or `Applications | System Tools | Beryl Manager`)</li>
<li>Everything works!
</li>
</ol>

<!-- start wp-tags-to-technorati 1.02 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.roopeshsheth.com/2007/04/14/beryl-working-again/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broken Beryl</title>
		<link>http://www.roopeshsheth.com/2007/04/14/broken-beryl</link>
		<comments>http://www.roopeshsheth.com/2007/04/14/broken-beryl#comments</comments>
		<pubDate>Sat, 14 Apr 2007 13:24:05 +0000</pubDate>
		<dc:creator>Roopesh Sheth</dc:creator>
				<category><![CDATA[Beryl]]></category>

		<guid isPermaLink="false">http://www.roopeshsheth.com/2007/04/14/broken-beryl/</guid>
		<description><![CDATA[After all that, I broke my working Beryl installation. `glxinfo &#124; grep direct` kept telling me `direct rendering: no` and I was on a stupid mission to fix it.]]></description>
			<content:encoded><![CDATA[<p>After all that, I broke my working Beryl installation.  `glxinfo | grep direct` kept telling me `direct rendering: no` and I was on a stupid mission to fix it.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.roopeshsheth.com/2007/04/14/broken-beryl/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beryl running on Ubuntu 6.10 (Edgy)</title>
		<link>http://www.roopeshsheth.com/2007/04/13/beryl-running-on-ubuntu-610-edgy</link>
		<comments>http://www.roopeshsheth.com/2007/04/13/beryl-running-on-ubuntu-610-edgy#comments</comments>
		<pubDate>Fri, 13 Apr 2007 21:42:52 +0000</pubDate>
		<dc:creator>Roopesh Sheth</dc:creator>
				<category><![CDATA[Beryl]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.roopeshsheth.com/2007/04/13/beryl-running-on-ubuntu-610-edgy/</guid>
		<description><![CDATA[I have Beryl running on my Ubuntu installation now. It&#8217;s kinda&#8217; freakin&#8217; awesome. I guess Windows Vista is similar, with Aero, but whatever. This is free, fast, and it rocks. Read on for what I had to do to get Beryl working. First of all, here are the relevant components of my setup: Ubuntu 6.10 [...]]]></description>
			<content:encoded><![CDATA[<p>I have <a href="http://www.beryl-project.org/">Beryl</a> running on <a href="http://www.roopeshsheth.com/category/ubuntu/">my</a> <a href="http://www.ubuntu.com/">Ubuntu</a> installation now.  It&#8217;s kinda&#8217; freakin&#8217; awesome.  I guess Windows Vista is similar, with Aero, but whatever.  This is free, fast, and it rocks.</p>
<p>Read on for what I had to do to get Beryl working.<span id="more-20"></span></p>
<p>First of all, here are the relevant components of my setup:</p>
<ul>
<li>Ubuntu 6.10 (Edgy)</li>
<li>GeForce 7600 PCI-Express (256MB RAM)</li>
<li>20.1&#8243; ViewSonic vx2025wm</li>
<li>2GB RAM</li>
</ul>
<p>First off, there&#8217;s a great <a href="http://wiki.beryl-project.org/wiki/Install_Beryl_on_Ubuntu_Edgy_with_XGL" title="Beryl Installation Guide @ wiki.beryl-project.org" target="_blank">guide posted on the Beryl Project wiki</a>.  Follow those instructions as best you can.</p>
<p>A few things I had to do to get things working, though:</p>
<ol>
<li>Get the latest Nvidia drivers: `sudo apt-get install nvidia-glx`.</li>
<li>Drop to the command line: [Ctrl]+[Alt]+[F1].</li>
<li>Enable the Nvidia drivers: `sudu nvidia-glx-config enable`.</li>
<li>Configure X: sudo dpkg-reconfigure xserver-xorg.</li>
<li>Go through all the questions on xserver configuration.</li>
<li>My monitor&#8217;s max resolution is 1680&#215;1050@60Hz.  I had to edit my Xserver configuration to respect that maximum refresh for that resolution.
<ol>
<li>`sudo vi /etc/X11/xorg.conf`.</li>
<li>Look for `Section &#8220;Screen&#8221;`.</li>
<li>In each `SubSection &#8220;Display&#8221;`, change &#8220;1680&#215;1050&#8243; to &#8220;1680x1050_60&#8243;.</li>
<li>Save the file.</li>
</ol>
</li>
<li>Restart the GNOME display manage: `sudo /etc/init.d/gdm restart`.</li>
<li>You can now go back to the GDM: [Ctrl]+[Alt]+[F7].</li>
<li>Create a script to start XGL on login.  Open a terminal window and enter: `gksudo gedit /usr/local/bin/startxgl.sh`</li>
<li>Put the following in the file and save it:
<pre>#!/bin/sh

/usr/bin/Xgl :1 -fullscreen -ac -br -accel xv:pbuffer -accel glx:pbuffer &amp;

sleep 4

export DISPLAY=:1

cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"

xauth -i add :1 . "$cookie"

exec /etc/X11/Xsession gnome-session</pre>
</li>
<li>Now create the entry on login page:
<ol>
<li>`sudo mkdir /etc/X11/sessions`</li>
<li>`sudo gedit /etc/X11/sessions/xgl.dekstop`</li>
<li>Paste this into the file:
<pre>[Desktop Entry]

Encoding=UTF-8

Name=Xgl

Exec=/usr/local/bin/startxgl.sh

Icon=

Type=Application</pre>
</li>
<li>Save the file.</li>
</ol>
</li>
<li>Reboot</li>
<li>On startup, click Options then Sessions, and you should see &#8220;XGL&#8221; in the list.  Use that session.  Beryl should be working for you!</li>
<li>You should have a Beryl Manager application in your Applications / System Tools menu.  Use that to start Beryl.</li>
</ol>

<!-- start wp-tags-to-technorati 1.02 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.roopeshsheth.com/2007/04/13/beryl-running-on-ubuntu-610-edgy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

