21
submitted 1 day ago* (last edited 1 day ago) by echo@lemmy.ml to c/linux@lemmy.ml

So, for context, I have an HDMI dummy plug that is disabled most of the time, but enabled through command-line to use as a virtual display for game streaming with Sunshine.

In GNOME settings, the display is disabled, and that works just fine. I can enable/disable it at will whenever I want to stream games using the new gdctl utility added in GNOME 48.

I want this “monitor” to be disabled in GDM as well since it keeps trying to use the dummy plug as the default display and I can’t see any of the UI elements and have to type my password in blindly. I’ve copied over my monitor config from /home/user/.config/monitors.xml to /var/lib/gdm/.config/monitors.xml as per the Arch Wiki’s recommendations, but when I log out/reboot, nothing changes on GDM. It still tries to show the password entry UI on the dummy plug and my actual display just shows a gray screen.

I know the configs are different for X11 and wayland, but both GDM and GNOME are running under wayland, so that shouldn’t be the issue.

Any help would be appreciated.

I use Arch btw.

you are viewing a single comment's thread
view the rest of the comments
[-] echo@lemmy.ml 2 points 1 day ago* (last edited 1 day ago)

Yes. Here’s the contents I currently have in /var/lib/gdm/.config/monitors.xml:

<monitors version="2">
  <configuration>
    <layoutmode>physical</layoutmode>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>DP-1</connector>
          <vendor>SAM</vendor>
          <product>Odyssey G93SC</product>
          <serial>HNTW700164</serial>
        </monitorspec>
        <mode>
          <width>5120</width>
          <height>1440</height>
          <rate>239.997</rate>
        </mode>
        <colormode>bt2100</colormode>
      </monitor>
    </logicalmonitor>
    <disabled>
      <monitorspec>
        <connector>HDMI-1</connector>
        <vendor>FUN</vendor>
        <product>Evanlak8K V2</product>
        <serial>0x00006410</serial>
      </monitorspec>
    </disabled>
  </configuration>
</monitors>

The disabled dummy plug is the “Evanlak8K V2” device while my functional monitor is my Samsung Odyssey OLED G9. This config is the same as the one currently running on my GNOME desktop config, but in GDM still defaults to the enabled dummy plug, even with the fixed ownership.

At this point, do you think I should issue a report on GDM’s repository? Maybe the devs there would have more insight

[-] 528491@lemmy.one 1 points 1 day ago* (last edited 23 hours ago)

Does this use any experimental options you enabled in your dconf?

Edit: Kontext: https://gitlab.gnome.org/GNOME/gdm/-/issues/224#note_2271241

[-] EccTM@lemmy.ml 2 points 1 day ago

My monitors.xml has two <configuration> blocks, with the only real difference being that one has <layoutmode>physical</layoutmode> and the second has <layoutmode>logical</layoutmode>. I don't really think that'd be the issue here though, because if the dummy plug is listed as disabled it shouldn't be trying to use it anyway...?

I think you're right in reporting it to the GDM repo, at a minimum someone there will know where to point you towards figuring this out. Maybe the GNOME Mutter repo might be a related stop for this too, seeing that's the part generating the monitors.xml...

The things that are supposed to be simple are always the bits that suck the most!

[-] echo@lemmy.ml 2 points 1 day ago* (last edited 1 day ago)

Very well said. Thank you very much for your help. I wouldn’t have known to check the ownership issues or if GDM were properly running Wayland were it not for your help. I’ll reach out to the GNOME devs on the relevant repositories and see if they might be able to point me in the right direction. Thank you for your time and expertise.

this post was submitted on 15 May 2025
21 points (100.0% liked)

Linux

54200 readers
527 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS