You are not logged in.

#1 2022-11-26 02:33:07

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Query graphic to list all supported modes and refresh rates [SOLVED]

Is there a command to get query a graphic card to see the supported resolutions and refresh rates?  Confused as to why I only have 3840x2160p @ 30 fps (thinking 60 fps should be an option).

# lshw -C video
  *-display                 
       description: VGA compatible controller
       product: Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: c7
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: irq:29 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:f7e00000-f7e3ffff memory:c0000-dffff

Last edited by graysky (2022-11-26 19:33:57)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2022-11-26 03:23:33

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Query graphic to list all supported modes and refresh rates [SOLVED]

xrandr -q doesn't do what you want?

Last edited by cfr (2022-11-26 03:32:06)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-11-26 04:33:52

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Query graphic to list all supported modes and refresh rates [SOLVED]

Thanks, cfr.  It does.  Not sure why kodi is limiting me to 30 fps though.

% xrandr -q 
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
DisplayPort-0 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00*+  30.00  
   2560x1440     59.95  
   1920x1200     60.00  
   1920x1080     60.00    59.94  
   1600x1200     60.00  
   1680x1050     60.00  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      60.00  
   1280x800      59.81  
   1280x720      60.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2022-11-26 05:23:57

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Query graphic to list all supported modes and refresh rates [SOLVED]

I couldn't find an explanation of what the output actually meant. I assume the first column is resolution. Are the other columns frequencies? They just seem very strange. Why

1920x1080     60.00    59.94 

for example? What is significant about the difference between 60.00 and 59.94? 60 versus 30 I can understand, but my first line has 5 different frequencies, if that's what they are, all between 59.93 and 60.05.

1920x1080     60.05*+  60.01    59.97    59.96    59.93 

Last edited by cfr (2022-11-26 05:24:39)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2022-11-26 08:21:55

seth
Member
Registered: 2012-09-03
Posts: 51,039

Re: Query graphic to list all supported modes and refresh rates [SOLVED]

Not sure why kodi is limiting me to 30 fps though.

Are you running kodi in an X11 session or next to it on the framebuffer?

X11 currently runs at 60Hz, if kodi runs at 30fps in this context it's either because
a) it cannot render faster
b) double vsync (eg. in kodi and the compositor or driver, so kodi waits for the next 16.6ms slot to update and then the compostitor waits for the next 16.6 slot to swap the buffer)

What is the actual basis for the assertion that kodi runs at 30fps?
How does glxgears behave?

@cfr, there'll be different modelines (wg. w/ and w/ reduced blanking, different polarity) - you can see them w/ "xrandr -v"

Offline

#6 2022-11-26 12:21:34

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Query graphic to list all supported modes and refresh rates [SOLVED]

I'm thinking my HDMI cable might be to blame.  Cannot read specs on the thing.  Will try a certified 2.1 cable shortly.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2022-11-26 16:56:26

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Query graphic to list all supported modes and refresh rates [SOLVED]

seth wrote:

@cfr, there'll be different modelines (wg. w/ and w/ reduced blanking, different polarity) - you can see them w/ "xrandr -v"

Thanks. --verbose is significantly less cryptic smile. (-v just gave me the version.)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#8 2022-11-26 19:33:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Query graphic to list all supported modes and refresh rates [SOLVED]

Damn, issue was not with the HDMI cable but with the TV (LG).  Happened across this thread by ozooha.  Pointed me in the right direction.  LG calls this option "Deep Color" but quickly skimming the manual pointed to the location in the GUI to enable it. 

the tv manual wrote:

"If the device connected to Input Port also supports HDMI Deep Color, your picture may be clearer.  However, if the device doesn't support it, it may not work properly.  In that case, change the TV's [HDMI Deep Color] setting to off.  Gears>three dots>General>Devices>HDMI Settings>HDMI Deep Color."

Now I have all expected refresh rates.

% xrandr -q                                          
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
DisplayPort-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-A-0 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   3840x2160     60.00*+ 120.00   100.00   119.88    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   4096x2160    120.00   100.00   119.88    60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   2560x1440    120.00  
   1920x1200     60.00  
   1920x1080    120.00   100.00   119.88    60.00    60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1600x1200     60.00  
   1680x1050     60.00  
   1280x1024     60.02  
   1440x900      60.00  
   1280x800      60.00  
   1280x720      60.00    50.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
   720x400       70.08  
DVI-D-0 disconnected (normal left inverted right x axis y axis)

Last edited by graysky (2022-11-27 10:55:21)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#9 2022-11-26 20:05:40

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: Query graphic to list all supported modes and refresh rates [SOLVED]

graysky wrote:

Damn, issue was not with the HDMI cable but with the TV (LG).  Happened across this thread by ozooha.  Pointed me in the right direction.  LG calls this option "Deep Color" but quickly skimming the manual pointed to the location in the GUI to enable it. 

the tv manual wrote:

"If the device connected to Input Port also supports HDMI Deep Color, your picture may be clearer.  However, if the device doesn't support it, it may not work properly.  In that case, change the TV's [HDMI Deep Color] setting to off.  Gears>three dots>General>Devices>HDMI Settings>HDMI Deep Color."

Meh... These damn 4K TVs are sometimes "strange" tongue

Just in case for any future readers who will stumble upon this discussion: be sure to also enable Input Signal Plus (on Samsung TVs)!

View UHD Videos on Your QLED and UHD TV

You connected your UHD Blu-ray player or UHD game console to your TV to watch a new release in 4K – now what? Use Input Signal Plus (also known as HDMI UHD Color) to optimize the TV for UHD content. The best part is on some of our TVs, the device is instantly recognized and this setting is turned on automatically. If for some reason, this doesn't happen, follow these steps:

Press the Home button on your TV remote, and then navigate to and select Settings > General. Select External Device Manager, and then select Input Signal Plus. Select the HDMI port you connected your device to, and then press Select to turn the feature On.

(https://www.samsung.com/us/support/answer/ANS00082465/)

Last edited by d.ALT (2022-11-26 20:06:57)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#10 2022-11-27 02:39:29

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Query graphic to list all supported modes and refresh rates [SOLVED]

Experts used to worry that watching TV was an exercise in mindless passivity, but the manufacturers listened and now it takes three days, five gallons of coffee, a small team of neighbours and seven conversations with a call centre abroad just to turn one on.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#11 2022-11-27 14:55:38

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Query graphic to list all supported modes and refresh rates [SOLVED]

Ha, not to mention all the bullshit privacy policies you have to agree to in order to use the smart features.  I found at least 8 displayed to me when I put this on the network.  Ended up resetting to factory settings and just leaving the network unconfigured.  Companies should have you pay you a monthly fee based on how other companies use your data once you opt into it.  The system is ass backwards currently.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB