<div dir="ltr">There's no "xorg.conf" on my system.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 31 Mar 2021 at 20:01, Alex Deucher <<a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Does disabling pageflipping via the xorg.conf help?<br>
<br>
Alex<br>
<br>
On Wed, Mar 31, 2021 at 1:40 PM Christian König<br>
<<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>> wrote:<br>
><br>
> Yeah, agree that must be some kind of bug in the upper layer of the stack.<br>
><br>
> Most likely some userspace component is not handling the specialties of interlacing correctly (different vblank timing every other frame).<br>
><br>
> It probably only works on Intel and after restarting the display manager by coincident.<br>
><br>
> Sorry, but as I said this is a use case which basically nobody is using any more and because of this the different parts of the stack are not tested well enough for this.<br>
><br>
> Christian.<br>
><br>
> Am 31.03.21 um 17:47 schrieb Alberto Salvia Novella:<br>
><br>
> Restarting the display manager service works and, more importantly, makes the bug no longer reproducible.<br>
><br>
> Restarting the window manager doesn't work.<br>
><br>
> Changing display manager makes the bug still reproducible.<br>
><br>
> Maybe this is due to xorg-server, isn't it?<br>
><br>
> On Wed, 31 Mar 2021 at 16:55, Christian König <<a href="mailto:ckoenig.leichtzumerken@gmail.com" target="_blank">ckoenig.leichtzumerken@gmail.com</a>> wrote:<br>
>><br>
>> Well the hardware is working fine as far as I can see.<br>
>><br>
>> Can you try to kill the X server over SSH and see if you then get some screen update?<br>
>><br>
>> Regards,<br>
>> Christian.<br>
>><br>
>> Am 31.03.21 um 16:52 schrieb Alberto Salvia Novella:<br>
>><br>
>> Output.<br>
>><br>
>> On Wed, 31 Mar 2021 at 16:36, Christian König <<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>> wrote:<br>
>>><br>
>>> Mhm strange.<br>
>>><br>
>>> Can you get me the output of "sudo cat /sys/kernel/debug/dri/0/radeon_fence_info" when the problem happens?<br>
>>><br>
>>> Thanks,<br>
>>> Christian.<br>
>>><br>
>>> Am 31.03.21 um 16:33 schrieb Alberto Salvia Novella:<br>
>>><br>
>>> - The computer still replies to ping.<br>
>>> - The journal shows no errors, but a few warnings.<br>
>>> - The mouse doesn't freeze.<br>
>>><br>
>>> On Wed, 31 Mar 2021 at 10:09, Christian König <<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>> wrote:<br>
>>>><br>
>>>> Can you access the system over the network and see if there is anything in the system log?<br>
>>>><br>
>>>> It sounds like the display stack has crashed, but when the sound keeps playing the system is most likely still responsive over network.<br>
>>>><br>
>>>> Thanks,<br>
>>>> Christian.<br>
>>>><br>
>>>> Am 31.03.21 um 10:05 schrieb Alberto Salvia Novella:<br>
>>>><br>
>>>> What happens is this simple: after a few minutes, about 6 or so, the entire content of the screen stays still. In some minor situations only the applications panel of KDE Plasma.<br>
>>>><br>
>>>> If music is playing it continues playing, so only graphics are hung. Yet in most cases the power button won't shut down the computer, as it usually does.<br>
>>>><br>
>>>> At least this is the case using kwin on x11, and not on wayland. It only happens on "radeon" and not on Intel or "radeonhd".<br>
>>>><br>
>>>> On Wed, 31 Mar 2021 at 09:48, Christian König <<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>> wrote:<br>
>>>>><br>
>>>>> Correct, but a TV is intended for videos only. That's why it implements only the lower HDMI standard.<br>
>>>>><br>
>>>>> 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.<br>
>>>>><br>
>>>>> You could just add a progressive 1920x540@60 or 1920x1080@30 mode manually and would have the same effect with probably better quality. See <a href="https://de.wikipedia.org/wiki/Deinterlacing" rel="noreferrer" target="_blank">https://de.wikipedia.org/wiki/Deinterlacing</a> for reference.<br>
>>>>><br>
>>>>> 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.<br>
>>>>><br>
>>>>> Regards,<br>
>>>>> Christian.<br>
>>>>><br>
>>>>> Am 31.03.21 um 09:21 schrieb Alberto Salvia Novella:<br>
>>>>><br>
>>>>> 24fps is intended for video only. Anything interactive at 24fps, as just moving the mouse around, is extremely choppy.<br>
>>>>><br>
>>>>> No way anyone would prefer that over an interlaced resolution or a lower resolution. That is, by far, the worst option.<br>
>>>>><br>
>>>>> 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.<br>
>>>>><br>
>>>>> On Wed, 31 Mar 2021 at 08:44, Christian König <<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>> wrote:<br>
>>>>>><br>
>>>>>> Hi Alberto,<br>
>>>>>><br>
>>>>>> well a frame rate of 24Hz is perfectly reasonable for a TV and desktop usage.<br>
>>>>>><br>
>>>>>> 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.<br>
>>>>>><br>
>>>>>> Regards,<br>
>>>>>> Christian.<br>
>>>>>><br>
>>>>>> Am 30.03.21 um 22:59 schrieb Alberto Salvia Novella:<br>
>>>>>><br>
>>>>>> The frame-rate at 24Hz is extremely poor for normal desktop usage.<br>
>>>>>><br>
>>>>>> If the highest resolution, aka 1080p, uses that refresh rate then the desktop will default to that frame-rate.<br>
>>>>>><br>
>>>>>> Other progressive modes don't exhibit any issue.<br>
>>>>>><br>
>>>>>> On Tue, 30 Mar 2021 at 18:26, Christian König <<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>> wrote:<br>
>>>>>>><br>
>>>>>>> Hi Alberto,<br>
>>>>>>><br>
>>>>>>> I think the driver should only support resolutions that are progressive, but also at least of 50Hz.<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> Why do you think so?, the 24Hz resolution seems to be the native one of the display.<br>
>>>>>>><br>
>>>>>>> Regards,<br>
>>>>>>> Christian.<br>
>>>>>>><br>
>>>>>>> Am 30.03.21 um 17:37 schrieb Alberto Salvia Novella:<br>
>>>>>>><br>
>>>>>>> This is why I'm using interlaced:<br>
>>>>>>><br>
>>>>>>> $ xrandr<br>
>>>>>>> Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192<br>
>>>>>>> DisplayPort-0 disconnected (normal left inverted right x axis y axis)<br>
>>>>>>> HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 16mm x 9mm<br>
>>>>>>> 1920x1080i 60.00*+ 50.00 59.94<br>
>>>>>>> 1920x1080 24.00 23.98<br>
>>>>>>> 1280x720 60.00 50.00 59.94<br>
>>>>>>> 1024x768 75.03 70.07 60.00<br>
>>>>>>> 832x624 74.55<br>
>>>>>>> 800x600 72.19 75.00 60.32 56.25<br>
>>>>>>> 720x576 50.00<br>
>>>>>>> 720x576i 50.00<br>
>>>>>>> 720x480 60.00 59.94<br>
>>>>>>> 720x480i 60.00 59.94<br>
>>>>>>> 640x480 75.00 72.81 66.67 60.00 59.94<br>
>>>>>>> 720x400 70.08<br>
>>>>>>> DVI-0 disconnected (normal left inverted right x axis y axis)<br>
>>>>>>><br>
>>>>>>> I think the driver should only support resolutions that are progressive, but also at least of 50Hz.<br>
>>>>>>><br>
>>>>>>> On Tue, 30 Mar 2021 at 15:41, Christian König <<a href="mailto:ckoenig.leichtzumerken@gmail.com" target="_blank">ckoenig.leichtzumerken@gmail.com</a>> wrote:<br>
>>>>>>>><br>
>>>>>>>> Mhm, no idea why an interlaced resolution would cause a crash. Maybe some miscalculation in the display code.<br>
>>>>>>>><br>
>>>>>>>> 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.<br>
>>>>>>>><br>
>>>>>>>> See those resolutions only exists for backward compatibility with analog hardware.<br>
>>>>>>>><br>
>>>>>>>> I think we would just disable those modes instead of searching for the bug.<br>
>>>>>>>><br>
>>>>>>>> Regards,<br>
>>>>>>>> Christian.<br>
>>>>>>>><br>
>>>>>>>> Am 30.03.21 um 11:07 schrieb Alberto Salvia Novella:<br>
>>>>>>>><br>
>>>>>>>> I guessed so.<br>
>>>>>>>><br>
>>>>>>>> The GPU is a Radeon HD5870, and the screen is an old Telefunken TV (TLFK22LEDPVR1).<br>
>>>>>>>><br>
>>>>>>>> Since my real display got into repair I used this TV meanwhile, and to my surprise it froze the system.<br>
>>>>>>>><br>
>>>>>>>> On Tue, 30 Mar 2021 at 10:15, Christian König <<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>> wrote:<br>
>>>>>>>>><br>
>>>>>>>>> Hi Alberto,<br>
>>>>>>>>><br>
>>>>>>>>> well what hardware do you have?<br>
>>>>>>>>><br>
>>>>>>>>> Interlaced resolutions are not used any more on modern hardware, so they<br>
>>>>>>>>> are not well tested.<br>
>>>>>>>>><br>
>>>>>>>>> Regards,<br>
>>>>>>>>> Christian.<br>
>>>>>>>>><br>
>>>>>>>>> Am 30.03.21 um 10:04 schrieb Alberto Salvia Novella:<br>
>>>>>>>>> > The entire desktop hangs after some minutes when using the module<br>
>>>>>>>>> > "radeon" with an interlaced resolution.<br>
>>>>>>>>> ><br>
>>>>>>>>> > Easier to trigger by playing a video on Firefox, at least on kwin_x11.<br>
>>>>>>>>> > Wayland didn't exhibit the problem.<br>
>>>>>>>>> ><br>
>>>>>>>>> > Other display drivers, from different computers I have tried, didn't<br>
>>>>>>>>> > allow those interlaced resolutions all together. It seems they know<br>
>>>>>>>>> > there will be problems.<br>
>>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> _______________________________________________<br>
>>>>>>>> amd-gfx mailing list<br>
>>>>>>>> <a href="mailto:amd-gfx@lists.freedesktop.org" target="_blank">amd-gfx@lists.freedesktop.org</a><br>
>>>>>>>> <a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>><br>
>>>>>><br>
>>>>><br>
>>>><br>
>>><br>
>><br>
><br>
> _______________________________________________<br>
> amd-gfx mailing list<br>
> <a href="mailto:amd-gfx@lists.freedesktop.org" target="_blank">amd-gfx@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</blockquote></div>