Hi,
I’m working on Jetson TX1, and trying to capture the output video with a DVI2USB 3.0 Frame Grabber.
The grabber is connected via an HDMI-to-DVI cable, and supports input resolution of 1920X1200 60 Hz (the resolution is configured in the grabber’s EDID file).
I’m trying to set a custom refresh rate to 50Hz (staying with 1920X1200) without any success.
I have tried the following commands:
cvt 1920 1200 50
Which gives: # 1920x1200 49.93 Hz (CVT 2.30MA) hsync: 61.82 kHz; pclk: 158.25 MHz
Modeline “1920x1200_50.00” 158.25 1920 2040 2240 2560 1200 1203 1209 1238 -hsync +vsync
Then: sudo xrandr --newmode “1920x1200_50.00” 158.25 1920 2040 2240 2560 1200 1203 1209 1238 -hsync +vsync
And then: sudo xrandr --addmode HDMI-0 1920x1200_50.00
But the error I get is:
ubuntu@tegra-ubuntu:~ $ xrandr --addmode HDMI-0 1920x1200_50.00
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 20
Current serial number in output stream: 21
When I check the supported output resolution (when the grabber is connected) I get:
ubuntu@tegra-ubuntu:~ $ xrandr -q
Screen 0: minimum 16 x 16, current 1920 x 1200, maximum 16384 x 16384
HDMI-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 400mm x 300mm
1920x1200 59.95*+
When I try to force the frame rate with the command:
ubuntu@tegra-ubuntu:~ $ xrandr –s 1920x1200 –r 50
I get nothing, like it succeeded, but nothing happens. The grabber blinks for one second but after that it back to its normal mode (60 Hz)
and when I try:
ubuntu@tegra-ubuntu:~ $ xrandr –s 1920x1200 –r 60 (or any other value, even 59.95), I get:
Rate 60.00 Hz not available for this size
I’ve also tried to set the resolution mode in /etc/X11/xorg.conf
In all of these cases, the grabber still get 1920x1200 60Hz.
If it’s matter, i’m using ubuntu 16.04 64 bit, and have the latest L4T version (24.2.1)
Any suggessions?
Thanks,
Shani.