Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365201 - x11-drivers/ati-drivers-11.4 version bump
Summary: x11-drivers/ati-drivers-11.4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo X packagers
URL: http://support.amd.com/us/gpudownload...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-28 13:51 UTC by Carlos Silva
Modified: 2011-05-05 12:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Silva 2011-04-28 13:51:51 UTC
The new stable version has launched. This is no longer a beta version.

Reproducible: Always




Just to remember the importance of this bug, this is the first driver that adds support to laptops with two graphics cards (one being ATI and the other Intel).
Comment 1 Enrico Tagliavini 2011-04-28 16:08:07 UTC
Sorry for the late i was busy at work ;)

I just bumped it to x11 overlay, enjoy :D
Comment 2 Carlos Silva 2011-04-29 17:42:35 UTC
OK, i'm just gonna make a few comments regarding this driver since is the first one that actually loads X on my laptop.

First of all, the ebuild has to be tunned to be able to handle the switching between discrete and integrated graphics card. the driver does this with some linking magic that Gentoo isn't supporting yet. so, I had to manually create the necessary links to it to, at least, start X.

Now, the driver itself really isn't usable (at least on my laptop). Single monitor, it works nicelly. It fails to detect my HDMI port, switching to a VT and back panics, pluging the hdmi monitor while running xorg panics, pluging a vga monitor (the same monitor) panics.

anyway, single monitor seems to work fine, it's all the rest that it's messed up.
Comment 3 Enrico Tagliavini 2011-04-29 17:49:02 UTC
Gentoo should need no tune at all, eselect can switch the opengl library. Maybe a can make a script to do this..... i searched for something like that in the ati package i found nothing..... do you know something about that? do you know how the switch is supposed to work/triggered? I can do such tuning if needed with the appropiate docs of course, unluck i can't test. the intel IGP is disabled by factory on my laptop (luckly for me ;) )

About the bugs of the driver itself (panic switching to tty and so on) you can fill a bug in the upstream bugzilla http://ati.cchtml.com/ . AMD devs looks at it.

Thank you for testing it.
Cheers :)
Comment 4 Eugene Shalygin 2011-05-01 01:57:35 UTC
The version of ati-drivers from commit 
3222020e0e8f16fed4bd2537b339508a5074b1c8
does not build (and install) kernel module
Comment 5 Enrico Tagliavini 2011-05-01 10:08:20 UTC
(In reply to comment #2)
> First of all, the ebuild has to be tunned to be able to handle the switching
> between discrete and integrated graphics card. the driver does this with some
> linking magic that Gentoo isn't supporting yet. so, I had to manually create
> the necessary links to it to, at least, start X.

If you can explain me this with some detail i can do such tuning. I have no idea which symlink needs to be done..... for what i understand eselect opengl set can do what you need without problems...
Comment 6 Enrico Tagliavini 2011-05-01 12:24:18 UTC
(In reply to comment #4)
> The version of ati-drivers from commit 
> 3222020e0e8f16fed4bd2537b339508a5074b1c8
> does not build (and install) kernel module

Should be fixed now, thanks for the report :)
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-05-02 15:43:23 UTC
in CVS.
Comment 8 Carlos Silva 2011-05-05 11:53:41 UTC
I know, that the bug is already closed, but just to show the linking stuff required by the driver...


cd /usr/lib/xorg/modules/extensions
sudo mv libglx.so FGL.renamed.libglx.so
sudo ln -s FGL.renamed.libglx.so  libglx.so

sudo mkdir fglrx
sudo ln -s /usr/lib/fglrx/xorg/modules/extensions/libglx.so
/usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so

ln -s /usr/lib/mesa/libGL.so.1.2 /usr/lib/FGL.renamed.libGL.so.1.2
cd /us/lib/fglrx
sudo cp libGL.so.1.2 fglrx-libGL.so.1.2

sudo ln -s /usr/lib/fglrx/fglrx-libGL.so /usr/lib/libGL.so
sudo ln -s /usr/lib/fglrx/fglrx-libGL.so.1 /usr/lib/libGL.so.1
sudo ln -s /usr/lib/fglrx/fglrx-libGL.so.1.2 /usr/lib/libGL.so.1.2



it was something along those lines what i did to get it to work.
the command line program, aticonfig, makes the switch between ATI's libGL and Intel/Mesa libGL
Comment 9 Enrico Tagliavini 2011-05-05 12:14:53 UTC
Is there a good reason to not use eselect to switch the libgl so? I don't see why aticonfig should be used given we have eselect. But if there is a good reason for this i will do the needed changes to the ebuild :)
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-05-05 12:22:03 UTC
Please open another enhancement bug to discuss integrating the ati-drivers switching into the ebuild.