Bug 203339 - AMDGPU: virtual_display disables physical outputs
Summary: AMDGPU: virtual_display disables physical outputs
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-16 22:51 UTC by Parker Reed
Modified: 2023-03-01 21:02 UTC (History)
6 users (show)

See Also:
Kernel Version: 5.0.7
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Kernel log (260.62 KB, text/plain)
2019-04-16 22:51 UTC, Parker Reed
Details

Description Parker Reed 2019-04-16 22:51:52 UTC
Created attachment 282351 [details]
Kernel log

Unable to tell if this is intended or if caused by a crash.

I have a monitor connected via HDMI. When I use the virtual_display kernel parameter, only the virtual displays show up.

amdgpu.virtual_display=0000:07:00.0,2

Original patchset doesn't mention this usecase.

https://lists.freedesktop.org/archives/amd-gfx/2016-August/001058.html

Kernel log attached shows some crashes related to dce_virtual_crtc
Comment 1 Alex Deucher 2019-04-17 04:05:34 UTC
(In reply to Parker Reed from comment #0)
> 
> I have a monitor connected via HDMI. When I use the virtual_display kernel
> parameter, only the virtual displays show up.

When you enable the virtual display option the real displays are disabled.  That is the intended behavior.  It's not a crash just a warning.
Comment 2 Drath 2020-09-02 15:18:18 UTC
>When you enable the virtual display option the real displays are disabled. 
>That is the intended behavior.

Why, though? Is it necessary part of this functionality or is it just a failsafe?
Comment 3 Alex Deucher 2020-09-02 16:00:19 UTC
(In reply to Drath from comment #2)
> >When you enable the virtual display option the real displays are disabled. 
> >That is the intended behavior.
> 
> Why, though? Is it necessary part of this functionality or is it just a
> failsafe?

It's a lot of work to make them all work together and it has not been implemented.  Plus for he main uses of virtual displays (virtualized GPUs and early bring up and emulation), there is no physical display hardware available or it's not ready to be used.
Comment 4 vita.amaro@gmail.com 2020-10-21 08:57:56 UTC
But what if i need virtual display in order to use it as a second monitor via vnc? There is no way...
Comment 5 Alex Deucher 2020-10-21 12:47:00 UTC
(In reply to vita.amaro@gmail.com from comment #4)
> But what if i need virtual display in order to use it as a second monitor
> via vnc? There is no way...

Patches welcomed.

Note You need to log in before you can comment on or make changes to this bug.