Too large resolution for eDP-1 4096x2560

Which Linux distro are you using? NIXOS 24.05
Which kernel are you using? 6.6.60
Which BIOS version are you using? 3.03
Which Framework Laptop 16 model are you using? (AMD Ryzen™ 7040 Series)

I am quit happy with Nixos on FW16 … fast … stable … no big issues … BUT … :wink:

Applications “sees” the resolution 4096x2560 as default (although build in screen is correctly recognized with 2560x1600) … for example VMWare Workstation reports 4096x2560 resolution to the guest OS … and the guest OS uses this - much to high resolution - as their default. VMWare WS does not allow to adjust this (although it should) … however … i tried to find out where this - much to high resolution - comes from.

the first place here is xrandr:

user@nixos:~]$ xrandr
Screen 0: minimum 320 x 200, current 4096 x 2560, maximum 16384 x 16384
eDP-1 connected primary 4096x2560+0+0 (normal left inverted right x axis y axis) 345mm x 215mm
   2560x1600    165.00 +  60.00 + 120.00    96.00    72.01    60.00*   59.99    59.97  
   2560x1440     59.99    59.99    59.96    59.95  
   2048x1536     85.00    75.00    60.00  
   1920x1440     85.00    75.00    60.00  
...

i am not sure if this is the right way … but setting the “correct” resolution gives an error:

user@nixos:~]$ xrandr --fb 2560x1600 --screen 0
xrandr: specified screen 2560x1600 not large enough for output eDP-1 (4096x2560+0+0)

and the monitor info looks like this:

[user@nixos:~]$ xrandr --listmonitors
Monitors: 1
 0: +*eDP-1 4096/345x2560/215+0+0  eDP-1

here i see some potential to find and correct the obvious miss match … but i do not have enough experience with Linux to know which way to go

any suggestions / ideas?

… and where are you seeing this error message? Can you describe the problem?

hello DHowett … sorry i was to fast with first submitting … so the post was empty in the beginning … now i added the details …

additional infos out of x.0.log:

...
[   571.567] (II) modeset(0): Printing DDC gathered Modelines:
[   571.567] (II) modeset(0): Modeline "2560x1600"x0.0  287.24  2560 2608 2640 2720  1600 1663 1669 1760 +hsync -vsync (105.6 kHz eP)
[   571.885] (II) modeset(0): Allocate new frame buffer 4096x2560 stride
...

so, it looks like display is correctly discovered. only frame buffer is set to 4096x2560

well, i found out, that the in-vm resolution depends on the scaling factor of the host. which i do not want :frowning:. ho
my assumption is, that this an vmware issue … so i need to wait … or look for other products

I’m assuming you’re using GNOME 47 with 1.25x scaling?

See here.

I think it might be possible to force the old method to be used instead, which would result in X11 apps seeing 2048x1280p as the resolution, although I don’t remember the command. Or you could switch to KDE, which uses a less universal approach but when it encounters an app that it can’t scale well it just doesn’t scale it.

hey kyle_reis, this describes the issue and explanation why very well.
i am using cinnomon … but however … it is the same behavior.
thanks for your information :green_heart: