Hosting Unlimited Indonesia

Enabling 3D Desktop on Unsupported X4 Machines

First of all, there would have been no way for me to have come up with this override, so all thanks goes to BoyLinux (Kevin) for providing me the necessary info... I've only made the information a bit more human readable is all.. Thanks Kevin!

Secondly, this howto is written assuming you are using an Nvidia video card. If you have managed to build a third-party driver capable of supporting compiz (3d Desktop), and the original driver as-supplied by Xandros did not support 3d Desktop for your card beforehand, this article may serve as a useful guide.. That being said, I have no such experience with such a card, so this can serve as a guide only.

Before you commit to trying this, please realize this is mega mega beta and things could go bad at any moment... I've had various warnings in the past, BUT THIS TIME I REALLY MEAN IT!!! This could very well be your worst nightmare if you are not prepared beforehand, and neither Xandros nor myself are responsible if you decide to give this a try... We are also not necessarily responsible for helping you if it breaks, so please keep that in mind. If there ever was something that was unsupported, This would be it! I may have written up this howto, but ultimately you are responsible for installing it. If you don't think you are capable of getting yourself out of a bombed X session, I would highly recommend not doing this at all.

OK, so once again, who is this not for?

This is not for people intending to use this on production systems.

This is not for people unwilling to bet it all.

This is not for people who are in a hurry.

This is not for people who decide it's not worth their time to back things up beforehand.

This is not for people using any other form of Linux other than Xandros 4.0 SP1 or Xandros 4.1

This is not a joke.

Other things to consider:

Before I give you any of this info, you must also be aware of what works and what does not work. Its a hassle to change back and forth, so please read this whole article before proceeding.

What appears to work:

Applications like TVTime, Real Player, Xine, and 3d applications that work 'In a Window" along with most if not all standard '2d' apps. 3d apps are considerably slower when 3d Desktop is enabled.

What does not work:

Applications like fullscreen games, LimeWire and changing to a virtual terminal (Using CTRL-Alt-F2 to get to a login prompt, for example). Keeping TVTime 'on top' of other applications is also not possible... If you do any of this very often, this override may not be for you.

Still not intimidated by any of this? Well then, Let's get it Awhnn!

Make sure you have proper access to this article before proceeding, either by printing it up, or by having a spare PC around that can access it.

1. If you are using an Nvidia card, make sure you have at least the 1.0-9629 Nvidia driver installed...

2. Log into each user account that you want 3d Desktop in (excluding root) and type the following command: touch $HOME/.xandros-compiz The dot (.) is important.

3.. As root, type cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak (Note: the 'X" in "X11" is uppercase)

4. Still as root, open the file /etc/X11/xorg.conf, and add the following bold line to the section labled 'Screen":

Quote:
Section "Screen"
so on and so on...
Depth 24
Modes "1920x1200" "1024x768" "800x600" "640x480"
EndSubSection
Option "AddARGBGLXVisuals" "true"
EndSection

5. Next, change the following line in the "Extensions" section of /etc/X11/xorg.conf from 'disable' to 'enable' so it reads as follows:

Quote:
Section "Extensions"
Option "Composite" "Enable"
EndSection

6. Next, as root, open the file /etc/X11/Xsession.d/55xandros-compiz (Again, the 'X" in "X11" and Xsession.d are uppercase) and comment out (put a # before) the following line:"

Quote:
#!/bin/sh
#/usr/sbin/xangetdevices video | egrep -q ".*isAIGLXEnabled.*true.*"
if [ $? -eq 0 -a -f $HOME/.xandros-compiz -a -x /usr/bin/compiz ]; then
export KDEWM=/usr/bin/compiz
fi

That's it! Reboot your computer, and hopefully everything works out okay Smile

I don't recommend it, but you can disable 3d Desktop by going into Launch > Control Center > Display > Video Effects and click 'disable', but if you want to enable it again you have to manually create the .xandros-compiz files and re-edit your xorg.conf file again.

The smarter thing to do is delete or rename the .xandros-compiz file from your home directory when you want to disable it, and then recreate the .xandros-compiz file as shown in step 2. to re enable it.. You don't need to restart X that way, just log off after either deleting/renaming or creating the file and log back in.

If it bombs:

1. Boot your computer into "expert mode', and enter your root password.

2. Type rm /etc/X11/xorg.conf

3. Type mv /etc/X11/xorg.conf.bak /etc/X11/xorg.conf (Again, the 'X" in "X11" is uppercase)

4. Reboot and log in as root.

5. Uncomment the line in file etc/X11/Xsession.d/55xandros-compiz (Remove the # sign).

6. Hopefully things are back to normal.

Enjoy the wiggly goodness!

Subscribe to receive free email updates:

0 Response to "Enabling 3D Desktop on Unsupported X4 Machines"

Posting Komentar