Can't add custom mode 2560x1440 after installing nvidia drivers

Bug #1923437 reported by nikola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-460 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello !

I have 2 monitors
1) one is 4K
2) another one is FULLHD,
when I installed lubuntu I had 4k monitor work at maximum 4k and another at fullhd , I want to change that 4k monitor to 2560x1440(2k).

after install nvidia drivers there is no 2560x1440 resolution in "monitor settings" resolutions tab like it was before installing drivers. when trying to add it manually from xrandr, at some point it gives me that error:

X Error of failed request: BadName (named color or font does not exist)
  Major opcode of failed request: 140 (RANDR)
  Minor opcode of failed request: 16 (RRCreateMode)
  Serial number of failed request: 35
  Current serial number in output stream: 35

in short , I can't set monitor to 2560x1440. what it might be ?

--------------------------------------------------------------------------

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu

Description: Ubuntu Hirsute Hippo (development branch)
Release: 21.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center

Unable to locate package pkgname

3) What you expected to happen

have 2560x1440 resolution option after installing nvidia driver

4) What happened instead

have no 2560x1440 listed in "monitor settings" and can't even create it manually from xrandr commands

Best Regard !

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: xorg 1:7.7+22ubuntu1
ProcVersionSignature: Ubuntu 5.11.0-13.14-generic 5.11.7
Uname: Linux 5.11.0-13-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/capabilities/gpu0'
.proc.driver.nvidia.capabilities.mig: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/capabilities/mig'
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 460.67 Thu Mar 11 00:11:45 UTC 2021
 GCC version: gcc version 10.3.0 (Ubuntu 10.3.0-1ubuntu1)
ApportVersion: 2.20.11-0ubuntu62
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: unknown
CompositorRunning: None
CurrentDesktop: LXQt
Date: Mon Apr 12 14:07:34 2021
DistUpgraded: Fresh install
DistroCodename: hirsute
DistroVariant: ubuntu
DkmsStatus: nvidia, 460.67, 5.11.0-13-generic, x86_64: installed
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 NVIDIA Corporation GP107 [GeForce GTX 1050] [10de:1c81] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: eVga.com. Corp. GP107 [GeForce GTX 1050] [3842:6150]
InstallationDate: Installed on 2021-04-12 (0 days ago)
InstallationMedia: Lubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210331)
MachineType: ASUS All Series
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.11.0-13-generic root=UUID=acd8d9c8-3bd0-4c68-9a02-19818e4cf3c3 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/05/2017
dmi.bios.release: 5.11
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3802
dmi.board.asset.tag: Default string
dmi.board.name: X99-DELUXE
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3802:bd09/05/2017:br5.11:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnX99-DELUXE:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: ASUS MB
dmi.product.name: All Series
dmi.product.sku: All
dmi.product.version: System Version
dmi.sys.vendor: ASUS
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.104-1build1
version.libgl1-mesa-dri: libgl1-mesa-dri 21.0.1-2
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.10-3ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200714-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-1

Revision history for this message
nikola (nikolax) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It appears 2560x1440 was a fake mode created by the open source driver. It's not a mode that is officially supported by the monitor itself, whose data I have decoded below:

EDID version: 1.4
Manufacturer: GSM Model 23305 Serial Number 181370
Made in week 5 of 2016
Digital display
10 bits per primary color channel
DisplayPort interface
Maximum image size: 60 cm x 34 cm
Gamma: 2.20
DPMS levels: Standby
Supported color formats: RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2
Default (sRGB) color space is primary color space
First detailed timing includes the native pixel format and preferred refresh rate
Color Characteristics
  Red: 0.6523, 0.3349
  Green: 0.3046, 0.6367
  Blue: 0.1484, 0.0615
  White: 0.3134, 0.3291
Established Timings I & II
    640x480 59.940 Hz 4:3 31.469 kHz 25.175 MHz (DMT)
    800x600 60.317 Hz 4:3 37.879 kHz 40.000 MHz (DMT)
   1024x768 60.004 Hz 4:3 48.363 kHz 65.000 MHz (DMT)
Standard Timings
   1152x864 59.959 Hz 4:3 53.783 kHz 81.750 MHz (EDID 1.4 source: CVT)
   1152x864 60.000 Hz 4:3 53.700 kHz 81.624 MHz (EDID 1.3 source: GTF)
   1280x1024 60.020 Hz 5:4 63.981 kHz 108.000 MHz (DMT)
   1280x720 60.000 Hz 16:9 45.000 kHz 74.250 MHz (DMT)
   1600x900 60.000 Hz 16:9 60.000 kHz 108.000 MHz (DMT, RB)
   1920x1080 60.000 Hz 16:9 67.500 kHz 148.500 MHz (DMT)
   1280x800 59.810 Hz 16:10 49.702 kHz 83.500 MHz (DMT)
Detailed mode: Clock 533.280 MHz, 600 mm x 340 mm
               3840 3848 3992 4000 ( 8 144 8)
               2160 2214 2219 2222 ( 54 5 3)
               +hsync -vsync
               VertFreq: 60.000 Hz, HorFreq: 133.320 kHz
Detailed mode: Clock 266.640 MHz, 600 mm x 340 mm
               3840 3848 3992 4000 ( 8 144 8)
               2160 2214 2219 2222 ( 54 5 3)
               +hsync -vsync
               VertFreq: 30.000 Hz, HorFreq: 66.660 kHz
Display Range Limits
  Monitor ranges (GTF): 56-61 Hz V, 30-135 kHz H, max dotclock 560 MHz
Display Product Name: LG Ultra HD
Has 1 extension block
Checksum: 0x11

----------------

CTA-861 Extension Block Revision 3
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
1 native detailed modes
13 bytes of CTA data blocks
  Video Data Block
     1920x1080 60.000 Hz 16:9 67.500 kHz 148.500 MHz (VIC 16, native)
     1280x720 60.000 Hz 16:9 45.000 kHz 74.250 MHz (VIC 4)
      720x480 59.940 Hz 16:9 31.469 kHz 27.000 MHz (VIC 3)
      640x480 59.940 Hz 4:3 31.469 kHz 25.175 MHz (VIC 1)
  Audio Data Block
    Linear PCM, max channels 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker Allocation Data Block
    Speaker map:
      FL/FR - Front Left/Right
Detailed mode: Clock 148.500 MHz, 600 mm x 340 mm
               1920 2008 2052 2200 ( 88 44 148)
               1080 1084 1089 1125 ( 4 5 36)
               +hsync +vsync
               VertFreq: 60.000 Hz, HorFreq: 67.500 kHz
Checksum: 0x41

affects: xorg (Ubuntu) → nvidia-graphics-drivers-460 (Ubuntu)
summary: - can't set 2560x1440 resolution after installing nvidia drivers
+ Can't add custom mode 2560x1440 after installing nvidia drivers
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

To achieve the same effective resolution as 2560x1440, you can choose 3840x2160 and then set:

Fractional Scaling = On
Scale = 150%

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.