Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to apply Profile #352

Open
TheBicPen opened this issue Jun 6, 2023 · 0 comments
Open

Failed to apply Profile #352

TheBicPen opened this issue Jun 6, 2023 · 0 comments

Comments

@TheBicPen
Copy link

I'm using version 1.11, but I didn't see anything in the patch notes about this issue, so I assume it still happens with the latest version.

$ autorandr horizontal
/usr/bin/autorandr:42: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.version import LooseVersion as Version
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Value in failed request:  0x780
  Serial number of failed request:  30
  Current serial number in output stream:  30
Failed to apply profile 'horizontal' (line 857):
  Command failed: xrandr --fb 4480x1440 --output XWAYLAND0 --gamma 1.0:1.0:1.0 --mode 1920x1080 --pos 0x0 --rate 74.91 --reflect normal --rotate normal --output XWAYLAND1 --gamma 1.0:1.0:1.0 --mode 2560x1440 --pos 1920x0 --rate 59.91 --reflect normal --rotate normal (line 857)

Same output if I use the option --skip-option crtc. Here's my xrandr:

$ xrandr --verbose
Screen 0: minimum 16 x 16, current 2560 x 1440, maximum 32767 x 32767
XWAYLAND0 connected primary 1920x1080+0+0 (0x23) normal (normal left inverted right x axis y axis) 480mm x 270mm
        Identifier: 0x21
        Timestamp:  783292
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       0
        CRTCs:      0
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        non-desktop: 0 
                supported: 0, 1
  1920x1080 (0x23) 220.750MHz -HSync +VSync *current +preferred
        h: width  1920 start 2064 end 2264 total 2608 skew    0 clock  84.64KHz
        v: height 1080 start 1083 end 1088 total 1130           clock  74.91Hz
  1440x1080 (0x24) 165.250MHz -HSync +VSync
        h: width  1440 start 1544 end 1696 total 1952 skew    0 clock  84.66KHz
        v: height 1080 start 1083 end 1087 total 1130           clock  74.92Hz
  1400x1050 (0x25) 156.000MHz -HSync +VSync
        h: width  1400 start 1504 end 1648 total 1896 skew    0 clock  82.28KHz
        v: height 1050 start 1053 end 1057 total 1099           clock  74.87Hz
  1280x1024 (0x26) 138.750MHz -HSync +VSync
        h: width  1280 start 1368 end 1504 total 1728 skew    0 clock  80.30KHz
        v: height 1024 start 1027 end 1034 total 1072           clock  74.90Hz
  1280x960 (0x27) 130.000MHz -HSync +VSync
        h: width  1280 start 1368 end 1504 total 1728 skew    0 clock  75.23KHz
        v: height  960 start  963 end  967 total 1005           clock  74.86Hz
  1152x864 (0x28) 104.000MHz -HSync +VSync
        h: width  1152 start 1224 end 1344 total 1536 skew    0 clock  67.71KHz
        v: height  864 start  867 end  871 total  905           clock  74.82Hz
  1024x768 (0x29) 81.750MHz -HSync +VSync
        h: width  1024 start 1088 end 1192 total 1360 skew    0 clock  60.11KHz
        v: height  768 start  771 end  775 total  805           clock  74.67Hz
  800x600 (0x2a) 49.000MHz -HSync +VSync
        h: width   800 start  840 end  920 total 1040 skew    0 clock  47.12KHz
        v: height  600 start  603 end  607 total  629           clock  74.91Hz
  640x480 (0x2b) 30.750MHz -HSync +VSync
        h: width   640 start  664 end  728 total  816 skew    0 clock  37.68KHz
        v: height  480 start  483 end  487 total  504           clock  74.77Hz
  320x240 (0x2c)  7.500MHz -HSync +VSync
        h: width   320 start  336 end  360 total  400 skew    0 clock  18.75KHz
        v: height  240 start  243 end  247 total  254           clock  73.82Hz
  1680x1050 (0x2d) 187.000MHz -HSync +VSync
        h: width  1680 start 1800 end 1976 total 2272 skew    0 clock  82.31KHz
        v: height 1050 start 1053 end 1059 total 1099           clock  74.89Hz
  1440x900 (0x2e) 136.500MHz -HSync +VSync
        h: width  1440 start 1536 end 1688 total 1936 skew    0 clock  70.51KHz
        v: height  900 start  903 end  909 total  942           clock  74.85Hz
  1280x800 (0x2f) 106.250MHz -HSync +VSync
        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock  62.65KHz
        v: height  800 start  803 end  809 total  838           clock  74.76Hz
  720x480 (0x30) 34.250MHz -HSync +VSync
        h: width   720 start  752 end  816 total  912 skew    0 clock  37.55KHz
        v: height  480 start  483 end  493 total  504           clock  74.51Hz
  640x400 (0x31) 25.000MHz -HSync +VSync
        h: width   640 start  664 end  720 total  800 skew    0 clock  31.25KHz
        v: height  400 start  403 end  409 total  421           clock  74.23Hz
  320x200 (0x32)  6.250MHz -HSync +VSync
        h: width   320 start  336 end  360 total  400 skew    0 clock  15.62KHz
        v: height  200 start  203 end  209 total  212           clock  73.70Hz
  1600x900 (0x33) 151.250MHz -HSync +VSync
        h: width  1600 start 1704 end 1872 total 2144 skew    0 clock  70.55KHz
        v: height  900 start  903 end  908 total  942           clock  74.89Hz
  1368x768 (0x34) 109.250MHz -HSync +VSync
        h: width  1368 start 1448 end 1592 total 1816 skew    0 clock  60.16KHz
        v: height  768 start  771 end  781 total  805           clock  74.73Hz
  1280x720 (0x35) 95.750MHz -HSync +VSync
        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock  56.46KHz
        v: height  720 start  723 end  728 total  755           clock  74.78Hz
  1024x576 (0x36) 60.000MHz -HSync +VSync
        h: width  1024 start 1072 end 1176 total 1328 skew    0 clock  45.18KHz
        v: height  576 start  579 end  584 total  604           clock  74.80Hz
  864x486 (0x37) 42.000MHz -HSync +VSync
        h: width   864 start  904 end  984 total 1104 skew    0 clock  38.04KHz
        v: height  486 start  489 end  494 total  511           clock  74.45Hz
  720x400 (0x38) 28.000MHz -HSync +VSync
        h: width   720 start  744 end  808 total  896 skew    0 clock  31.25KHz
        v: height  400 start  403 end  413 total  421           clock  74.23Hz
  640x350 (0x39) 22.000MHz -HSync +VSync
        h: width   640 start  664 end  720 total  800 skew    0 clock  27.50KHz
        v: height  350 start  353 end  363 total  369           clock  74.53Hz
