Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425198 - x11-drivers/ati-drivers-12.6 legacy (for >=HD2000 <HD5000 cards) version bump request
Summary: x11-drivers/ati-drivers-12.6 legacy (for >=HD2000 <HD5000 cards) 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: Luca Barbato
URL: http://support.amd.com/us/kbarticles/...
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2012-07-07 22:28 UTC by Manuel Rüger (RETIRED)
Modified: 2012-07-21 21:46 UTC (History)
3 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 Manuel Rüger (RETIRED) gentoo-dev 2012-07-07 22:28:51 UTC
Please add it to the tree

seems to support xorg-server-1.12
http://www.phoronix.com/scan.php?page=news_item&px=MTExMzU

I don't know if it needs a separate package or just a new legacy slot.
Maybe it is also worth to create a news item
Comment 1 Enrico Tagliavini 2012-07-09 07:53:22 UTC
This will not go into main tree. It is a beta. A watermark with "Testing use only" appear when using it. When AMD will release a stable one I will package it.

The only solution is a seprate package imho, different slot means it can be installed at the same time with the non legacy one, and this is false.

If you are in hurry I can attach my ebuild (it works I tested it) for this legacy beta version so you can use it.
Comment 2 mcadoo.chen 2012-07-09 09:16:57 UTC
(In reply to comment #1)
> This will not go into main tree. It is a beta. A watermark with "Testing use
> only" appear when using it. When AMD will release a stable one I will
> package it.
> 
> The only solution is a seprate package imho, different slot means it can be
> installed at the same time with the non legacy one, and this is false.
> 
> If you are in hurry I can attach my ebuild (it works I tested it) for this
> legacy beta version so you can use it.

Hello, I am learning how to write a ebuild file. I would like to get your personal ebuild for legacy. I created too by modifying the ebuild file for 12.6, but I am not sure if I did well. Thank you very much.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-09 10:09:52 UTC
The current 12.6_beta modifies the driver to get rid of the testing watermark.
Comment 4 Enrico Tagliavini 2012-07-09 10:19:19 UTC
(In reply to comment #3)
> The current 12.6_beta modifies the driver to get rid of the testing
> watermark.

I cannot understand what you mean. Who modifies the driver and how? Afaik to get rid of the watermark the /etc/ati/signature file must be valid, and the one shipped with the legacy driver just says "UNSIGNED". What am I missing?
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-09 12:18:53 UTC
I am referring to this code in the ebuild in portage:

	# Get rid of watermark. Oldest known reference:
	# http://phoronix.com/forums/showthread.php?19875-Unsupported-Hardware-watermark
	ebegin "Disabling watermark"
	driver="${MY_BASE_DIR}"/usr/X11R6/${PKG_LIBDIR}/modules/drivers/fglrx_drv.so
	for x in $(objdump -d ${driver}|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do
		sed -i "s/${x}/\x90\x90\x90\x90\x90/g" ${driver} || break 1
	done
	eend $? || die "Disabling watermark failed"
Comment 6 Manuel Rüger (RETIRED) gentoo-dev 2012-07-09 12:28:39 UTC
(In reply to comment #1)
> The only solution is a seprate package imho, different slot means it can be
> installed at the same time with the non legacy one, and this is false.


You could block slot:legacy in slot:0 and vice versa, so no additional package is needed.
Comment 7 Enrico Tagliavini 2012-07-09 13:33:22 UTC
(In reply to comment #5)
> I am referring to this code in the ebuild in portage:

Oh nice. I missed that one. Ok will try it and I will attach the ebuild if working. I will also upload it to X11 overlay if there is no objection against such a beta driver.

Thank you
Comment 8 Enrico Tagliavini 2012-07-09 13:37:02 UTC
(In reply to comment #6)
> You could block slot:legacy in slot:0 and vice versa, so no additional
> package is needed.

True, but it is really a non sense imho. But I guess in this case it makes more sense then a short to live legacy package.... I'm sure AMD will not maintain this driver for long, and anyway in six months I bet xorg-server-1.13 will be stable in gentoo, so it will be impossible to use anyway.

The last word is for the X11 team of course. I will make a legacy slot if no one steps againt this.
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-09 13:50:44 UTC
A legacy slot makes only limited sense if there are no future updates planned. A new name needs to be found anyway (like ati-drivers_12.6_beta_pre897 or similar) and telling legacy hardware users to mask newer versions like in the nvidia guide should be sufficient.
Comment 10 Enrico Tagliavini 2012-07-09 14:17:48 UTC
Ok done as you said and uploaded to X11 overlay.

Cheers
Comment 11 mcadoo.chen 2012-07-09 15:57:43 UTC
(In reply to comment #10)
> Ok done as you said and uploaded to X11 overlay.
> 
> Cheers

Is that the one
"ati-drivers-12.6_beta_pre897.ebuild"
?
Comment 12 Enrico Tagliavini 2012-07-09 19:30:09 UTC
(In reply to comment #11)
> 
> Is that the one
> "ati-drivers-12.6_beta_pre897.ebuild"
> ?

Correct
Comment 13 Fabio Rossi 2012-07-11 20:03:36 UTC
I have successfully tested ati-drivers-12.6_beta_pre897.ebuild, I have added also the do_mmap.patch for kernel 3.5-rc
Comment 14 Fabio Rossi 2012-07-11 20:05:14 UTC
forgot to mention, tested with xorg-server-1.12.2
Comment 15 Enrico Tagliavini 2012-07-16 17:32:26 UTC
(In reply to comment #14)
> forgot to mention, tested with xorg-server-1.12.2

(In reply to comment #13)
> I have successfully tested ati-drivers-12.6_beta_pre897.ebuild, I have added
> also the do_mmap.patch for kernel 3.5-rc

Thank you for both. I just uploaded a version of the ebuild using this patch. This ebuild should go in the main tree ASAP imho. fglrx users with legacy hardware can go with xorg 1.12 with it.

Sorry for the late in the update but I managed to sold the old fglrx powered laptop, and I'm almost ready. I migrated to my new Intel HD 4000 powered lenovo e530, so step up to maintain this driver. I will have no more hardware to test on in a really short time.

Cheers
Comment 16 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-21 21:46:35 UTC
Fixed in CVS.