Re: Xorg hangs on recent snapshots

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Xorg hangs on recent snapshots

Mark Patruck
Hi,

i have the more or less same issue with 6.7-beta, but before
spending money again, i'd like to know if you've found any
solution.

Hardware: (dmesg attached)
---------
- Gigabyte S2H B450 Mainboard
- G.Skill RipJaws DDR-3200 16GB memory
- Ryzen 3200G (Vega graphics)
- new MSI RX560 (Polaris 11) - i need DP output


Problem:
--------
With amdgpu(4) enabled, everything runs fine and smooth for minutes,
sometimes hours (especially if you don't start lots of programs), but
all of a sudden X freezes. That means, you can move your mouse, ssh in,
also top and other programs are still running, but you have to kill -9
X, to get back to business. This only applies for Polaris 11-see Results
below.


Test:
-----
Meanwhile i have found a good test to force the error. Open a two-sided
pdf with mupdf and scroll pretty fast between page1-2. Within 15-45 sec
X hangs - always.


Results:
-------
- 3200G Vega - amdgpu(4) = ok
- 3200G Vega - efifb(4) = ok
- Polaris 11 - amdgpu(4) = randomly hangs
- Polaris 11 - efifb(4) = ok

So, the RX560 (Polaris 11) is involved, but it's still not clear if

- the Polaris 11 is defect
-     - || -     has comp. issues with the memory
-     - || -     has comp. issues with the mainboard
- there are software issues with amdgpu(4)

I know about this thread on freedesktop.org [1], but again...
before buying sth new, i'd like to know about your findings.

Thanks,

        -Mark


[1] https://bugs.freedesktop.org/show_bug.cgi?id=105733#c75


--
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51

https://www.wrapped.cx

dmesg (14K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Xorg hangs on recent snapshots

Martin Pieuchot
Hello Mark,

Thanks for the report.

On 01/05/20(Fri) 16:51, Mark Patruck wrote:
> Problem:
> --------
> With amdgpu(4) enabled, everything runs fine and smooth for minutes,
> sometimes hours (especially if you don't start lots of programs), but
> all of a sudden X freezes. That means, you can move your mouse, ssh in,
> also top and other programs are still running, but you have to kill -9
> X, to get back to business. This only applies for Polaris 11-see Results
> below.

Such 'freeze' is a symptom.  If you can ssh into the machine when that
happens a useful piece of informations would be the output of:

# ps -Sx -Owchan

similarly the output of "ps -S" would show where current threads are
blocking.

Another interesting piece of information would be the output of 'dmesg'
at that given moment.  The kernel might have printed some valuable
informations when something wrong happens.

Maybe /var/log/Xorg.0.log would also contain valuable informations.

These pieces of information might help us pinpoint the underlying
problem.

> [...]
> I know about this thread on freedesktop.org [1], but again...
> before buying sth new, i'd like to know about your findings.
>
> [1] https://bugs.freedesktop.org/show_bug.cgi?id=105733#c75

Do you know if it's the issue you're experiencing?

Reply | Threaded
Open this post in threaded view
|

Re: Xorg hangs on recent snapshots

Mark Patruck
Hi Martin,

On 2020-05-01 17:07, Martin Pieuchot wrote:
> Hello Mark,
>
> Thanks for the report.

        Thanks for your help. Attached you'll find the relevant output.
         Unfortunately, `dmesg` didn't print anything new.

>
> On 01/05/20(Fri) 16:51, Mark Patruck wrote:
>> Problem:
>> --------
>> With amdgpu(4) enabled, everything runs fine and smooth for minutes,
>> sometimes hours (especially if you don't start lots of programs), but
>> all of a sudden X freezes. That means, you can move your mouse, ssh in,
>> also top and other programs are still running, but you have to kill -9
>> X, to get back to business. This only applies for Polaris 11-see Results
>> below.
>
> Such 'freeze' is a symptom.  If you can ssh into the machine when that
> happens a useful piece of informations would be the output of:
>
> # ps -Sx -Owchan
>
> similarly the output of "ps -S" would show where current threads are
> blocking.
>
> Another interesting piece of information would be the output of 'dmesg'
> at that given moment.  The kernel might have printed some valuable
> informations when something wrong happens.
>
> Maybe /var/log/Xorg.0.log would also contain valuable informations.
>
> These pieces of information might help us pinpoint the underlying
> problem.
>
>> [...]
>> I know about this thread on freedesktop.org [1], but again...
>> before buying sth new, i'd like to know about your findings.
>>
>> [1] https://bugs.freedesktop.org/show_bug.cgi?id=105733#c75
>
> Do you know if it's the issue you're experiencing?
>

--
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51

https://www.wrapped.cx

x_freeze_logs (40K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Xorg hangs on recent snapshots

Mark Patruck
In reply to this post by Martin Pieuchot
On 2020-05-01 17:07, Martin Pieuchot wrote:

> Hello Mark,
>
> Thanks for the report.
>
> On 01/05/20(Fri) 16:51, Mark Patruck wrote:
>> Problem:
>> --------
>> With amdgpu(4) enabled, everything runs fine and smooth for minutes,
>> sometimes hours (especially if you don't start lots of programs), but
>> all of a sudden X freezes. That means, you can move your mouse, ssh in,
>> also top and other programs are still running, but you have to kill -9
>> X, to get back to business. This only applies for Polaris 11-see Results
>> below.
>
> Such 'freeze' is a symptom.  If you can ssh into the machine when that
> happens a useful piece of informations would be the output of:
>
> # ps -Sx -Owchan
>
> similarly the output of "ps -S" would show where current threads are
> blocking.
>
> Another interesting piece of information would be the output of 'dmesg'
> at that given moment.  The kernel might have printed some valuable
> informations when something wrong happens.
>
> Maybe /var/log/Xorg.0.log would also contain valuable informations.
>
> These pieces of information might help us pinpoint the underlying
> problem.
>
>> [...]
>> I know about this thread on freedesktop.org [1], but again...
>> before buying sth new, i'd like to know about your findings.
>>
>> [1] https://bugs.freedesktop.org/show_bug.cgi?id=105733#c75
>
> Do you know if it's the issue you're experiencing?

        Missed that one before. It's not 100% identical, as i
        can still kill processes, also a normal 'reboot' or
        'shutdown' via the power button works w/o issues.

--
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51

https://www.wrapped.cx

Reply | Threaded
Open this post in threaded view
|

Re: Xorg hangs on recent snapshots

Mark Patruck
In reply to this post by Mark Patruck
After lots of testing and searching similar issues (which are
already fixed or hardware related), i've switched to a newer
B450 board (MSI) + Ryzen 5 w/o iGPU about one week ago and never
had any hangs/freezes since then. (not even with the two-sided
pdf document).


--
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51

https://www.wrapped.cx