#Unable to change laptop resolution when using nvidia drivers in laptops discrete graphics mode?

51 messages · Page 1 of 1 (latest)

deft bane
#

Hello! I'm pretty new to Linux and Linux Mint and I have ran into this weird issue.

I've installed Mint on a Lenovo Thinkpad P17 Gen 1 with an Intel Xeon W-10855m CPU and Nvidia Quadro RTX 5000 GPU. It has a 17.3 inch 16:9 4K screen which can natively support resolutions up to 4K. It has the option in BIOS to switch between discrete and hybrid graphics. The performance in the discrete graphics mode is way better compared to the hybrid graphics in both Windows 11 and Linux Mint even when using the Nvidia Prime performance profile in Mint so discrete mode is a must.

So when I'm in discrete graphics mode on Windows 11 I can see all the available resolutions for my screen and change from 800x600 all the way up to 3840x2160 with no issue. In games I also have all the resolutions available as expected.

In discrete graphics mode when I boot into the Linux Mint live USB I can see all the available resolutions and change them fine. After I do a fresh install of Linux Mint while still in discrete graphics mode I can see and change all of the resolutions with no issue. Up to this point I think Linux Mint has been using the Nouveau driver.

As soon as I install the Nvidia drivers via driver manager and reboot the laptop my resolution is locked to 3840x2160 and its the same in games. This is an issue as I don't want to be in 3840x2160 all the time especially in demanding games where lowering the resolution can significantly improve performance. The weird thing is when I go into the BIOS and switch to hybrid graphics mode which enables the Intel CPU graphics as well then reboot I can change the native resolutions as expected but as mentioned before the performance is worse. So I go into the BIOS and switch back to discrete graphics mode and reboot only for the resolution to be locked to 3840x2160 again.

Any help or fix for this so I can see and change between all the native resolutions would be greatly appreciated. Thank you!

whole loom
deft bane
ruby crescent
#

along with have a look at the xrandr command. it will list all available resolutions you can use, and the freq. with the asterisk is the current one

deft bane
#

Output of inxi -Gxxx

Graphics:
Device-1: NVIDIA TU104GLM [Quadro RTX 5000 Mobile / Max-Q] vendor: Lenovo
driver: nouveau v: kernel arch: Turing pcie: speed: 2.5 GT/s lanes: 16
ports: active: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1 bus-ID: 01:00.0
chip-ID: 10de:1eb5 class-ID: 0300 temp: 46.0 C
Device-2: Bison Integrated Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-8:2 chip-ID: 5986:9106 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48")
s-diag: 1165mm (45.88")
Monitor-1: eDP-1 model: BOE Display 0x08de res: 3840x2160 hz: 60 dpi: 255
size: 382x215mm (15.04x8.46") diag: 438mm (17.3") modes: max: 3840x2160
min: 800x600
API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 0 drv: nouveau
device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau x11:
drv: nouveau inactive: wayland
API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 25.0.7-0ubuntu0.24.04.2
glx-v: 1.4 direct-render: yes renderer: NV164 device-ID: 10de:1eb5

#

Output of xrandr

Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
eDP-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
3840x2160 60.00*+
3200x1800 60.00
2880x1620 60.00
2560x1600 60.00
2560x1440 60.00
2048x1536 60.00
1920x1440 60.00
1856x1392 60.00
1792x1344 60.00
2048x1152 60.00
1920x1200 59.95 60.00
1920x1080 60.00 60.00
1600x1200 60.00 59.95
1680x1050 60.00 60.00
1400x1050 60.00 60.00
1600x900 60.00
1280x1024 59.95 60.00
1400x900 60.00
1280x960 60.00 59.99
1440x810 60.00
1368x768 60.00
1280x800 60.00
1152x864 59.97
1280x720 60.00
1024x768 60.00 59.95
960x720 60.00
928x696 60.00
896x672 60.00
1024x576 60.00
960x600 60.00
960x540 60.00
800x600 60.00 59.96
840x525 60.00
864x486 60.00
700x525 60.00
800x450 60.00
640x512 60.00
700x450 60.00
640x480 60.00
720x405 60.00
684x384 60.00
640x360 60.00
512x384 60.00
512x288 60.00
480x270 60.00
400x300 60.00
432x243 60.00
320x240 60.00
360x202 60.00
320x180 60.00
HDMI-1 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)

