Screen resolution or window/font/icon scaling messed up after yesterday's update (12/23/2024)

Happy holidays everyone!

I got a nice Christmas present from EndeavourOS :wink:

Despite me doing updates every couple of days I suddenly had over 100 updates popping up yesterday. I think a lot of them where python related as well as xfce stuff. (Unfortunately I didn’t take a closer look). The update went fine and I shut my machine down.
This morning when I started it again and logged in, my resolution suddenly is messed up.
The Display program tells me it’s at the normal 2560x1600 (16:10), but the relation of the window and font sizes is completely of.
E.g., I had my terminal setup that when I start its window takes up about half of my screen (it almost went to the middle sideways and almost to the bottom (125 columns x 65 rows).
Now when I open it the terminal windows almost covers the whole screen sideways and doesn’t show all rows, so after a few lines of printouts my promt disappears to the bottom lines of the terminal that are not displayed on screen anymore.
Also all fonts and icons are really big, so that in comparison it shows much less text in the browser now for example and the EndeavourOS menu only showed four items or so.

My first thought was to play around with the resolution setting in the Display menu, but somehow all the other resolutions I had before are gone and it only has the above mentioned one.
So I played with the Scale setting and when I had it at 0.5 the window and font sizes almost matched again, but the icons and mouse pointer where so small that I barely could see them anymore.

Then I tried to install the lts kernel, since I thought maybe I got a new kernel or nvidia driver and they don’t get along anymore, but couldn’t even boot into that system (it just stopped with a blinking white cursor on black nothing).

So I went back to the regular system which still booted. There I tried to install an older nvidia driver via sudo downgrade nvidia. In its menu I went up two lines and selected nvidia-565.77-7.
That install seemed to fail though, since the last lines of the output where:

==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
(4/4) Cleaning pacman cache...
==> no candidate packages found for pruning
add nvidia to IgnorePkg? [y/N] 

Rebooting confirmed this, since I know also got the blinking cursor on black background. Luckily, I was able to switch to a terminal and then run sudo pacman -S nvidia-dkms, because I read somewhere on an arch page that this nvidia-dkms is supposed to work with the normal and lts kernels.
After that I was able to login into this system again (with the messed up resolution or font/icon/window sizes).
When I reinstalled nvidia-dkms-565.77-2 I saw some lines in the output that might have something to do with my issue though:

==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '6.12.6-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'xhci_pci_renesas'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'

Could these missing nvidia modules or the missing consolefont have something to do with my issue?

In similar threads I saw people asking for xrandr and inxi outputs so I am going to provide them here.

xrandar

$ xrandr 
Screen 0: minimum 8 x 8, current 5120 x 3200, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-4 connected 5120x3200+0+0 (normal left inverted right x axis y axis) 16mm x 10mm
   2560x1600     60.01 + 165.02*

inxi

$ inxi -G
Graphics:
  Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] driver: nvidia
    v: 565.77
  Device-2: Chicony Integrated Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.15 driver: X: loaded: nvidia
    unloaded: modesetting gpu: nvidia,nvidia-nvswitch resolution: 5120x3200
  API: EGL v: 1.5 drivers: nvidia platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 renderer: NVIDIA GeForce
    RTX 3070 Laptop GPU/PCIe/SSE2

Any tips on what I should check on to solve this resolution or scaling issue would be much appreciated.

Thanks,
Marcel

I’m experiencing the exact same issue.
Ran a yay to update everything, and now it’s as if I’m “zoomed in” everywhere.
Scale is still set to “1”, and resolution is correctly set to “1920x1080”, as per usual.

$ inxi -G
Graphics:
  Device-1: NVIDIA GM204M [GeForce GTX 980M] driver: nvidia v: 565.77
  Device-2: Bison BisonCam NB Pro driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.15 driver: X: loaded: nvidia
    unloaded: modesetting gpu: nvidia,nvidia-nvswitch resolution: 1: N/A
    2: 1920x1080 3: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: nvidia platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 renderer: NVIDIA GeForce
    GTX 980M/PCIe/SSE2
$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
HDMI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 521mm x 293mm
   1920x1080     60.00*+  60.00    59.94    50.00    29.97    25.00    23.98    60.05    60.00    50.04  
   1440x900     119.85  
   1280x1024    119.96    75.02    60.02  
   1280x720      60.00    59.94    50.00  
   1024x768     119.99    75.03    60.00  
   800x600      119.97    75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480      120.01    75.00    59.94    59.93  
DP-0 connected (normal left inverted right x axis y axis)
   1920x1080     60.02 +
DP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00 + 144.00   119.98    99.93*   84.90    59.94    50.00  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93

Starting to wonder if this is related to the recent xfce4 release.
I’m able to temporarily fix this issue by changing Style under Appearance.
Issue returns on reboots.

Edit: It doesn’t 100% fix this issue. Drop down menus are still affected.

I confirm that the same issue is occurring on my system. Hopefully a fix arrives soon :slight_smile:
Happy holidays!

Happy New Year everyone!

I am still dealing with this issue. No changes despite some xfce parts in the daily updates.

Nobody has an idea where I can start looking to reverse this change?

Sadly, no. I’ve switched over to KDE and plan to stay there until this XFCE issue is resolved. :frowning_face:

I’ll continue checking in here, to see if anything should change. My assumption is this bug is specific enough, that for them to actually find and troubleshoot it, is going to take quite a while.

That’s too bad.
How did you switch to KDE? Is there a tool that just lets you switch your desktop?

Before you consider switching DE, you could run this command and use it as a temporary “fix” to this ongoing issue.
You will need to reapply it on every log-in, though.
https://forum.xfce.org/viewtopic.php?pid=77787#p77787

There’s an issue added on the xfce GitLab, here: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/572

Hmmm - once I reset the custom font DPI back to 96, this problem went away for me (and stayed that way). Also running Nvidia - desktop, not a laptop, 1920x1080 resolution - which seemed like the major issue in the Xfce forum link thread.

These are the type of bugs that can drive devs nuts, because it’s not happening to everyone.

Yes, executing xfsettingsd --replace seems to solve the zooming issue. I can live with putting it in every time I login until they found a fix. Thanks heaps!

How did you reset the custom font DPI back to 96?

From Settings → Appearance → Fonts; setting at the bottom of the page.

1 Like

Yes! Thanks!
That even keeps the setting after e reboot. I mark your message as the solution.
Thanks everyone for the help!

1 Like

Just confirming that this worked for me as well.

My DPI settings were unchecked/grayed out and set to “95”, but checking the box → setting the value to “96” → reboot → fixed the problem.

Thank you!

1 Like

I have 10+ Xfce-based VMs, and all of the ones that were updated to v4.20 had this issue. Not sure what the reasoning behind the changing of the default DPI setting was.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.