hi ,
First , I tested HDMI display with raspberry pi 3.
Code:
pi@raspberrypi:~ $ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1366 x 768, current 1366 x 768, maximum 1366 x 768
default connected 1366x768+0+0 0mm x 0mm
1366x768 0.00*
pi@raspberrypi:~ $ xrandr --verbose
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1366 x 768, current 1366 x 768, maximum 1366 x 768
default connected 1366x768+0+0 (0x2a6) normal (normal) 0mm x 0mm
Identifier: 0x2a5
Timestamp: 21829
Subpixel: unknown
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:
1366x768 (0x2a6) 0.000MHz *current
h: width 1366 start 0 end 0 total 1366 skew 0 clock 0.00KHz
v: height 768 start 0 end 0 total 768 clock 0.00Hz
$ gtf 1366 768 0.00
# 1368x768 @ 0.00 Hz (GTF) hsync: nan kHz; pclk: nan MHz
Modeline "1368x768_0.00" nan 1368 0 0 0 768 769 772 769 -HSync +Vsync
So , it seems 1366x768 resolution is OK for HDMI display .
Now ,
I have dreamplug device . it has VGA and HDMI output .
It is running ubuntu 10.04 with architecture armv7l.
OS is not the problem , Configuring HDMI is .
Here is xrandr output
Code:
Screen 0: minimum 300 x 200, current 1024 x 768, maximum 2390 x 768
lvds connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.0*+
1366x768 60.0
1280x768 60.0
1280x720 60.0
1024x600 60.0
800x600 60.3 56.2
800x480 54.3
640x480 60.0
VGA connected 1024x768+0+0 (normal left inverted right x axis y axis) 270mm x 200mm
1024x768 75.0 70.1 60.0*
832x624 74.6
800x600 85.1 72.2 75.0 60.3 56.2
640x480 85.0 75.0 72.8 66.7 59.9
720x405 70.0
720x400 70.1
I tried all the options available in lvds (sudo xrandr --output lvds --mode <mode>) but HDMI output is distorted version of VGA output in some cases (640x480 , 1280x720 , 1024x768), 'no signal' in others. Horizontal and vertical sync seems to be the issue.
So , I created new mode (using output of gtf from above) as follows
$xrandr --newmode "1368x768_0.00" nan 1368 0 0 0 768 769 772 769 -HSync +Vsync
Ran it
$xrandr --addmode 1368x768_0.00
$sudo xrandr --output lvds --mode 1368x768_0.00
VGA display showed login prompt again . Seems , X server got killed and restarted.
I think , if I give the right parameters for X configuration. It should work.
Now , what should I do ?
attached /var/log/xorg.0.log
Thanks.