#

This is after a fresh install and update then reboot, no nvidia drivers installed

ruby crescent
#

Yes. it will always use the nouveau driver , which it shows it is

#

in the information shown here above.

#

@deft bane do mokutil --sb and state its result

#

if it shows 'disabled', then simply open Driver Manager, and install the offered, and recommended proprietary nvidia driver. then reboot.

deft bane
#

I will install the recommended nvidia driver now

#

I have installed the recommended nvidia driver via the driver manager which is nvidia-driver-580-open and the issue has occurred. My resolution is locked at 3840x2160

#

Output of inxi -Gxxx with nvidia drivers installed

Graphics:
Device-1: NVIDIA TU104GLM [Quadro RTX 5000 Mobile / Max-Q] vendor: Lenovo
driver: nvidia v: 580.95.05 arch: Turing pcie: speed: 2.5 GT/s lanes: 16
ports: active: none off: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1
bus-ID: 01:00.0 chip-ID: 10de:1eb5 class-ID: 0300
Device-2: Bison Integrated Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-8:2 chip-ID: 5986:9106 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
gpu: nv_platform,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2160 s-dpi: 256 s-size: 381x210mm (15.00x8.27")
s-diag: 435mm (17.13")
Monitor-1: eDP-1 mapped: DP-3 note: disabled model: BOE Display 0x08de
res: 3840x2160 hz: 60 dpi: 255 size: 382x215mm (15.04x8.46")
diag: 438mm (17.3") modes: 3840x2160
API: EGL v: 1.5 hw: drv: nvidia nouveau drv: nvidia platforms: device: 0
drv: nvidia device: 1 drv: nouveau device: 2 drv: swrast gbm: drv: nvidia
surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.95.05
glx-v: 1.4 direct-render: yes renderer: Quadro RTX 5000/PCIe/SSE2

#

Output of xrandr with nvidia drivers installed

Screen 0: minimum 8 x 8, current 3840 x 2160, 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)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-3 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
3840x2160 60.00*+
DP-4 disconnected (normal left inverted right x axis y axis)

ruby crescent
#

yes

#

so u can ONLY have 4K and that's it?

deft bane
#

Once thing i notice immediately is that the modesetting driver is unloaded, and its using a different output entirely? Its using DP-3 instead of eDP-1

deft bane
ruby crescent
#

Monitor-1: eDP-1 mapped: DP-3 note: disabled model: BOE Display 0x08de
res: 3840x2160 hz: 60 dpi: 255 size: 382x215mm (15.04x8.46")
diag: 438mm (17.3") modes: 3840x2160

#

always says disabled in inxi for nvidia stuff.

#

screen is ~ 38cm x 21 cm

ruby crescent
deft bane
#

Yes, the two drivers available that don't have open at the end are 535 and 470. From memory 535 installed fine and i had the same issue, and 470 wouldn't let me install as I kept getting a script error or something. I'll try both again now though

ruby crescent
#

wait

#

run uname -r first

deft bane
#

6.14.0-37 generic

ruby crescent
#

i think the 470 one will only install when the system is booted-with, and run on - the 6.8 series linux kernel

#

so u can install 6.8, then special-boot to it

#

one sec

#

see #1383493960474955930 message

deft bane
#

Pretty sure this was the same error i got on 6.14.0-37 generic

ruby crescent
#

uname -r

deft bane
#

6.8.0-90-generic

ruby crescent
#

and the error happens right on the driver manager during its work?

deft bane
#

Yep

ruby crescent
#

@ripe mountain might you know anything on how to help this?

#

try the 570 driver then and when it asks you to reboot, make sure u boot with the rollback technique, and choose 6.8.0-90generic from Mint Advanced (Non-recovery one)

deft bane
#

the 570-open driver?

ruby crescent
#

The RTX 5000 Mobile Ada Generation is a professional mobile graphics chip by NVIDIA, launched on March 21st, 2023.

ripe mountain
deft bane
deft bane
ripe mountain
#

With Secure Boot disabled?

deft bane
deft bane
#

@ripe mountain Any ideas on whats causing this? I'm at a loss 😅

#

Like I said it works fine with the nouveau driver, but as soon as the nvidia driver is installed it doesn't detect any other resolution aside from 3840x2160

ripe mountain