Bug 19231 - allow a patch that makes elder radeon cards UHD ready
Summary: allow a patch that makes elder radeon cards UHD ready
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL: https://www.elstel.org/software/hunt-...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-08-22 12:10 CEST by Elmar Stellnberger
Modified: 2022-11-04 15:51 CET (History)
4 users (show)

See Also:
Source RPM: kernel
CVE:
Status comment:


Attachments
patch introducing radeon.hdmimhz for kernel 4.8.0-rc2 (4.70 KB, text/plain)
2016-08-22 12:11 CEST, Elmar Stellnberger
Details
patch introducing radeon.duallink for kernel 4.8.0-rc2 (optional) (2.53 KB, text/plain)
2016-08-22 12:14 CEST, Elmar Stellnberger
Details

Description Elmar Stellnberger 2016-08-22 12:10:19 CEST
In March I had developed a kernel patch that allows to set the TMDS frequency for radeon cards by a new kernel parameter called radeon.hdmihz if the automatically set frequency stays either behind of what has been advertised for the card or by what is achievable through overclocking. A similar parameter for nvidia/nouveau cards is already available somewhat longer. However up to now the patch has not been accepted into the mainline kernel simply because radeon developers are not encouraged to enable this feature for elder cards by the policy of their sponsors. Here are some of my considerations which you should take into account when deciding about the acceptance of the patch for Mageia 6:

 * the patch is very simple, just a few lines of code
 * behaviour of the kernel is not influenced by the patch except when the user gives a non-zero value for radeon.hdmimhz
 * the patch has already wheathered time; the surrounding code has more or less remained unchanged since March
 * long time usage experience is already available at least with the radeon R5 230 card as well as different monitors; my personal experience with the patch is very good
 * the patch provides a huge advantage at least for all people who still use Core 2 based systems:
   - elder radeon cards can be made UHD ready
   - the R5 230 card supported by the patch may be the only one of its type that has a single slot height - and it has been sold to me as DVI-UHD ready; however this feature can not be exploited without the kernel patch
   - newer radeon cards are often incompatible with elder Core 2 systems
 * at least nouveau developers say that by overclocking your TMDS it would rarely be possible to damage a card; a way of proceeding considered safe can be read in the linked article (unfortunately that one is not as up to date as would be desireable; however when the patch gets accepted by Mageia then I can promise to rework it).
Comment 1 Elmar Stellnberger 2016-08-22 12:11:33 CEST
Created attachment 8362 [details]
patch introducing radeon.hdmimhz for kernel 4.8.0-rc2
Comment 2 Elmar Stellnberger 2016-08-22 12:14:02 CEST
Created attachment 8363 [details]
patch introducing radeon.duallink for kernel 4.8.0-rc2 (optional)

  This patch introduces another kernel parameter called radeon.duallink. It is only taken into account if radeon.hdmimhz is non-zero. The usedfulness of this patch has not been proven yet as I lack respective hardware for testing.
Elmar Stellnberger 2016-08-22 12:14:14 CEST

Target Milestone: --- => Mageia 6

David Walser 2016-08-22 13:56:17 CEST

Component: Release (media or process) => RPM Packages
Source RPM: (none) => kernel
CC: sysadmin-bugs => (none)

Comment 3 Marja Van Waes 2016-08-22 19:39:30 CEST
@ Elmar

Thanks for the patches.


@ Shlomi

Would you be willing to look into this, e.g. when you're starting to work on the kernel 4.8.0-rc2 updates? (I'm starting to get the feeling there's a new kernel everyday ;-) ) 
If so, then please assign to yourself.

If not (and until we can assign to kernel-group or so), then please assign to pkg-bugs@ml.m.o

Thanks :-)

CC: (none) => marja11, shlomif
Keywords: (none) => PATCH

Comment 4 Marja Van Waes 2016-08-25 07:04:24 CEST
Assigning to all packagers collectively, since our registered kernel maintainer went MIA.

(There are two suggested patches attached to this report)

Assignee: bugsquad => pkg-bugs

Comment 5 Marja Van Waes 2016-08-26 09:53:58 CEST
reassigning, now that we have a kernel packagers group

