In theory you should never need to use 'xrandr' at all...

I've decoded your monitor's EDID data and got:

EDID version: 1.3
Manufacturer: PHL Model 2290 Serial Number 174
Made in week 46 of 2016
Digital display
Maximum image size: 62 cm x 34 cm
Gamma: 2.20
DPMS levels: Off
RGB color display
First detailed timing is preferred timing
Color Characteristics
  Red:   0.6298, 0.3408
  Green: 0.3095, 0.6259
  Blue:  0.1562, 0.0605
  White: 0.3134, 0.3291
Established Timings I & II
    720x400    70.082 Hz   9:5    31.467 kHz  28.320 MHz (IBM)
    640x480    59.940 Hz   4:3    31.469 kHz  25.175 MHz (DMT)
    640x480    66.667 Hz   4:3    35.000 kHz  30.240 MHz (Apple)
    640x480    72.809 Hz   4:3    37.861 kHz  31.500 MHz (DMT)
    640x480    75.000 Hz   4:3    37.500 kHz  31.500 MHz (DMT)
    800x600    60.317 Hz   4:3    37.879 kHz  40.000 MHz (DMT)
    800x600    75.000 Hz   4:3    46.875 kHz  49.500 MHz (DMT)
   1024x768    60.004 Hz   4:3    48.363 kHz  65.000 MHz (DMT)
   1024x768    75.029 Hz   4:3    60.023 kHz  78.750 MHz (DMT)
   1280x1024   75.025 Hz   5:4    79.976 kHz 135.000 MHz (DMT)
Standard Timings
   1920x1080   60.000 Hz  16:9    67.500 kHz 148.500 MHz (DMT)
   1280x1024   60.020 Hz   5:4    63.981 kHz 108.000 MHz (DMT)
   1280x960    60.000 Hz   4:3    60.000 kHz 108.000 MHz (DMT)
   1440x900    74.984 Hz  16:10   70.635 kHz 136.750 MHz (DMT)
   1440x900    59.887 Hz  16:10   55.935 kHz 106.500 MHz (DMT)
   1680x1050   59.954 Hz  16:10   65.290 kHz 146.250 MHz (DMT)
   1280x720    60.000 Hz  16:9    45.000 kHz  74.250 MHz (DMT)
Detailed mode: Clock 533.250 MHz, 621 mm x 341 mm
               3840 3888 3920 4000 ( 48  32  80)
               2160 2163 2168 2222 (  3   5  54)
               +hsync -vsync
               VertFreq: 59.997 Hz, HorFreq: 133.312 kHz
Detailed mode: Clock 262.750 MHz, 621 mm x 341 mm
               3840 3888 3920 4000 ( 48  32  80)
               2160 2163 2168 2191 (  3   5  23)
               +hsync -vsync
               VertFreq: 29.981 Hz, HorFreq: 65.688 kHz
Display Product Name: PHL 288P6L
Display Range Limits
  Monitor ranges (GTF): 23-80 Hz V, 30-99 kHz H, max dotclock 600 MHz
Has 1 extension block
Checksum: 0x4c

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

CTA-861 Extension Block Revision 3
Underscans PC formats by default
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
1 native detailed modes
47 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)
     1920x1080   50.000 Hz  16:9    56.250 kHz 148.500 MHz (VIC  31)
     1280x720    50.000 Hz  16:9    37.500 kHz  74.250 MHz (VIC  19)
      640x480    59.940 Hz   4:3    31.469 kHz  25.175 MHz (VIC   1)
      720x576    50.000 Hz  16:9    31.250 kHz  27.000 MHz (VIC  18)
     3840x2160   24.000 Hz  16:9    54.000 kHz 297.000 MHz (VIC  93)
     3840x2160   25.000 Hz  16:9    56.250 kHz 297.000 MHz (VIC  94)
     3840x2160   30.000 Hz  16:9    67.500 kHz 297.000 MHz (VIC  95)
     3840x2160   50.000 Hz  16:9   112.500 kHz 594.000 MHz (VIC  96)
     3840x2160   60.000 Hz  16:9   135.000 kHz 594.000 MHz (VIC  97)
  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
  Vendor-Specific Data Block, OUI 0x000c03 (HDMI)
    Source physical address 1.4.0.0
    DC_36bit
    DC_30bit
    DC_Y444
    DVI_Dual
    Maximum TMDS clock: 600 MHz
    Extended HDMI video details:
      HDMI VICs:
         3840x2160   30.000 Hz  16:9    67.500 kHz 297.000 MHz (HDMI VIC 1)
         3840x2160   25.000 Hz  16:9    56.250 kHz 297.000 MHz (HDMI VIC 2)
         3840x2160   24.000 Hz  16:9    54.000 kHz 297.000 MHz (HDMI VIC 3)
  Vendor-Specific Data Block, OUI 0xc45dd8 (HDMI Forum)
    Version: 1
    Maximum TMDS Character Rate: 600 MHz
    SCDC Present
    Supports 12-bits/component Deep Color 4:2:0 Pixel Encoding
    Supports 10-bits/component Deep Color 4:2:0 Pixel Encoding
  Extended tag: YCbCr 4:2:0 Capability Map Data Block
     3840x2160   50.000 Hz  16:9   112.500 kHz 594.000 MHz (VIC  96)
     3840x2160   60.000 Hz  16:9   135.000 kHz 594.000 MHz (VIC  97)
