Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199146 - x11-drivers/ati-drivers support for debug output
Summary: x11-drivers/ati-drivers support for debug output
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-14 14:07 UTC by Bernd Steinhauser
Modified: 2007-11-26 15:20 UTC (History)
2 users (show)

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


Attachments
ati-drivers-debug-ebuild.patch (ati-drivers-debug-ebuild.patch,1.08 KB, patch)
2007-11-14 14:09 UTC, Bernd Steinhauser
Details | Diff
ati-drivers-debug.patch (ati-drivers-debug.patch,436 bytes, patch)
2007-11-14 14:11 UTC, Bernd Steinhauser
Details | Diff
ati-drivers-debug-ebuild.patch (ati-drivers-debug-ebuild.patch,519 bytes, patch)
2007-11-22 15:57 UTC, Bernd Steinhauser
Details | Diff
ati-drivers-debug-ebuild.patch (ati-drivers-debug-ebuild.patch,850 bytes, patch)
2007-11-22 16:17 UTC, Bernd Steinhauser
Details | Diff
ati-drivers-debug-ebuild.patch with correct path. (ati-drivers-debug-ebuild.patch,860 bytes, text/plain)
2007-11-24 04:18 UTC, Bernd Steinhauser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Steinhauser 2007-11-14 14:07:51 UTC
Just because I came across this. I've been told for a bug report by an ATI guy to activate debug output. This is done by changing DRM_DEBUG_CODE in the source code.
The attached patch does this, if USE flag debug is activated. I also included a
small info in the ebuild, that it only spits out debugging messages if the kernel
module has been reloaded afterwards.

Patches are against ati-drivers-8.42.3, but they should apply to older ebuild as well.

Reproducible: Always
Comment 1 Bernd Steinhauser 2007-11-14 14:09:36 UTC
Created attachment 135962 [details, diff]
ati-drivers-debug-ebuild.patch

Patch for the ebuild.
Comment 2 Bernd Steinhauser 2007-11-14 14:11:17 UTC
Created attachment 135964 [details, diff]
ati-drivers-debug.patch

Activates debug output in the source code.
I think this can go in ati-drivers/files and doesn't need to go in ati-drivers/files/${PV}
Comment 3 Jory A. Pratt gentoo-dev 2007-11-22 15:23:08 UTC
(In reply to comment #2)
> Created an attachment (id=135964) [edit]
> ati-drivers-debug.patch
> 
> Activates debug output in the source code.
> I think this can go in ati-drivers/files and doesn't need to go in
> ati-drivers/files/${PV}
> 

This can be done via sed no need for the patch. 
Comment 4 Bernd Steinhauser 2007-11-22 15:55:35 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Created an attachment (id=135964) [edit]
> > ati-drivers-debug.patch
> > 
> > Activates debug output in the source code.
> > I think this can go in ati-drivers/files and doesn't need to go in
> > ati-drivers/files/${PV}
> > 
> 
> This can be done via sed no need for the patch. 
> 
True, forgot that.

Comment 5 Bernd Steinhauser 2007-11-22 15:57:47 UTC
Created attachment 136684 [details, diff]
ati-drivers-debug-ebuild.patch

New patch for the ebuild, now using sed, which makes the patch for firegl_public.c obsolete.
Comment 6 Bernd Steinhauser 2007-11-22 16:17:44 UTC
Created attachment 136687 [details, diff]
ati-drivers-debug-ebuild.patch

Sorry, the previous patch wouldn't work, I forgot to put debug in IUSE.
Comment 7 Bernd Steinhauser 2007-11-24 04:18:18 UTC
Created attachment 136847 [details]
ati-drivers-debug-ebuild.patch with correct path.

Corrected path, sorry. ;)
Comment 8 Jeffrey Gardner (RETIRED) gentoo-dev 2007-11-26 15:20:49 UTC
8.433 is in the tree