Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188990 - media-tv/mythtv on fglrx gives blue, smurf-like image
Summary: media-tv/mythtv on fglrx gives blue, smurf-like image
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Doug Goldstein (RETIRED)
URL: http://www.mythtv.org/wiki/index.php/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-15 13:32 UTC by Niels Laukens
Modified: 2007-08-15 21:54 UTC (History)
1 user (show)

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


Attachments
patch to activate the fglrx-hack (mythtv-fglrxhack.patch,441 bytes, patch)
2007-08-15 13:34 UTC, Niels Laukens
Details | Diff
adapted mythtv-0.20.1_p13344 ebuild (mythtv-0.20.1_p13344.ebuild,8.12 KB, text/plain)
2007-08-15 13:35 UTC, Niels Laukens
Details
diff from the original ebuild to the adapted one (diff,965 bytes, patch)
2007-08-15 13:37 UTC, Niels Laukens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Niels Laukens 2007-08-15 13:32:55 UTC
On some ATI-cards with the FGLRX driver, mythtv shows a blue, smurf-like image. Basically it switches the red and blue color channel.
This is a known issue (see URL) and has a fix (see URL)

This ebuild-patch and patch-file makes this hack into a USE-flag.

Reproducible: Always

Steps to Reproduce:
1. find and install an ATI Radeon X1650 (others seem to have the same problem)
2. install mythtv
3. watch whatever

Actual Results:  
Strange colors, people look like smurfs

Expected Results:  
good colors!
Comment 1 Niels Laukens 2007-08-15 13:34:19 UTC
Created attachment 128164 [details, diff]
patch to activate the fglrx-hack

should be in portage/media-tv/mythtv/files
Comment 2 Niels Laukens 2007-08-15 13:35:02 UTC
Created attachment 128166 [details]
adapted mythtv-0.20.1_p13344 ebuild
Comment 3 Niels Laukens 2007-08-15 13:37:33 UTC
Created attachment 128172 [details, diff]
diff from the original ebuild to the adapted one
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2007-08-15 13:58:37 UTC
As per MythTV upstream policy, they won't suppose any Gentoo users if we apply patches that are not approved by them. As such, this patch would need to get at least mentioned in a MythTV ticket and referenced here, along with some sort of MythTV developer support.

Additionally, it's typically frowned upon by Gentoo policy to have conditional patches based on USE flags, especially cryptic ones such as fglrxhack. How is a user other then you suppose to know when/how to enable that? No matter how descriptive the use.local.desc is.

Furthermore, ATI cards are just plain not officially supported with MythTV and not even recommended to be used. Prior to building a MythTV box it's always recommended to browse their recommended hardware list. You will see ATI cards are not recommended, this is primarily because ATI themselves states that there are known issues with their cards and they are not supported on MythTV.

http://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&questionID=26907

This is going to be something you're going to have to keep in your own personal overlay.
Comment 5 Niels Laukens 2007-08-15 14:06:06 UTC
> As per MythTV upstream policy, they won't suppose any Gentoo users if we apply
> patches that are not approved by them. As such, this patch would need to get at
> least mentioned in a MythTV ticket and referenced here, along with some sort of
> MythTV developer support.
I DON'T agree on this. If look at my patch, you'll see that the only thing it does is to uncomment the "#define USE_ATI_PROPRIETARY_DRIVER_XVIDEO_HACK" line that is already in the official code. So this hardly qualifies as a "patch". I could just as well add a -D option to the compile-phase.

> Additionally, it's typically frowned upon by Gentoo policy to have conditional
> patches based on USE flags, especially cryptic ones such as fglrxhack. How is a
> user other then you suppose to know when/how to enable that? No matter how
> descriptive the use.local.desc is.
Ok, you have a point there. Actually I just wanted to publish my modified ebuild so others could just use it without the need to write it themselves.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2007-08-15 14:27:55 UTC
(In reply to comment #5)
> > As per MythTV upstream policy, they won't suppose any Gentoo users if we apply
> > patches that are not approved by them. As such, this patch would need to get at
> > least mentioned in a MythTV ticket and referenced here, along with some sort of
> > MythTV developer support.
> I DON'T agree on this. If look at my patch, you'll see that the only thing it
> does is to uncomment the "#define USE_ATI_PROPRIETARY_DRIVER_XVIDEO_HACK" line
> that is already in the official code. So this hardly qualifies as a "patch". I
> could just as well add a -D option to the compile-phase.
> 

And it's still a hack that changes their shipping sources. They have been upset about one line changes before that did less then this hack, so I don't care what you agree or disagree with, the fact is that upstream does not want their sources modified without being told about it, and then they need to give it a nod of approval.

Clearly they haven't given the hack the nod of approval for full time use because then it would always be enabled.
Comment 7 Steve Dibb (RETIRED) gentoo-dev 2007-08-15 15:09:29 UTC
 
> > Additionally, it's typically frowned upon by Gentoo policy to have conditional
> > patches based on USE flags, especially cryptic ones such as fglrxhack. How is a
> > user other then you suppose to know when/how to enable that? No matter how
> > descriptive the use.local.desc is.
> Ok, you have a point there. Actually I just wanted to publish my modified
> ebuild so others could just use it without the need to write it themselves.
> 

Thanks, Niels. ++
Comment 8 Niels Laukens 2007-08-15 21:54:40 UTC
(in reply to comment #6)
> Clearly they haven't given the hack the nod of approval for full time use
> because then it would always be enabled.
No, because that would make every other card smurf-like

but whatever; don't commit this patch to the portage tree, just leave it here for people to find