AMD-GFX Archive on lore.kernel.org
 help / color / Atom feed
* Renoir kernel warnings and crashes with external monitors (DP mst)
@ 2020-06-23  0:23 Qu Wenruo
  2020-06-23  8:22 ` Michel Dänzer
  0 siblings, 1 reply; 3+ messages in thread
From: Qu Wenruo @ 2020-06-23  0:23 UTC (permalink / raw)
  To: amd-gfx

[-- Attachment #1.1.1: Type: text/plain, Size: 2137 bytes --]

Hi guys,

Firstly thanks for the awesome renoir CPUs.

However it looks like there are still some bugs in the Linux support,
especially with external monitors.

My setup:
- Laptop: Lenovo IdeaPad S540 13ARE (Or, Xiaoxin Pro 13 in Chinese market)
  4800U CPU, with 5.7.4 Arch kernel. (Also tried 5.8-rc kernels, even
more crashes)
  The eDP display is 2560x1600 natively, but to cooperate with external
monitors, it's
  set to 1920x1200.
  And under my daily usage, the lid is closed, thus the eDP display
shouldn't be involved.

- Two external monitors connected using USB-c dock
  The dock is HP usb-c dock G4, which uses DP alt mode MST for external
displays.
  So not DisplayLink garbage, and all monitors are handled by Vega
internal GPU.

  Both external displays are 1080P 60hz, so definitely inside the spec
for DP 1.2.

- X11 environment
  xf86-video-amdgpu, along with mesa stack.

With such setup, the kernel boots with warning already related to DP MST:
https://paste.opensuse.org/54293967

Furthermore, under certain GPU load (?), the graphic stack just crashes
completely.

The reproducer is a little complex to setup (involves steam Linux and
CNC remastered collection, which needs to download 15G contents):

- Steam, runtime from Arch repo

- Purchase "Command & Conquer Remastered Collection"

https://store.steampowered.com/app/1213210/Command__Conquer_Remastered_Collection/

- Use Proton 4.11-13
  As Proton 5.x failed to start the game
- Run the game

Then the graphic stack would crash, the external monitors lost signal,
and internal display won't react to any input, have to force shutdown
the system.

Furthermore, if not using the external monitors (disconnected from
dock), the game starts without any problem.
Thus it should be a bug in the MST routine.

The full dmesg (without crash) can be fetched here:
https://paste.opensuse.org/92544722

No call trace for the crash though, if really needed, I could setup
netconsole to try to catch the dying message.

Thanks again for the awesome hardware and the awesome opensource graphic
stack!
Qu


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Renoir kernel warnings and crashes with external monitors (DP mst)
  2020-06-23  0:23 Renoir kernel warnings and crashes with external monitors (DP mst) Qu Wenruo
@ 2020-06-23  8:22 ` Michel Dänzer
  2020-06-23  8:33   ` Qu Wenruo
  0 siblings, 1 reply; 3+ messages in thread
From: Michel Dänzer @ 2020-06-23  8:22 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: amd-gfx

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2020-06-23 2:23 a.m., Qu Wenruo wrote:
> Hi guys,
>
> Firstly thanks for the awesome renoir CPUs.
>
> However it looks like there are still some bugs in the Linux
> support, especially with external monitors.
>
> My setup: - Laptop: Lenovo IdeaPad S540 13ARE (Or, Xiaoxin Pro 13
> in Chinese market) 4800U CPU, with 5.7.4 Arch kernel. (Also tried
> 5.8-rc kernels, even more crashes) The eDP display is 2560x1600
> natively, but to cooperate with external monitors, it's set to
> 1920x1200. And under my daily usage, the lid is closed, thus the
> eDP display shouldn't be involved.
>
> - Two external monitors connected using USB-c dock The dock is HP
> usb-c dock G4, which uses DP alt mode MST for external displays. So
> not DisplayLink garbage, and all monitors are handled by Vega
> internal GPU.
>
> Both external displays are 1080P 60hz, so definitely inside the
> spec for DP 1.2.
>
> - X11 environment xf86-video-amdgpu, along with mesa stack.
>
> With such setup, the kernel boots with warning already related to
> DP MST: https://paste.opensuse.org/54293967

See https://gitlab.freedesktop.org/drm/amd/-/issues/1108 .


- -- 
Earthling Michel Dänzer               |               https://redhat.com
Libre software enthusiast             |             Mesa and X developer
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQSwn681vpFFIZgJURRaga+OatuyAAUCXvG7xQAKCRBaga+Oatuy
AB1/AJ9T5X1/jGCEHH+rG+o62VllX8YyyQCeNS5Dw1ah2QowPtCZPhP+qPuX/V4=
=KZpa
-----END PGP SIGNATURE-----
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Renoir kernel warnings and crashes with external monitors (DP mst)
  2020-06-23  8:22 ` Michel Dänzer
@ 2020-06-23  8:33   ` Qu Wenruo
  0 siblings, 0 replies; 3+ messages in thread
From: Qu Wenruo @ 2020-06-23  8:33 UTC (permalink / raw)
  To: Michel Dänzer; +Cc: amd-gfx

[-- Attachment #1.1.1: Type: text/plain, Size: 1402 bytes --]



On 2020/6/23 下午4:22, Michel Dänzer wrote:
> On 2020-06-23 2:23 a.m., Qu Wenruo wrote:
>> Hi guys,
> 
>> Firstly thanks for the awesome renoir CPUs.
> 
>> However it looks like there are still some bugs in the Linux
>> support, especially with external monitors.
> 
>> My setup: - Laptop: Lenovo IdeaPad S540 13ARE (Or, Xiaoxin Pro 13
>> in Chinese market) 4800U CPU, with 5.7.4 Arch kernel. (Also tried
>> 5.8-rc kernels, even more crashes) The eDP display is 2560x1600
>> natively, but to cooperate with external monitors, it's set to
>> 1920x1200. And under my daily usage, the lid is closed, thus the
>> eDP display shouldn't be involved.
> 
>> - Two external monitors connected using USB-c dock The dock is HP
>> usb-c dock G4, which uses DP alt mode MST for external displays. So
>> not DisplayLink garbage, and all monitors are handled by Vega
>> internal GPU.
> 
>> Both external displays are 1080P 60hz, so definitely inside the
>> spec for DP 1.2.
> 
>> - X11 environment xf86-video-amdgpu, along with mesa stack.
> 
>> With such setup, the kernel boots with warning already related to
>> DP MST: https://paste.opensuse.org/54293967
> 
> See https://gitlab.freedesktop.org/drm/amd/-/issues/1108 .
> 
> 
>
OK, that explains the warning.

Although for the crash I still need to setup netconsole to capture the
dying message though.

Thanks,
Qu


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23  0:23 Renoir kernel warnings and crashes with external monitors (DP mst) Qu Wenruo
2020-06-23  8:22 ` Michel Dänzer
2020-06-23  8:33   ` Qu Wenruo

AMD-GFX Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/amd-gfx/0 amd-gfx/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 amd-gfx amd-gfx/ https://lore.kernel.org/amd-gfx \
		amd-gfx@lists.freedesktop.org
	public-inbox-index amd-gfx

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.freedesktop.lists.amd-gfx


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git