Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168333 - x11-drivers/ati-drivers-8.34.8 does NOT have opengl anymore
Summary: x11-drivers/ati-drivers-8.34.8 does NOT have opengl anymore
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-25 15:30 UTC by Massimiliano Adamo
Modified: 2007-02-26 09:04 UTC (History)
0 users

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 Massimiliano Adamo 2007-02-25 15:30:25 UTC
Hi,
up to version 33.6-r1 I was able to use the flag "opengl", and now it's a forbidden flag for this package (enclosed in brackets).
I know it never worked properly, but I was able to use it with XGL server, with very good performances. 
AIGLX perform good with other graphic cards but it's crap with ati-driver, the same happens when using radeon opensource driver: just run a search on internet to validate what I tested and what I am saying.

Is it possible to enable this flag once again?

Reproducible: Always

Steps to Reproduce:
1. install Beryl, XGL and ati-drivers
2. it wont work!


Actual Results:  
not possible to run Beryl, Compiz with XGL server.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 16:40:41 UTC
Eh? The flag has been pretty much bogus, the only part of ebuild which was using it now does the same thing unconditionally without any flag. Sorry, don't understand what are you complaining about here.
Comment 2 Massimiliano Adamo 2007-02-25 17:11:53 UTC
Now opengl has been enclosed in brackets, like this: (-opengl%*)
I wouldn't mind at all about it, but, when I install this version of the driver (only this version) XGL + Beryl does NOT work.
Jakub,
before closing the bug once again, please prove me that I am wrong (ie: run beryl+xgl+this_driver). 

Asking some more information could me more interesting then answering "eh?"

Beryl fails to starts, and switches to metacity. It means that opengl component was required, and now it's not found.

p.s.: don't want to comment your answer "eh?" because I can misintepret it...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 17:15:28 UTC
Just diff those two ebuilds... If something doesn't work for you, then you'll need to post relevant info (such as Xorg.log, other errors and whatnot); it's most certainly not related to the removed use flag.
Comment 4 Massimiliano Adamo 2007-02-25 17:22:07 UTC
I have to mention one thing:
I am using XGL server, coming from a portage overlay, the so-called "xeffects" from svn.gentoo-xeffects.org
Perhaps you may be not aware about requirements of those components, because you just don't have them into portage .....
Now I wonder if you support portage overlay and xgl or not.

I need some time to reinstall the new driver and produce a new Xorg.x.log 
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 17:29:25 UTC
No; we most certainly don't support anything from xeffects overlay.
Comment 6 Massimiliano Adamo 2007-02-25 21:15:24 UTC
would it be a big matter for you re-enabling this flag? I can confirm for sure, that disabling this flag prevent beryl/compiz working with XGL.
Is it possible to force the usage of this flag even if you don't want me to use it :)
Unfortunately this driver is quit bad itself, and this is the only way to get beryl working properly.
If you can't, no problems: just close the bug. I'll download latest drivers from ATI, or avoid further updates of the driver, or try to workaround this issue in any possible way. I do it myself.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 21:17:34 UTC
(In reply to comment #6)
> would it be a big matter for you re-enabling this flag?

That flag did NOT do anything that the current ebuild without the flag wouldn't do now. Already told you once to diff the ebuilds so that you can check yourself.

Reopen once you've posted info useful for debugging the real issue here.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 21:24:20 UTC
Just in case you still don't get it, the below is the whole diff snip relevant to the USE=opengl removal.

diff -Nau ati-drivers-{8.33.6-r2,8.34.8}.ebuild
<snip>
-IUSE="acpi doc opengl qt3"
+IUSE="acpi qt3"

...

-	#Workaround
-	if use opengl; then
-		# Is this necessary? Is this sane? --marienz
-		sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \
-			/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.la \
-			> "${D}"/${ATI_ROOT}/lib/libGL.la
-		# Commented out, just like the extensions one --marienz
-		# dosym ../xorg-x11/include ${ATI_ROOT}/include
-	fi
+	# Is this necessary? Is this sane? --marienz
+	sed -e "s:libdir=.*:libdir=${ATI_ROOT}/lib:" \
+		/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.la \
+		> "${D}"/${ATI_ROOT}/lib/libGL.la
+
+	# Commented out until determined it is necessary --marienz
+	# dosym ../xorg-x11/include ${ATI_ROOT}/include
</snip>
Comment 9 Massimiliano Adamo 2007-02-25 23:13:15 UTC
thanks for that Jakub!! I was unable to catch it with diff, but now I think understood where the problem is:


this is from the old driver 8.33.6-r1:
/usr/$(get_libdir)/opengl/${X11_IMPLEM}/lib/libGL.la

this is from the new driver 8.34.8:
/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.la

In the new driver you are forcing to use xorg-x11 driver.
In the old driver you were allowing to choose either ati opengl or xorg-x11 opengl, by using the variable ${X11_IMPLEM}

Of course I was using ATI implementation, because fglrx + beryl wont work with xorg-x11 implementation.

I think now I can really re-open the bug :)
Comment 10 Massimiliano Adamo 2007-02-25 23:16:35 UTC
yep,
I was not using 8.33.6-r2, but 8.33.6-r1, and only r1 make use of this variable.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 07:09:48 UTC
I've already asked you multiple times you provide the needed info. Don't reopen this bug until you've done so. 
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 07:45:06 UTC
(In reply to comment #9)
> In the new driver you are forcing to use xorg-x11 driver.
> In the old driver you were allowing to choose either ati opengl or xorg-x11
> opengl, by using the variable ${X11_IMPLEM}

Uh... ${X11_IMPLEM} - choose between monolithic/modular-X, not between ATI and mesa opengl. That's what eselect opengl is for, not the ebuild.

# eselect opengl list 
# eselect opengl set <xorg-x11/nvidia/ati/whatever>
Comment 13 Massimiliano Adamo 2007-02-26 08:32:02 UTC
thanks for your patience Jakub,

right now I've reinstalled the driver and during installation I am getting this message:
 * ati tree 'lib' -> 'lib32' on system
sed: can't read /usr/lib32/opengl/xorg-x11/lib/libGL.la: No such file or directory
 * ati tree 'lib64' -> 'lib64' on system

I don't know if it's a cosmetic problem, or if can cause some other problem in 32bit environment.
Next step I'll collect logs and try reopening.

Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 08:39:53 UTC
- Run `MAKEOPTS="-j1" emerge x11-drivers/ati-drivers-8.34.8 &> ati.log` and attach the log here. 
- Also attach /var/log/Xorg.0.log
- post emerge --info 
- post whatever whatever errors you get from beryl (if any)
- post `eselect opengl list` output
- reopen then
Comment 15 Massimiliano Adamo 2007-02-26 08:53:45 UTC
I gave a reboot and everything worked fine.
There was a mismatch with drm (perhaps /dev/dri/card0 needed to be refreshed or something like that)
shame on me! shame on me!
Just let me know if you want to continue with that error message during the installation.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 09:00:57 UTC
(In reply to comment #15)
> I gave a reboot and everything worked fine.
> There was a mismatch with drm (perhaps /dev/dri/card0 needed to be refreshed or
> something like that)
> shame on me! shame on me!

LOL. :-D

> Just let me know if you want to continue with that error message during the
> installation.

Please, file a new bug about that. This one is already messy enough. ;) 

Comment 17 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 09:01:22 UTC
Marking this INVALID, hope you don't mind.