Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
Thread Tools Display Modes
Old November 30th, 2006   #1
]Nbx*cmD[
Way Too Much Ubuntu
 
]Nbx*cmD['s Avatar
 
Join Date: Jan 2006
Beans: 226
Ubuntu 7.10 Gutsy Gibbon
Lightbulb HOWTO: 3D acceleration (direct rendering) in ATI radeon mobility U1 (IGP 320m)

Hi all,

I've got a Fujitsu Siemens Amilo A laptop with an ATI radeon mobility IGP 320 graphics card, also called U1.

People who owns this computer, or other laptops using the same card, will for sure know how weird it is and how difficult is to get it working with direct rendering.

Well, I've been looking up during months on hundreds of forums, mailing lists and IRC channels without coming up to a solution. The main problem with this laptop is that, if I understood well, it uses the same IRQ (irq 11) for different devices, resulting in a system crash when you try to configure the 3d acceleration.

I've found a pretty difficult solution for it in an amilo gnu/linux users mailing list, consisting in modifying the DSDT-table. For getting it to work you have to modify the kernel source code and compile it again, but I'm a very lazy person and I prefered to go on with the research.

Well, I'll stop talking about pseudo-solutions and go straight to the subject. Here you are a VERY EASY HOWTO for getting your U1 direct rendering enabled and being able to play Quake III for hours

Only four steps, since the fifth one is just checking everything worked:

  • FIRST STEP: Downloading the Alternate Install CD

    Download the Alternate Ubuntu Edgy Eft Install CD from the official Ubuntu website. You can find it here: DOWNLOAD

  • SECOND STEP: Installing Ubuntu Edgy Eft

    Just burn the ISO and boot the cd in your laptop cd tray.

    Choose the text-mode install and follow the instructions carefully.

  • THIRD STEP: Booting Ubuntu Edgy Eft on recovery mode

    Once the installation finished, your computer will reboot and you'll have some seconds to press the ESC key and enter grub.

    Choose the RECOVERY MODE boot method.

  • FOURTH STEP: Adding a flag to grub's menu.lst config file

    Type the following in the terminal:

    Code:
    sudo vi /boot/grub/menu.lst
    Change vi for your favourite text-mode editor, if you haven't realized yet that vi is simply the best one

    Go to the section looking similar to:

    Code:
    title           Ubuntu, kernel 2.6.15-26-386
    root            (hd0,0)
    kernel          /boot/vmlinuz-2.6.15-26-386 root=/dev/hda1 ro quiet splash
    initrd          /boot/initrd.img-2.6.15-26-386
    savedefault
    boot
    And change the kernel line as following:

    Code:
    kernel          /boot/vmlinuz-2.6.15-26-386 root=/dev/hda1 ro quiet splash irqpoll
    So, add the irqpoll parameter.

    /* For spanish and catalan speakers, irqpoll will solve your IRQPOLLo (bad joke, you're lucky if you didn't understand) */

    Ok, all done. Just <esc> :wq (or write the changes and exit from your favourite editor) and reboot your machine:

    Code:
    sudo reboot
  • FIFTH STEP: Feeling very happy and installing Quake III immediately

    If you are as lucky as me, once your laptop rebooted, you'll be able to use direct rendering!

    You can test it by typing the following command in a console:

    Code:
    glxinfo | grep direct
    And you should get a line similar to the following one:

    Code:
    direct rendering= Yes

That's all, easy isn't it?

In the kernel docs you can read 'The "irqpoll" boot parameter reduces driver initialization failures'.

Hope it worked!
__________________
RatPoison - Say GoodBye to the Rodent

Official Homepage
Ratpoison Wiki

Last edited by ]Nbx*cmD[; November 30th, 2006 at 03:28 PM.. Reason: misstyped flxinfo for glxinfo
]Nbx*cmD[ is offline   Reply With Quote
Old December 1st, 2006   #2
Anthem
A Carafe of Ubuntu
 
Anthem's Avatar
 
Join Date: Apr 2005
Beans: 129
Re: HOWTO: 3D acceleration (direct rendering) in ATI radeon mobility U1 (IGP 320m)

Amazing work, I look forward to trying this.

Have you tried using Compiz/Beryl with this yet?

EDIT: Does this use the open-source radeon driver?
Anthem is offline   Reply With Quote
Old December 1st, 2006   #3
]Nbx*cmD[
Way Too Much Ubuntu
 
]Nbx*cmD['s Avatar
 
Join Date: Jan 2006
Beans: 226
Ubuntu 7.10 Gutsy Gibbon
Re: HOWTO: 3D acceleration (direct rendering) in ATI radeon mobility U1 (IGP 320m)

I didn't try beryl, I just think if it's working... don't touch it

I don't exactly know which driver is it using, it's just the ati driver coming with ubuntu.

Oh btw I found out some "collateral effects" resulting in system crashes... you have to think you are ignoring some irq issues...

Anyway, I'm gonna put two entries in my grub, one using irqpoll and the other not using it, so I can choose when I want 3D and when I don't.

See you!
__________________
RatPoison - Say GoodBye to the Rodent

Official Homepage
Ratpoison Wiki
]Nbx*cmD[ is offline   Reply With Quote
Old December 3rd, 2006   #4
z!cHz@cH
5 Cups of Ubuntu
 
Join Date: Aug 2005
Location: Holland
Beans: 26
Re: HOWTO: 3D acceleration (direct rendering) in ATI radeon mobility U1 (IGP 320m)



People who have problems with their 320/340m card; this solves a lot of problems!!

This also works for Fedora!

Thanks a lot for the good work ]Nbx*cmD[
z!cHz@cH is offline   Reply With Quote
Old December 12th, 2006   #5
rlynch
Just Give Me the Beans!
 
Join Date: Jul 2006
Beans: 78
Re: HOWTO: 3D acceleration (direct rendering) in ATI radeon mobility U1 (IGP 320m)

Anthem, did this solve your issue? I know you have the same card as I do. . .


z!cHz@cH, did this work with beryl?


EDIT, do I have to do a 'text mode install'?

Anthem, edgy uses the propriety(sp)drivers, which normally breaks when i boot, but this walkthrough says to add that parameter in grub, which if it works would turn out to be quite nice.

Looks like I have something to do tomorrow.


EDIT2 - and just to be sure, in your Xorg.conf file it identifies your video card as this correct?
Quote:
Identifier "ATI Technologies, Inc. Radeon 320M (RS200 IGP)"

Last edited by rlynch; December 12th, 2006 at 02:55 PM..
rlynch is offline   Reply With Quote
Old December 12th, 2006   #6
rlynch
Just Give Me the Beans!
 
Join Date: Jul 2006
Beans: 78
Re: HOWTO: 3D acceleration (direct rendering) in ATI radeon mobility U1 (IGP 320m)

this did nothing for me. . .but then again i couldnt even get it to install with the alternate install cd. it kept freezing on differnt parts, used 2 freshly burned cds, both passing the integrity checks, so i dunno.

I grabbed the edgy desktop i386, burned it, and installed it that way. setup my xorg.conf to use 'flglx' driver, instead of ati. did your irqpoll kernel parameter, and rebooted, it scrolled a 'irq too many/much' something or another, then gave me the 'cant load xorg' error that it always does.


odd thing is when i do that command it's already showing that direct acceleration is running(even before the install on my last one as well)
but i know 3d accel isn't working, cause anything 3d just runs down my processor resources.

so then again, i dunno
rlynch is offline   Reply With Quote
Old December 13th, 2006   #7
rlynch
Just Give Me the Beans!
 
Join Date: Jul 2006
Beans: 78
Re: HOWTO: 3D acceleration (direct rendering) in ATI radeon mobility U1 (IGP 320m)

so, i found an older version of xorg by default supports the IGP chipset

http://forums.fedoraforum.org/showthread.php?t=1740

there is where i found them takling about it for fedora. . .im running edgy now, any idea on how to revert back to xorg vers 6.8?
rlynch is offline   Reply With Quote
Old December 14th, 2006   #8
]Nbx*cmD[
Way Too Much Ubuntu
 
]Nbx*cmD['s Avatar
 
Join Date: Jan 2006
Beans: 226
Ubuntu 7.10 Gutsy Gibbon
Re: HOWTO: 3D acceleration (direct rendering) in ATI radeon mobility U1 (IGP 320m)

Hi,

I've read about this solution as well... the way to revert back to x.org-6.8 is by removing your current one and then installing the old 6.8...
__________________
RatPoison - Say GoodBye to the Rodent

Official Homepage
Ratpoison Wiki
]Nbx*cmD[ is offline   Reply With Quote
Old December 14th, 2006   #9
rlynch
Just Give Me the Beans!
 
Join Date: Jul 2006
Beans: 78
Re: HOWTO: 3D acceleration (direct rendering) in ATI radeon mobility U1 (IGP 320m)

I dunno enough to do this, hence why I asked.

I dunno if I should add the --purge command, where to get 6.8, etc
rlynch is offline   Reply With Quote
Old December 14th, 2006   #10
]Nbx*cmD[
Way Too Much Ubuntu
 
]Nbx*cmD['s Avatar
 
Join Date: Jan 2006
Beans: 226
Ubuntu 7.10 Gutsy Gibbon
Re: HOWTO: 3D acceleration (direct rendering) in ATI radeon mobility U1 (IGP 320m)

Well...

I warn you you'll have to do all this from the console in text mode (tty), and it may require some x.org knowledge... You can break your system by trying this so... i'm not responsible of your acts hehehe

I guess the way to do it is: (it should work, but i didn't try it)

1 · Add an x.org-6.8 repository to sources.list, these commands will do it automatically:

Code:
 
sudo echo "deb http://debian.linux-systeme.com unstable main" >> /etc/apt/sources.list
sudo echo "deb-src http://debian.linux-systeme.com unstable main" >> /etc/apt/sources.list
2 · Comment ALL THE LINES but the last two ones in your sources.list. Just add a # at the line starting. You can do it by using your favourite text editor.

3 · From a tty, remove your current x.org

Code:
sudo apt-get remove xserver-xorg xserver-xorg-core
Apt will ask for your confirmation to erase LOTS of packages, say yes

4 · Install the old X.org-6.8

Code:
sudo apt-get install xserver-xorg xserver-xorg-core
I guess it'll ask for your confirmation to install lots of packages now... say yes again.

5 · Reboot and pray

Hope it helped... and hope you made a backup of your important configs and so
__________________
RatPoison - Say GoodBye to the Rodent

Official Homepage
Ratpoison Wiki
]Nbx*cmD[ is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:59 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry