Bug 1212874 - External Monitor on USB-C Docking station AMD Graphics
Summary: External Monitor on USB-C Docking station AMD Graphics
Status: REOPENED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: 64bit openSUSE Tumbleweed
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-30 00:02 UTC by Joel J
Modified: 2024-06-25 17:45 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
tiwai: needinfo? (j.g.joseph4884)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel J 2023-06-30 00:02:42 UTC
Just reinstalled OpenSuse Tumbleweed to see if my install was impacting the external monitor connection on my docking station - Still occurs;

Hardware
* Laptop - Thinkoad E595 | AMD Ryzen 5
* Docking Station - Lenovo 40AS0090US
* External Monitors - 1 High Refresh Rate 1080p (Displayport) & 1 UltraWide 1080p (HDMI)

On Windows - The Laptop displays on all monitors with no issues at the highest refresh rates for both monitors

Been having issues since the start of Kernel 6.0 where I cannot use both my external monitors with my laptop at 1080p. When I keep the laptop plugged into the docking station and let the device sleep, it crashes before it can fully sleep with the cursor still slightly visible on a dark background. If I keep the laptop plugged into the docking station on startup, it crashes right when the loading circle starts to spin above the Tumbleweed logo. Let me know what commands I need to enter to output info to assist the kernel developers
Comment 1 Andreas Stieger 2023-06-30 05:10:00 UTC
Do not touch the priority field unless you are a developer, or use unjustified severities
Comment 2 Takashi Iwai 2023-07-04 07:21:34 UTC
Does the problem persist with the latest 6.4.x kernel in OBS Kernel:stable repo?

If yes, it'd be better to report and track this on the upstream bug tracker, gitlab.freedesktop.org Issues DRM/AMD.  You can put the issue URL here, so that we can keep eyes on it (and eventually help debugging if something needed from the distro side).
Comment 3 Ingo Göppert 2023-07-14 09:29:48 UTC
I have (nearly) the same issue, but it occurred with the update to tw 20230712 (kernel 6.4.2). The external monitor on the docking station stays black. Trying to activate only generates the error "Output failed to be Enabled":
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: RRSetCrtcConfig (enable output) 
>                                                                       Output: 87 ( "DisplayPort-3" ) 
>                                                                       New CRTC: 79 
>                                                                       Pos: QPoint(0,0) 
>                                                                       Mode: KScreen::Mode(Id: "92" , Size: QSize(3440, 1440) @ 99.9816 ) Preferred: "91" 
>                                                                       Rotation: KScreen::Output::None
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: XRandRCrtc  79  m_timestamp update  0  =>  40136
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr:         Result:  3  timestamp:  40136
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: Output failed to be Enabled:  "DisplayPort-3"
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: RRSetOutputPrimary 
>                                                                       New priority: 2
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: RRSetOutputPrimary 
>                                                                       New priority: 0
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: RRSetOutputPrimary 
>                                                                       New priority: 0
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: RRSetOutputPrimary 
>                                                                       New priority: 0
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: RRSetOutputPrimary 
>                                                                       New priority: 0
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: RRSetOutputPrimary 
>                                                                       New priority: 1
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: RRSetOutputPrimary 
>                                                                       New priority: 0
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: Requested screen size is QSize(5360, 1440)
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: Forced to change screen size:  QSize(5360, 1440)
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: RRSetScreenSize 
>                                                                       DPI: 96 
>                                                                       Size: QSize(5360, 1440) 
>                                                                       SizeMM: QSize(1418, 381)
> Jul 14 10:43:23 nb-019-linux kscreen_backend_launcher[3744]: kscreen.xrandr: XRandR::setConfig done!

Looks like it is this https://gitlab.freedesktop.org/drm/amd/-/issues/2671 issue.

With kernel 6.3.9 and 6.3.7 the external display works (6.3.9 is unstable, but that's an other issue).
Comment 5 Takashi Iwai 2023-08-07 10:08:29 UTC
Thanks for the information.  I'll queue the fix patch to TW stable git branch.
Comment 6 Takashi Iwai 2023-08-07 10:21:47 UTC
The TW kernel will included the fix patch later in its update.

I assume that the bug is fixed by that.  Feel free to reopen if the problem isn't fixed even after the TW update kernel containing the supposed fix (see the rpm changelog reference).
Comment 7 Joel J 2023-08-08 00:28:38 UTC
Just reinstalled OpenSuse TW on the AMD Laptop again after the kernel updated.
It's not freezing anymore, but it is refusing to connect to both my external monitors from the docking station even when enabled in KDE Displays (flickers the laptop screen as if it were going to enable the external display, but it does not resolve). I also still have an error when the docking station is plugged in during boot, the keyboard is not allowing me to type in my password nor is the cursor allowing me to select the password blank for text entry.
Comment 8 Takashi Iwai 2023-08-08 06:49:38 UTC
The fix isn't included yet in TW release.  As already mentioned, check the rpm changelog.
And, for verifying whether your problem is as same as Ingo, please test the kernel in comment 4.
Comment 10 Ingo Göppert 2023-08-14 08:19:08 UTC
Latest TW kernel 6.4.9 from today includes the fix.
Comment 11 Joel J 2023-09-03 05:18:39 UTC
Still getting crashes when I try to boot into my system with the docking station plugged in on this laptop. Still crashes when I try to enable both External Monitors on this device plugged into the docking station. My gut feeling it's a part of the AMD Freesync bug that is promised to be fixed in Kernel 6.5 .
Comment 12 Takashi Iwai 2023-09-11 09:32:48 UTC
Could you give the kernel log, as well as hwinfo output from the latest TW snapshot?
Comment 13 Joel J 2023-09-13 15:19:35 UTC
Hey Takashi,

Wanted to ask what is the preferred method of getting that information? Any way I could send it to a text file to paste here?
Comment 14 Takashi Iwai 2023-09-15 09:31:18 UTC
The kernel log can be taken from the output of dmesg command.
Also, you can get from "journalctl -k -b".  Both should run as root.

And, run hwinfo command as root, and get the output, too.

You can *attach* those files on Bugzilla (don't paste on the form!).
There is a section "Attachments" in the upper side of the page.