Detailed mode: Clock 74.250 MHz, 621 mm x 341 mm
               1280 1390 1430 1650 (110  40 220)
                720  725  730  750 (  5   5  20)
               +hsync +vsync
               VertFreq: 60.000 Hz, HorFreq: 45.000 kHz
Detailed mode: Clock 27.000 MHz, 621 mm x 341 mm
                720  736  798  858 ( 16  62  60)
                480  489  495  525 (  9   6  30)
               -hsync -vsync
               VertFreq: 59.940 Hz, HorFreq: 31.469 kHz
Detailed mode: Clock 277.250 MHz, 621 mm x 341 mm
               1920 1968 2000 2080 ( 48  32  80)
               2160 2163 2173 2222 (  3  10  49)
               +hsync -vsync
               VertFreq: 59.988 Hz, HorFreq: 133.293 kHz
Detailed mode: Clock 297.000 MHz, 621 mm x 341 mm
               3840 4016 4104 4400 (176  88 296)
               2160 2168 2178 2250 (  8  10  72)
               +hsync -vsync
               VertFreq: 30.000 Hz, HorFreq: 67.500 kHz
Checksum: 0x9d


** Package changed: xorg (Ubuntu) => x11-xserver-utils (Ubuntu)

** Also affects: xorg-server (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1902721

Title:
  xrandr fails to set screen size while starting X11

Status in x11-xserver-utils package in Ubuntu:
  Incomplete
Status in xorg-server package in Ubuntu:
  Incomplete

Bug description:
  while starting X11 xrandr executes commands:

  xrandr --newmode "3840x2160_30.00"  338.75  3840 4080 4488 5136  2160 2163 
2168 2200 -hsync +vsync
  xrandr --addmode DP-1 "3840x2160_30.00"
  xrandr --output DP-1 --mode "3840x2160_30.00"

  while newmode, addmode work, the third command fails with "xrandr: Configure 
crtc 0 failed".
  Looking at all video interfaces, the mode added to DP-1 is there. Now, from 
some remote shell:

  DISPLAY=:0.0 xrandr --output DP-1 --mode 3840x2160_30.00

  does not fail, but set graphics mode as desired. Trying to pause this to give 
it more time does not help. Does not work. It works as soon as i log in, set 
display to ":0.0" and then give the xrandr-command to use and set DP-1 to the 
desired mode.
  Removing all xrandr-commands does not help either: the display stays black.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: x11-common 1:7.7+19ubuntu14
  ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
  Uname: Linux 5.4.0-52-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.11
  Architecture: amd64
  BootLog:
   
  CasperMD5CheckResult: skip
  CompositorRunning: None
  Date: Tue Nov  3 14:52:24 2020
  Dependencies: lsb-base 11.1.0ubuntu2
  DistUpgraded: 2018-11-23 16:21:56,549 DEBUG Running PostInstallScript: 
'./xorg_fix_proprietary.py'
  DistroCodename: focal
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0102] (rev 09) (prog-if 00 [VGA controller])
     Subsystem: Hewlett-Packard Company 2nd Generation Core Processor Family 
Integrated Graphics Controller [103c:1497]
  InstallationDate: Installed on 2014-01-31 (2468 days ago)
  InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 
(20131016)
  MachineType: Hewlett-Packard HP Compaq 6200 Pro MT PC
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.4.0-52-generic 
root=UUID=de4af024-5d59-4f85-b5ca-11f17f085706 ro rootflags=subvol=@ 
consoleblank=0 video=DP-1:3840x2160M-32@30e
  SourcePackage: xorg
  UpgradeStatus: Upgraded to focal on 2018-11-23 (710 days ago)
  acpidump:
   Error: command ['pkexec', '/usr/share/apport/dump_acpi_tables.py'] failed 
with exit code 127: polkit-agent-helper-1: error response to PolicyKit daemon: 
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
   Error executing command as another user: Not authorized
   
   This incident has been reported.
  dmi.bios.date: 11/10/2011
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: J01 v02.15
  dmi.board.name: 1497
  dmi.board.vendor: Hewlett-Packard
  dmi.chassis.type: 6
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: 
dmi:bvnHewlett-Packard:bvrJ01v02.15:bd11/10/2011:svnHewlett-Packard:pnHPCompaq6200ProMTPC:pvr:rvnHewlett-Packard:rn1497:rvr:cvnHewlett-Packard:ct6:cvr:
  dmi.product.family: 103C_53307F G=D
  dmi.product.name: HP Compaq 6200 Pro MT PC
  dmi.product.sku: XL504AV
  dmi.sys.vendor: Hewlett-Packard
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.101-2
  version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.20.8-2ubuntu2.4
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.6-1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20200226-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/1902721/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to