[Bug 111228] PRIME output screen stays black on 1002:15d8 with 128MB VRAM

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 2 07:44:19 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111228

--- Comment #7 from Maik Freudenberg <hhfeuer at gmx.de> ---
Updating with info from other users with the same amd gpu with 128MB VRAM:
- one user was able to switch to VT and start a second Xserver which then
worked fine.
- another user found out that connecting an external monitor would work, was
able to log into gnome and in the monitor manager, the internal display showed
as disabled. So he could simply enable it and started working.

So this seems to be failing on xrandr --auto, not correctly adding the internal
display to the config. Looking what Ubuntu does:
# Pass provider or sink and source
xrandr --setprovideroutputsource "$sink" "$src"

# Make sure xrandr sees all the outputs
xrandr --auto

# Do not move up. Only now xrandr shows the outputs
lvds=$(xrandr | grep -i -e "lvds" -e "edp" | head -n1 |cut -d " " -f 1)
xrandr --output "$lvds" --off
xrandr --output "$lvds" --auto

So it already disables and enables the internal display as a workaround for
something but this still isn't enough in this case.
Maybe this is some timing problem so that adding a "sleep 2" either before or
after xrandr --auto would make that work?

Doesn't explain why this is only happening on this specific model, though.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20191002/faf3bf28/attachment.html>


More information about the dri-devel mailing list