Assignee: pkg-bugs => kernel

Samuel Verschelde 2016-10-10 21:33:07 CEST

Target Milestone: Mageia 6 => ---

Comment 6 Andreas K 2017-01-17 10:09:03 CET
Kudos to Elmar - patch works great on my Archlinux box with Radeon HD6670 and HP E272q (2560x1440@60Hz).


Has it been integrated to Mageia yet? Will it be further maintained, e.g. adapted for Kernel 4.10?

Are there any attempts / chances for the patch to be integrated into mainline?


Kernel 4.10 is on the horizon and I'd like to get in touch with devs and users of the patch because there are not so many places on the internet with the patch mentioned - apart from Elmar's homepage and https://bugs.freedesktop.org/show_bug.cgi?id=93885 (yes, it's me there on comment #24).

CC: (none) => a-v-a-t-a-r

Comment 7 sturmvogel 2022-06-19 12:47:12 CEST
Time goes by...we have already Kernel 5.15 - 5.18 in MGA8 and cauldron MGA9. No development on patch side...

As time goes by also the available hardware changed...

Closing as OLD.

Resolution: (none) => OLD
Status: NEW => RESOLVED

Comment 8 Elmar Stellnberger 2022-06-19 17:22:03 CEST
  The patch was not accepted because someone claimed it could damage the hardware. All lies. As years have gone by these graphics cards are still under daily use with this UHD patch and no damages have ever occured. As this hardware is still in use I am reopening the bug. Someone who knows about it, told it would be highly improbable that this could be detrimental for the hardware. The only fallacy would be that the screen shows black on a too high TMDS and nobody would ever continue to run the graphics card with a TMDS that yields a black screen. As distributors and kernel developers still support Pentium IV hardware I am reopening this bug. This is about Core 2 aged hardware which is totally sufficient for UHD/desktop computers. I would never give up my Xi3650 machines because they are ultimately silent, something you don´t get with a newer computer.

Status: RESOLVED => REOPENED
Resolution: OLD => (none)

Comment 9 Elmar Stellnberger 2022-06-19 17:23:50 CEST
Ohh, I thought this was the report for the mainline kernel. My apologies. The patch is still in the Mageia kernel, isn´t it?
Comment 10 sturmvogel 2022-06-19 20:06:01 CEST
As far i can see this patch was never in the Mageia kernel. As your request was rejected upstream (nobody wants to support a patch which operates hardware outside of their designed specs) and the bug was closed, why should Mageia apply the patch only for you?
Comment 11 Elmar Stellnberger 2022-06-19 20:22:04 CEST
I am not really sure, but I can remember having tested it with Mageia on one of my notebooks. At least it is still written in my article at https://www.elstel.org/software/hunt-for-4K-UHD-2160p.html.en that the patch is in the Mageia kernel and I have also never heard anyone telling me it isn´t. At least I can not remember why I would have written so, for else. If it isn´t there I will have to remove this quite quickly. There is nothing worse than no reaction on multiple tests with different parameters.
Comment 12 Elmar Stellnberger 2022-06-19 20:24:58 CEST
There are many more people who have spoken up in favour of the patch at the kernel bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=172421
Comment 13 sturmvogel 2022-06-19 20:40:04 CEST
cc'ing Thomas to give some valid input

CC: (none) => tmb

Comment 14 sturmvogel 2022-11-04 15:51:51 CET
Closing this finally as WONTFIX.

Reasons for this:
- The kernel developers didn't accept your patch because you want to operate hardware outside of validated specs
https://bugzilla.kernel.org/show_bug.cgi?id=172421

- The Xorg developers didn't accept your patch because you want to operate hardware outside of validated specs
https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/issues/153

- openSUSE rejected your patch because you want to operate hardware outside of validated specs and your patch wasn't accepted at upstream kernel
https://bugzilla.opensuse.org/show_bug.cgi?id=1120414

- Fedora rejected your patch as it was not accepted at upstream kernel
https://bugzilla.redhat.com/show_bug.cgi?id=1662754

All of the above mentioned reasons also apply for Mageia.

Resolution: (none) => WONTFIX
Status: REOPENED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.