Interlaced resolutions hang the desktop

Christian König christian.koenig at amd.com
Wed Mar 31 07:48:43 UTC 2021


Correct, but a TV is intended for videos only. That's why it implements 
only the lower HDMI standard.

Interlaced transmits only halve the lines with each frame, so a 60Hz 
mode effectively either becomes a 30Hz mode, halving the vertical 
resolution or adaptive motion compensated which the know visual 
artifacts. Depending on what the deinterlacing setting on your TV is.

You could just add a progressive 1920x540 at 60 or 1920x1080 at 30 mode 
manually and would have the same effect with probably better quality. 
See https://de.wikipedia.org/wiki/Deinterlacing for reference.

If you can give us some more information what is happening when the 
system freeze we could try to narrow this down, but we can't spend much 
time on a very specific use case in a driver which is in maintenance mode.

Regards,
Christian.

Am 31.03.21 um 09:21 schrieb Alberto Salvia Novella:
> 24fps is intended for video only. Anything interactive at 24fps, as 
> just moving the mouse around, is extremely choppy.
>
> No way anyone would prefer that over an interlaced resolution or a 
> lower resolution. That is, by far, the worst option.
>
> Just try it on your screen, set it to 24Hz or alike, and tell me your 
> experience. You can't even tell where the mouse is going to go.
>
> On Wed, 31 Mar 2021 at 08:44, Christian König 
> <christian.koenig at amd.com <mailto:christian.koenig at amd.com>> wrote:
>
>     Hi Alberto,
>
>     well a frame rate of 24Hz is perfectly reasonable for a TV and
>     desktop usage.
>
>     This is probably caused by the TVs limited HDMI bandwidth and a
>     refresh rate of 30/25 Hz for the interlaced mode isn't much better
>     either.
>
>     Regards,
>     Christian.
>
>     Am 30.03.21 um 22:59 schrieb Alberto Salvia Novella:
>>     The frame-rate at 24Hz is extremely poor for normal desktop usage.
>>
>>     If the highest resolution, aka 1080p, uses that refresh rate then
>>     the desktop will default to that frame-rate.
>>
>>     Other progressive modes don't exhibit any issue.
>>
>>     On Tue, 30 Mar 2021 at 18:26, Christian König
>>     <christian.koenig at amd.com <mailto:christian.koenig at amd.com>> wrote:
>>
>>         Hi Alberto,
>>
>>>         I think the driver should only support resolutions that are
>>>         *progressive*, but also at least of *50Hz*.
>>
>>         Why do you think so?, the 24Hz resolution seems to be the
>>         native one of the display.
>>
>>         Regards,
>>         Christian.
>>
>>         Am 30.03.21 um 17:37 schrieb Alberto Salvia Novella:
>>>         This is why I'm using interlaced:
>>>
>>>         $ *xrandr*
>>>         Screen 0: minimum 320 x 200, current 1920 x 1080, maximum
>>>         8192 x 8192
>>>         DisplayPort-0 disconnected (normal left inverted right x
>>>         axis y axis)
>>>         HDMI-0 connected primary 1920x1080+0+0 (normal left inverted
>>>         right x axis y axis) 16mm x 9mm
>>>            1920x*1080i*    60.00*+  50.00  59.94
>>>            1920x1080 *24.00*    23.98
>>>            1280x*720*      60.00    50.00  59.94
>>>            1024x768      75.03    70.07    60.00
>>>            832x624       74.55
>>>            800x600       72.19    75.00    60.32  56.25
>>>            720x576       50.00
>>>            720x576i      50.00
>>>            720x480       60.00    59.94
>>>            720x480i      60.00    59.94
>>>            640x480       75.00    72.81    66.67  60.00    59.94
>>>            720x400       70.08
>>>         DVI-0 disconnected (normal left inverted right x axis y axis)
>>>
>>>         I think the driver should only support resolutions that are
>>>         *progressive*, but also at least of *50Hz*.
>>>
>>>         On Tue, 30 Mar 2021 at 15:41, Christian König
>>>         <ckoenig.leichtzumerken at gmail.com
>>>         <mailto:ckoenig.leichtzumerken at gmail.com>> wrote:
>>>
>>>             Mhm, no idea why an interlaced resolution would cause a
>>>             crash. Maybe some miscalculation in the display code.
>>>
>>>             But apart from that if you just connected your PC to a
>>>             TV I also wouldn't recommend using an interlaced
>>>             resolution in the first place.
>>>
>>>             See those resolutions only exists for backward
>>>             compatibility with analog hardware.
>>>
>>>             I think we would just disable those modes instead of
>>>             searching for the bug.
>>>
>>>             Regards,
>>>             Christian.
>>>
>>>             Am 30.03.21 um 11:07 schrieb Alberto Salvia Novella:
>>>>             I guessed so.
>>>>
>>>>             The GPU is a Radeon HD5870, and the screen is an old
>>>>             Telefunken TV (TLFK22LEDPVR1).
>>>>
>>>>             Since my real display got into repair I used this TV
>>>>             meanwhile, and to my surprise it froze the system.
>>>>
>>>>             On Tue, 30 Mar 2021 at 10:15, Christian König
>>>>             <christian.koenig at amd.com
>>>>             <mailto:christian.koenig at amd.com>> wrote:
>>>>
>>>>                 Hi Alberto,
>>>>
>>>>                 well what hardware do you have?
>>>>
>>>>                 Interlaced resolutions are not used any more on
>>>>                 modern hardware, so they
>>>>                 are not well tested.
>>>>
>>>>                 Regards,
>>>>                 Christian.
>>>>
>>>>                 Am 30.03.21 um 10:04 schrieb Alberto Salvia Novella:
>>>>                 > The entire desktop hangs after some minutes when
>>>>                 using the module
>>>>                 > "radeon" with an interlaced resolution.
>>>>                 >
>>>>                 > Easier to trigger by playing a video on Firefox,
>>>>                 at least on kwin_x11.
>>>>                 > Wayland didn't exhibit the problem.
>>>>                 >
>>>>                 > Other display drivers, from different computers I
>>>>                 have tried, didn't
>>>>                 > allow those interlaced resolutions all together.
>>>>                 It seems they know
>>>>                 > there will be problems.
>>>>
>>>>
>>>>             _______________________________________________
>>>>             amd-gfx mailing list
>>>>             amd-gfx at lists.freedesktop.org  <mailto:amd-gfx at lists.freedesktop.org>
>>>>             https://lists.freedesktop.org/mailman/listinfo/amd-gfx  <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Cchristian.koenig%40amd.com%7C9750c0b0074e4c7f68fd08d8f415aaae%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637527721219552783%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=NAMuDs3cBxh0jEeqMF8z%2BvuR%2BogJdps7vNJvHGHZ%2FR0%3D&reserved=0>
>>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20210331/472073e3/attachment-0001.htm>


More information about the amd-gfx mailing list