You are not logged in.

#1 2020-06-15 02:25:16

mrlamud
Member
Registered: 2014-09-27
Posts: 105

[SOLVED] Persistent :DISPLAY=:0 xrandr --output HDMI-A-0 --set..

I'm on Gnome X11 What is the most efficient method to make this command autostart and persistent.

DISPLAY=:0 xrandr --output HDMI-A-0 --set "vrr_capable" 1

Thank you in advance.

F.Y.I

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
HDMI-A-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
	EDID: 
		00ffffffffffff001e6db85a01010101
		2319010380301b78ea3135a5554ea126
		0c5054a54b00714f81809500b300a9c0
		810081c090402a4480a0703827403020
		3500e00e1100001e000000fd00284b1e
		5512000a202020202020000000fc004c
		47204950532046554c4c4844023a8018
		71382d40582c4500e00e1100001e0196
		020326f14a900403011412051f101323
		0907078301000065030c001000681a00
		000101284b00023a801871382d40582c
		4500e00e1100001a011d8018711c1620
		582c2500e00e1100009e011d007251d0
		1e206e285500e00e1100001e8c0ad08a
		20e02d10103e9600e00e110000180000
		000000000000000000000000000000b2
	GAMMA_LUT_SIZE: 4096 
		range: (0, -1)
	DEGAMMA_LUT_SIZE: 4096 
		range: (0, -1)
	GAMMA_LUT: 0 
		range: (0, 65535)
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	DEGAMMA_LUT: 0 
		range: (0, 65535)
	TearFree: auto 
		supported: off, on, auto
	HDCP Content Type: HDCP Type0 
		supported: HDCP Type0, HDCP Type1
	Content Protection: Undesired 
		supported: Undesired, Desired, Enabled
	vrr_capable: 1 
		range: (0, 1)
	max bpc: 8 
		range: (8, 16)
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 64 
		supported: 64
	non-desktop: 0 
		range: (0, 1)
   1920x1080     74.97*+  60.00    60.00    50.00    59.94  
   1680x1050     59.88  
   1400x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
...........

Last edited by mrlamud (2020-06-15 03:22:13)

Offline

#2 2020-06-15 02:47:37

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] Persistent :DISPLAY=:0 xrandr --output HDMI-A-0 --set..

Use a file like this:

Filename:

/etc/X11/xorg.conf.d/20-amdgpu.conf

Contents:

Section "OutputClass"
    Identifier "my amdgpu settings"
    MatchDriver "amdgpu"
    Option "TearFree" "no"
    Option "VariableRefresh" "yes"
EndSection

Offline

#3 2020-06-15 03:23:32

mrlamud
Member
Registered: 2014-09-27
Posts: 105

Re: [SOLVED] Persistent :DISPLAY=:0 xrandr --output HDMI-A-0 --set..

Thanks for advice. 
After searching through wiki, I consider use ~/.xprofile. It seems not complicated for me.

Offline

Board footer

Powered by FluxBB