Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)
i did the things described in this forum, including
* backup my /usr/lib/xorg/modules (using xorg 7.1 the ati_drv.so and atimisc_drv.so compiled by the following packages does not work)
* installing common-20060403-linux.i386 as described
* install the patch "ati_pcigart.zip" as described
* installing mach64-20060403-linux.i386 as described
* trying several xorg-confs.
after that, i still got direct rendering=no
from http://www.bsdforen.de/archive/index.php/t-15135.html i got the hint for using atigetsysteminfo.sh - it summarizes some "cat proc" ..
and reported that the /etc/driconf is missing. i simply installed the following driconf and got my "direct rendering=yes" and much faster glxgears-visuals.
:)
Code:
<driconf>
<device screen="0" driver="radeon">
<application name="all">
<option name="vblank_mode" value="0" />
<option name="hyperz" value="true" />
</application>
</device>
</driconf>
(now i'm working to get a usable googleearth... it still is as slow as before...)
Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)
Quote:
Originally Posted by
alex.bb
Other deb-Package for Ubuntu Gutsy.
(version 6.7.195, simply built from Gutsy-Sources with option --enable-dri)
To use the package add the following line to /etc/apt/sources.list
Code:
deb http://www.bakarasse.de/linux/ubuntu/gutsy ./
and install it:
Code:
apt-get update
apt-get upgrade -u
Get kernel modules (drm and mach64) for kernel 2.6.22-14-generic:
Code:
wget http://www.bakarasse.de/linux/ubuntu/download/mach64-2.6.22-14-generic.tar.gz
copy the kernel modules to /lib/modules/2.6.22-14-generic/kernel/drivers/char/drm/ and set Display Depth to 16 bit (xorg.conf).
after depmod -a restart the X-Server.
Is there a chance you could provide a .deb file and instructions for Hardy? Would be very much appreciated.
Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)
Quote:
Originally Posted by
Stroganoff
Is there a chance you could provide a .deb file and instructions for Hardy? Would be very much appreciated.
As soon as Hardy is released, i will have the possibility to do the .deb packages. Until then please be patient. :popcorn:
Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)
I'm trying to be patient. \\:D/
Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)
How I got DRI to work on my Dell latitude L400 with ubuntu 8.04
My computer has omly 4M of video memory so I had to Modify **Section "Screen"** in xorg.conf to look like this...
sudo gedit /etc/X11/xorg.conf
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x786"
EndSubSection
EndSection
If you want to go back to high resolution change DefaultDepth to 24 and reeboot; but DRI won't work.
Copy and paste these commands in Terminal (use Shift-Ctrl-v to paste in Terminal)
sudo apt-get install linux-headers-generic build-essential
sudo apt-get install autoconf-archive xorg-dev git-core libdrm-dev mesa-common-dev
mkdir src
cd src
git clone git://anongit.freedesktop.org/git/mesa/drm
cd drm/linux-core
make DRM_MODULES="mach64"
sudo cp *.ko /lib/modules/`uname -r`/kernel/drivers/char/drm/
sudo depmod -a
reboot your computer
glxinfo | grep direct
direct rendering: Yes
glxgears
1103 frames in 5.0 seconds = 220.538 FPS
Caution: running DRI applications causes the CPU to heat-up pretty quick.
I installed sensors-applet so I can keep an eye on my CPU temp.
This didn't improve the graphics in the SuperTux video game but it did improve the screensavers.
Next task is to see if I can get Compiz to work.
Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)
Sorry, Stroganoff... All work and no play makes Jack...#-o
It is not necessary to build an ati-driver for Hardy. I suspect, the driver is already compiled with --enable-dri...
You only need to build the kernel-modules:
Code:
sudo apt-get install git-core make gcc
git clone git://anongit.freedesktop.org/git/mesa/drm
cd drm/linux-core
For running kernel:
Code:
sudo apt-get install linux-headers-`uname -r`
make mach64.o
sudo cp *.ko /lib/modules/`uname -r`/kernel/drivers/char/drm/
For other kernel (for example 2.6.24-16-rt):
Code:
sudo apt-get install linux-headers-2.6.24-16-rt
make clean
export LINUXDIR=/usr/src/linux-headers-2.6.24-16-rt/
make mach64.o
sudo cp *.ko /lib/modules/2.6.24-16-rt/kernel/drivers/char/drm/
Here a few Kernel-Modules for download: http://www.bakarasse.de/downloads.html
Here Hardy's xorg.conf with my changes:
Code:
Section "Device"
Identifier "Configured Video Device"
Option "ForcePCIMode" "True"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
EndSection
Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)
Quote:
Originally Posted by
Arch2
How I got DRI to work on my Dell latitude L400 with ubuntu 8.04
My computer has omly 4M of video memory so I had to Modify **Section "Screen"** in xorg.conf to look like this...
I am forever-linux-noob, so I would like to ask, if this tutorial works for Armada E500 graphic card (Ati Technologies Inc Rage Mobility P/M AGP 2x (rev 64), too. You write that you have only 4MB of video memory, so I suppose you have some other version of the graphic card.
Sorry for stupid newbie question, but I am not sure I would be able to restore faulty installation to previous working state.
Anyway, is there some difference between posts #215 and #216. Which one shall I use please?
Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)
I would recommend backing up you system just in case somthing disasterous happens.
I don't know why I have less vedeo RAM I guess it just older.
My how-to should work for you, I don't think you need to change the resolution to 800x600 though.
I general terms what you want to do is change your video color depth to 16 (and in my case reduce the resolution).
Then add a file called mach64.ko to the /lib/modules/2.6.24-16-generic/kernel/drivers/char/drm/ directory. And update the drm.ko file in the same directory. Then depmod -a and reboot.
You may want to back up xorg.conf and drm.ko before starting, just in case you want to undo that part.
I'm not sure what depmod does or how to undo it or if its possible.
The how-to's above compile the mach64.ko and drm.ko from the source code. I noticed alex.bb has a link to files already compiled. So you can just unzip and copy the files to the right directory, if you want to do it that way.
NOTE: The kernel version (i.e. 2.6.24-16-generic) changes quite often (from updates), you can verify it with uname-r in Terminal. You will need to change the directory name accordingly, or you can just use `uname-r` as seen in the how-to's. It automatically figures the version for you.
Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)
Arch2 - huge thanks and respect to you for your post. This got my rage mobility gaphics with direct rendering going a treat. Fantastic! - although I did modify it a bit re the xorg.conf file. I didn't bother with the sub section with different resolutions, just stuck in the line with 16 bit and left everything else the same. Hardy came up with 1024x768 no problem.
cheers!
Re: HOWTO: enable 3d acceleration w/ Rage Mobility (mach64)
I'm having problems getting this to work.
I got the card described in http://ubuntuforums.org/showthread.php?p=4959307 (ATI 3D Rage LT Pro AGP-133).
Should the above instructions by alex.bb apply?
Here's what i did:
1) compiled the .ko modules and copied them to the folder.
2) sudo depmod -a
3) Added the line "DefaultDepth 16" below "Configured Video Device" in /etc/X11/xorg.conf
4) Reboot
Ubuntu came up with an error and in low graphics mode, asking me to configure my graphics card.
Am I doing something wrong? I'm new to this but I see that Ubuntu has a lot of potential on this old machine. Sometimes I wonder why those legacy drivers aren't included out of the box.
I don't need 3D acceleration, just a proper 2D acceleration to play videos (youtube, XviD,...).
Cheers in advance.
Update 1: I don't if it helps but module mach64 wasn't loaded after reboot. I now added it to /etc/modules but it still comes up in low graphics mode.
Some debug output that might help:
Code:
benutzer@linuxkiste:~$ grep -n DRI /var/log/Xorg.0.log
220:(II) Loading extension XFree86-DRI
1692:(II) AIGLX: Screen 0 is not DRI capable
Code:
benutzer@linuxkiste:~$ glxinfo | grep render
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect
Update 2:
I tried moving the DefaultDepth entry to the Screen section but that didn't work either.
Now I removed it and the system boots up as normal - without any 2D or 3D acceleration.
Update 3:
It works! Although only in 800x600 but here I go:
Code:
benutzer@linuxkiste:~$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Mach64 [Rage Pro] 20051019 AGP 2x x86/MMX/SSE
The key was to run "sudo displayconfig-gtk" and to select "Ati Mach64 Utah" as graphics card. Plus the low resolution probably. Will optimize some more, thanks for the great tutorial and other helpful commands!
Update 4: I have a feeling that Hardy doesn't like it if one uses displayconfig-gtk. I can't get it to run on 16bit and with 32bit all that works is 640x480. I guess I'm going back to Windows XP on that machine, without 2D acceleration using that system would be a pain.