You are not logged in.

#1 2023-09-11 18:12:49

m1dr3d
Member
Registered: 2023-03-20
Posts: 17

[SOLVED]xrandr question

Hi! How can I delete xrandr native resolutions.

$ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95 +
   1920x1440     75.00    60.00  
   1856x1392     75.00    60.01  
   1792x1344     75.00    60.01  
   2048x1152     59.98    59.90    59.91  
   1920x1200     59.88    59.95  
   1920x1080     59.97    59.96    60.00    60.00    50.00    59.94    59.93  
   1600x1200     59.95    75.00    70.00    65.00    60.00  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     75.02    60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.95    59.99    59.97    59.81    59.91  
   1152x864      75.00  
   1280x720      60.00    59.99    59.86    60.00    50.00    59.94    59.74  
   1024x768      75.05    60.04    75.03    70.07    60.00  
   960x720       75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       75.00    70.00    65.00    60.00    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   720x576       50.00  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   720x480       60.00    59.94  
   640x512       75.02    60.02  
   700x450       59.96    59.88  
   640x480       60.00    75.00    72.81    75.00    66.67    60.00    59.94  
   720x405       59.51    58.99  
   720x400       70.08  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   512x384       75.03    70.07    60.00  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       72.81    75.00    60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
   2560x1440_66.20  66.20* 
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DVI-D-1 disconnected (normal left inverted right x axis y axis)

If I try to delete, for example, 320x180 using --rmmode

$ xrandr --rmmode 320x180
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  17 (RRDestroyMode)
  Serial number of failed request:  43
  Current serial number in output stream:  44

Last edited by m1dr3d (2023-09-12 05:13:05)

Offline

#2 2023-09-11 19:12:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,472

Re: [SOLVED]xrandr question

You can't.
You can *maybe* filter them (the nvidia driver has extensive options for the modeline sources, not so sure about the mesa drivers)

However, this seems to be an https://en.wikipedia.org/wiki/XY_problem
Why do you want to delete modelines?

Offline

#3 2023-09-11 19:14:25

m1dr3d
Member
Registered: 2023-03-20
Posts: 17

Re: [SOLVED]xrandr question

I just don't need them

Offline

#4 2023-09-11 19:55:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,472

Re: [SOLVED]xrandr question

And why do they bother you? Just ignore them.

Offline

#5 2023-09-11 20:05:31

m1dr3d
Member
Registered: 2023-03-20
Posts: 17

Re: [SOLVED]xrandr question

Ok, thank you

Offline

#6 2023-09-11 20:09:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,472

Re: [SOLVED]xrandr question

Please don't use "closed", it's used by mods for locked threads.

Offline

Board footer

Powered by FluxBB