You are not logged in.

#1 2019-12-31 00:15:40

zarathustar
Member
Registered: 2019-09-25
Posts: 2

[SOLVED] Modesetting - Maximum Resolution Capped at 8192x8192

I have an Nvidia Optimus laptop (HP ZBook Studio x360 G5), and I've been using in nvidia mode for a few weeks.  I'm not sure what happened, but when I swap back over to using the modesetting driver (blacklisting the nvidia modules), xrandr shows a maximum resolution for Screen 0 of 8192x8192:

$ xrandr -q
Screen 0: minimum 320 x 200, current 7280 x 2160, maximum 8192 x 8192

eDP-1 connected primary 3840x2160+0+0 inverted (normal left inverted right x axis y axis) 344mm x 193mm
   3840x2160     60.00*+  59.98    40.00    59.97  

DP-1 connected 3440x1440+3840+0 (normal left inverted right x axis y axis) 800mm x 335mm
   3440x1440     59.97*+  49.99    29.99  

The issue is, I try to change the scaling on my external monitor (DP-1) to 2x2 and get the below error:

$ xrandr --output DP-1 --scale 2x2
xrandr: screen cannot be larger than 8192x8192 (desired size 10720x2880)

This was working before, but again, I haven't used the intel gpu for a while so I'm unsure what's changed.  My xorg looks as follows:

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Is there likely to be an issue with modesetting, or perhaps an xorg update that for some reason now requires an explicit resolution to be set?  glxinfo shows a maximum size of 16384x16384:

$ glxinfo -l | grep GL_MAX_TEXTURE_SIZE
    GL_MAX_TEXTURE_SIZE = 16384
    GL_MAX_TEXTURE_SIZE = 16384

If I switch over to the intel driver (xf86-video-intel), the Screen 0 maximum is correctly 16384x16384 and I can scale with xrandr without an issue.  However, the performance of the intel driver (despite screen tearing that actually works) appears to be poor on my system.  I've also gone back to linux-lts, however this has not made any difference.

Any thoughts would be much appreciated.

Thanks!

Last edited by zarathustar (2019-12-31 22:05:20)

Offline

#2 2019-12-31 22:06:38

zarathustar
Member
Registered: 2019-09-25
Posts: 2

Re: [SOLVED] Modesetting - Maximum Resolution Capped at 8192x8192

I marked this one as solved.  Issue was, I was using linux-lts due to the freezes with i915 on new kernels.. If I go back to plain old linux kernel (5.4.6), my Screen 0 now correctly has a maximum of 16384x16384.

Offline

Board footer

Powered by FluxBB