Ok, anyone .. about Hardware Accelerated Linux Desktop. Anyone still have problems ?
ATI, Nvidia etc.
Currently i am writing a lil panel + installer for the ATI drivers ( some extra hardware settings etc. ) + Dual Screen Support ( Since fireglcontrol simply isnt as powerful as the windows version *gg* ) - Gonna be my first GUI Linux Prog written in PB ( So far i ve been a console fool =P )
Infobyte: Got it running ?
btw use Ubuntu 6.06 .. instead of 10..
ps: tell me what driver you have runnign actually:
Tips:
Code: Select all
Section "Device"
Identifier "ATI Technologies, Inc. Radeon RV250 If [Radeon 9000 Pro]"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "AGPMode" "4"
Option "DesktopSetup" "horizontal" # DUAL HEAD!
Option "OpenGLOverlay" "on"
Option "AllowGLXWithComposite" "true"
Option "CenterMode" "off"
EndSection
If theres Driver "vesa" you run completelly ass-slow unaccelerated Video and it means your card is not supported by the OpenSource Drivers ( eg. you need to install the drivers provided by manufacturer ).
If theres "ati" you run the OpenSource ATI driver ( you may also try replacing it with "radeon" if you have an ATI Radeon Card ( Supported up to rv 150 ( tested ).
If you have "nv" in there you run the Opensource Nvidia Driver.
If you have "nvidia" in there you run the Nvidia Hardware accelerated Driver.
If you have "fglrx" in there you run teh ATI Hardware Accelerated Driver.
you can edit /etc/X11/xorg.conf via :
sudo gedit /etc/X11/xorg.conf
or via bare console ( recovery )
joe /etc/X11/xorg.conf
( install paket "joe" in synaptic paket manager )
Joe newbies:
to save a file with joe just use CTRL K + CTRL X
CTRL H shows help.
If you have no picture upon boot you can boot in recovery Mode and edit your file again. To get back into X you can either use "vesa" or "ati" "nv" ( depending what card you have .. vesa should always run but is very slow ).
In recovery mode "startx" starts x for now if you prefer to edit that stuff in a GUI Editor ( gedit etc ).
to get Nvidia accelerated Desktop:
Open synaptic paket manager -> and add the paket:
nvidia-glx ( with dependencies )
if its an older Nvidia like a Riva TNT2 , Geforce 2 etc.
nvidia-glx-legacy
after installing run:
Code: Select all
sudo dpkg-reconfigure xserver-xorg
and select the driver "nvidia" - after completing your settings there
reboot your system via : sudo reboot
After rebooting you should have an Nvidia logo ( you can disable that in xorg.conf via Option ) and accelerated video. To test if you have 3d Support : glxinfo should put out something like this:
Code: Select all
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
ATI:
For ATI Cards select the paket "fglrx-control" + dependencies in Synaptic Paket Manager.
After install run
Code: Select all
sudo dpkg-reconfigure xserver-xorg
and select "fglrx" as driver.
Now reboot your system via : sudo reboot
After restart you should have Acclerated 3d support : try running :
glxgears
if its still very slow check what glxinfo puts out:
look for "Direct Rendering" if that is no you are unlucky and have an RV200 or RV250 chip for this one you will need a lil fix of teh libGL.1.2.so
which you can get here:
http://files.covertprestige.info/important/libGL.so.1.2
copy that into /usr/lib/
via:
Code: Select all
sudo cp /home/Desktop/libGL.so.1.2 /usr/lib/
(provided you downloaded it to desktop...
after this you may use CTRL + ALT + Entf to restart X and you should have 3D Acceleration under X.
if not or you get a hang - try rebooting ( to load new libs and reinitialize 3d hardware )
fireglcontrol - should output your cards name etc now if the driver runs correctly.
For a lil benchmark comparison you can use glxgears via:
Code: Select all
glxgears -iacknowledgethatthistoolisnotabenchmark
an accelerated Linux desktop is suddenly anotehr portion of fun ... =p
like zero cpu load for any graphical stuff suddenly. And blazing fast GUI.
Now all we need is PB4 for Linux <3 ...
Cheers, Thalius