Too high resolution on login screen

I am using Fedora 38 with the GNOME desktop environment and Wayland display server, and I have activated fractional scaling using the command gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"'.

I have set a scaling factor of 150% for my display, as 100% is too small and 200% is too large. While everything is relatively fine, I have noticed that when I reboot my computer, the login screen has a very high resolution as if it’s set to 100%. The resolution only becomes correct after I log in. If I lock my computer, the resolution is fine as well.

Is it possible to scale the login screen to 150%, or if not, can I set it to 200%?"

You may want to set up some default settings for GDM, GDM - ArchWiki

I had to do something similar for the login screen to be on the right monitor.

Welcome to :fedora:

2 Likes

Thank you for your answer!

I’ve seen this example before but, as far as I understand, I need to find monitor.xml file.

Screenshot from 2023-05-30 00-07-47

Seems I don’t have it.

There’s not one in your user directory, ~/.config/monitors.xml ?

It should look something like:

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1.5</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>eDP-1</connector>
          <vendor>CTO</vendor>
          <product>0x1416</product>
          <serial>0x00000000</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1200</height>
          <rate>60.003</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>

I don’t think so. You can see my find output.
Here is another screenshot from .config directory.
Let me know if I do something wrong.

Making a change in gnome-settings → Display should cause that to show up.

You are right! It’s appeared.

And the initial problem is solved!!!

Unfortunately, I’m not sure whether the fix was due to the new file itself or the command I found and executed from the link you provided.
I did not edit the file.

sudo -u gdm dbus-launch gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

Thank you so much!
I am happy! =)

3 Likes

This seems to have done it for me as well - I am using 1.5 fractional scaling on a Framework 13, for reference.

I use many usernames and find that making the configuration apply to the system helpful.