LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   ATI Radeon 9200 SE IGP U1 - 3D acceleration howto :) (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/ati-radeon-9200-se-igp-u1-3d-acceleration-howto-297228/)

turnovg 03-03-2005 12:53 PM

ATI Radeon 9200 SE IGP320M U1 - 3D acceleration howto :)
 
At last I did it - 3D acceleration on my laptop with ATI IGP 9200 SE U1 video card. So I would like to share my knowledge and be helpful to other people trying to get their video card working in 3D ;)
This info is especially oriented to U1 model cards. Because I've read many pages and I've spent a lot of time reading articles over the net for how to get 3D on ATI 9000 mobility working, even IGP models, but none worked for me.

My laptop is TCM/Medion (model 40200), and here is the output of lspci -vv (as root):

-----------------------------------
0000:01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility U1 (prog-if 00 [VGA])
Subsystem: Rioworks: Unknown device 2029
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 66 (2000ns min), Cache Line Size: 0x10 (64 bytes)
Interrupt: pin A routed to IRQ 10
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=256M]
Region 1: I/O ports at 9000 [size=256]
Region 2: Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [58] AGP version 2.0
Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none>
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
----------------------------------


The manufacturer of my laptop motherboard is "Rioworks". And "VendorID: 1002 - ATI; ProductID: 4336 - Radeon Mobility U1". (Thanks mn_t for the corrections :)

My system is Debian Sarge, but I've also tested Knoppix up to 3.7 and kernels 2.4.27 and 2.6.8 which are Debian defaults. XFree86 4.3 is default too.
I've tried with DRI (latest) and ATI drivers (up to 8.10.19) - no success. Wih fglrx I was getting the error:

---------------------------------
FATAL: Error inserting fglrx (/lib/modules/2.6.8-1-386/misc/fglrx.ko): Invalid module format
---------------------------------

or another error saying: "no such device".


If you want to try the ATI drivers (fglrx) or you DON'T have a video card exactly the same as mine, visit the following page, which is an extremely useful and comprehensive resource for understanding and installing the fglrx drivers, especially for Debian users. The page is often updated too. I also give my thanks to the author who was kind to reply my questions by mail.

http://xoomer.virgilio.it/flavio.sta...installer.html


(Also thanks to all the people helping me with info in the forums. Especially mn_t!)

If you try to find more information with google it is necessary to mention the exact model of your video card, that is "U1".

As far as I understood after many hours (days) reading over the net and trying to get my 3D acceleration working I found pages describing bugs in the XFree86 4.3. There were patches too, but I was lazy enough to read about them :}
After that I found a page in which was described how to make the 3D acceleration on U1 cars working with x.org, DRI and 2.6.9 kernel. And I decided to give it a try. But I wanted to try first something more simple - only installing x.org, because I've read there's a built in DRI 3D support for many video cards, including my model.
So here I'm going to describe it the Debian way - apt-get install :) I'm sure users of other LINUX distributions know their better way to install anything ;)
And so it began:

1. Boot from the Debian Sarge DVD :]

2. Base system install with 2.6.8 kernel. NO XFree86, no KDE.

3. X.org net install using the Ubunto repositories. I got the info from this page:

http://www.digriz.org.uk/t40p-linux/


In case you are not interested reading it, here are the Ubuntu repositories for X.org and DRI (also suitable for Debian Sarge, of course ;)
(For those who are not familiar with Debian: just add the following lines (as root) to the /etc/apt/sources.list file.)

# X.org (Ubuntu Linux) [*must* have /etc/apt/preferences to limit 'damage']
deb http://archive.ubuntu.com/ubuntu/ hoary main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ hoary-security main restricted universe multiverse
#deb http://people.ubuntu.com/~daniels/ xcompmgr/

# DRI
deb http://people.debian.org/~daenzer/dri-trunk-unstable ./
#deb-src http://people.debian.org/~daenzer/dri-trunk-unstable ./


4. X.org (6.8.2.2) installation:

apt-get install xserver-xorg x-window-system-core mdetect xresprobe laptop-detect


I first tried "apt-get install xserver-xorg", but there were other suggested packages too, so I found these ones important.
After a successfull X.org install and 'startx' command I got a message saying there was no window manager :} So:


5. KDE.

apt-get install kde


6. And "startx" again :)

To my surprise I was getting glxgears and glscreensavers working nice :] And also "glxinfo" was showing my video card model and not "GLX Mesa Indirect" :)
Still not believing I've apt-get installed "Tux Racer" and "Chromium" and ran them. There was no mistake - beautifully running 3D games... :]


6. Conclusion:
Yes, the current version of X.org (6.8.22) supports BY DEFAULT 3D via DRI for the IGP video cards. And 100% sure for ATI 9200 SE IGP320M U1 ;) With no patches, no tunning or whatever. Nice and simple :)


Hope this article will spend your time searching the net/experimenting with drivers and make you happy with your hardware 3D acceleration on your LINUX lappy :)

t3gah 04-03-2005 04:03 AM

You should post this in the Linux Tutorials section here at LQ.org

http://www.linuxquestions.org/questions/answers.php


All times are GMT -5. The time now is 01:23 PM.