XWAYLAND1 connected 2560x1440+0+0 (0x367) normal (normal left inverted right x axis y axis) 600mm x 340mm
        Identifier: 0x366
        Timestamp:  783292
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       1
        CRTCs:      1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        non-desktop: 0 
                supported: 0, 1
  2560x1440 (0x367) 312.000MHz -HSync +VSync *current +preferred
        h: width  2560 start 2752 end 3024 total 3488 skew    0 clock  89.45KHz
        v: height 1440 start 1443 end 1448 total 1493           clock  59.91Hz
  1920x1440 (0x368) 233.250MHz -HSync +VSync
        h: width  1920 start 2064 end 2264 total 2608 skew    0 clock  89.44KHz
        v: height 1440 start 1443 end 1447 total 1493           clock  59.90Hz
  1600x1200 (0x369) 161.000MHz -HSync +VSync
        h: width  1600 start 1712 end 1880 total 2160 skew    0 clock  74.54KHz
        v: height 1200 start 1203 end 1207 total 1245           clock  59.87Hz
  1440x1080 (0x36a) 128.750MHz -HSync +VSync
        h: width  1440 start 1528 end 1680 total 1920 skew    0 clock  67.06KHz
        v: height 1080 start 1083 end 1087 total 1120           clock  59.87Hz
  1400x1050 (0x36b) 121.500MHz -HSync +VSync
        h: width  1400 start 1488 end 1632 total 1864 skew    0 clock  65.18KHz
        v: height 1050 start 1053 end 1057 total 1089           clock  59.86Hz
  1280x1024 (0x36c) 109.000MHz -HSync +VSync
        h: width  1280 start 1368 end 1496 total 1712 skew    0 clock  63.67KHz
        v: height 1024 start 1027 end 1034 total 1063           clock  59.89Hz
  1280x960 (0x36d) 101.250MHz -HSync +VSync
        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock  59.70KHz
        v: height  960 start  963 end  967 total  996           clock  59.94Hz
  1152x864 (0x36e) 81.500MHz -HSync +VSync
        h: width  1152 start 1216 end 1336 total 1520 skew    0 clock  53.62KHz
        v: height  864 start  867 end  871 total  897           clock  59.78Hz
  1024x768 (0x36f) 63.250MHz -HSync +VSync
        h: width  1024 start 1072 end 1176 total 1328 skew    0 clock  47.63KHz
        v: height  768 start  771 end  775 total  798           clock  59.68Hz
  800x600 (0x370) 38.250MHz -HSync +VSync
        h: width   800 start  832 end  912 total 1024 skew    0 clock  37.35KHz
        v: height  600 start  603 end  607 total  624           clock  59.86Hz
  640x480 (0x371) 23.750MHz -HSync +VSync
        h: width   640 start  664 end  720 total  800 skew    0 clock  29.69KHz
        v: height  480 start  483 end  487 total  500           clock  59.38Hz
  320x240 (0x372)  6.000MHz -HSync +VSync
        h: width   320 start  336 end  360 total  400 skew    0 clock  15.00KHz
        v: height  240 start  243 end  247 total  252           clock  59.52Hz
  1920x1200 (0x373) 193.250MHz -HSync +VSync
        h: width  1920 start 2056 end 2256 total 2592 skew    0 clock  74.56KHz
        v: height 1200 start 1203 end 1209 total 1245           clock  59.88Hz
  1680x1050 (0x374) 146.000MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.18KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.85Hz
  1440x900 (0x375) 106.500MHz -HSync +VSync
        h: width  1440 start 1528 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1280x800 (0x376) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  720x480 (0x377) 26.750MHz -HSync +VSync
        h: width   720 start  744 end  808 total  896 skew    0 clock  29.85KHz
        v: height  480 start  483 end  493 total  500           clock  59.71Hz
  640x400 (0x378) 19.750MHz -HSync +VSync
        h: width   640 start  664 end  720 total  800 skew    0 clock  24.69KHz
        v: height  400 start  403 end  409 total  417           clock  59.20Hz
  320x200 (0x379)  5.000MHz -HSync +VSync
        h: width   320 start  336 end  360 total  400 skew    0 clock  12.50KHz
        v: height  200 start  203 end  209 total  212           clock  58.96Hz
  2048x1152 (0x37a) 197.000MHz -HSync +VSync
        h: width  2048 start 2184 end 2400 total 2752 skew    0 clock  71.58KHz
        v: height 1152 start 1155 end 1160 total 1195           clock  59.90Hz
  1920x1080 (0x37b) 172.750MHz -HSync +VSync
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock  67.06KHz
        v: height 1080 start 1083 end 1088 total 1120           clock  59.88Hz
  1600x900 (0x37c) 118.000MHz -HSync +VSync
        h: width  1600 start 1696 end 1856 total 2112 skew    0 clock  55.87KHz
        v: height  900 start  903 end  908 total  934           clock  59.82Hz
  1368x768 (0x37d) 85.250MHz -HSync +VSync
        h: width  1368 start 1440 end 1576 total 1784 skew    0 clock  47.79KHz
        v: height  768 start  771 end  781 total  798           clock  59.88Hz
  1280x720 (0x37e) 74.500MHz -HSync +VSync
        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock  44.77KHz
        v: height  720 start  723 end  728 total  748           clock  59.86Hz
  1024x576 (0x37f) 46.500MHz -HSync +VSync
        h: width  1024 start 1064 end 1160 total 1296 skew    0 clock  35.88KHz
        v: height  576 start  579 end  584 total  599           clock  59.90Hz
  864x486 (0x380) 32.250MHz -HSync +VSync
        h: width   864 start  888 end  968 total 1072 skew    0 clock  30.08KHz
        v: height  486 start  489 end  494 total  506           clock  59.45Hz
  720x400 (0x381) 22.250MHz -HSync +VSync
        h: width   720 start  744 end  808 total  896 skew    0 clock  24.83KHz
        v: height  400 start  403 end  413 total  417           clock  59.55Hz
  640x350 (0x382) 17.500MHz -HSync +VSync
        h: width   640 start  664 end  720 total  800 skew    0 clock  21.88KHz
        v: height  350 start  353 end  363 total  366           clock  59.77Hz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant