AnsweredAssumed Answered

LS1021 DCU resolution

Question asked by Klemen PORENTA on Dec 30, 2014
Latest reply on Jan 3, 2015 by Klemen PORENTA

Hi,

 

 

we are evaluating HDMI port on TWR-LS1021A board where trying to change video resolution dynamically or at least set higher one.

 

 

We have successfully build fsl-image-x11 image and boot it on the target board (SDK 1.3)

u-boot: enabling video mode works as expected (640x480)

linux: X11 output works using smallest resolution offered by monitor (720x400)

 

 

What is correct way to change resolution?

 

 

Avaliable modes from monitor:

root@ls1021atwr:~# cat /sys/class/graphics/fb0/modes

S:1280x960p-60

V:1024x768p-60

V:800x600p-60

V:640x480p-60

U:720x400p-70

D:1280x1024p-60

 

xrand info:

root@ls1021atwr:~# xrandr

xrandr: Failed to get size of gamma for output default

Screen 0: minimum 720 x 400, current 720 x 400, maximum 720 x 400

default connected 720x400+0+0 0mm x 0mm

   720x400        70.0*

 

xrandr, adding new mode and applying with xrand:

root@ls1021atwr:~# cvt 640 480 60 -v

# 640x480 59.38 Hz (CVT 0.31M3) hsync: 29.69 kHz; pclk: 23.75 MHz

Modeline "640x480_60.00"   23.75  640 664 720 800  480 483 487 500 -hsync +vsync

root@ls1021atwr:~# xrandr --newmode "640x480_60.00" 23.75  640 664 720 800  480 483 487 500 -hsync +vsync

xrandr: Failed to get size of gamma for output default

root@ls1021atwr:~# xrandr --addmode default 640x480_60.00

xrandr: Failed to get size of gamma for output default

root@ls1021atwr:~# xrandr --output default --mode 640x480_60.00

xrandr: Failed to get size of gamma for output default

xrandr: screen cannot be larger than 720x400 (desired size 640x480)

root@ls1021atwr:~# xrandr --output default --mode 640x480_60.00

xrandr: Failed to get size of gamma for output default

xrandr: Configure crtc 0 failed

 

Also other resolutions were tested. First setting fb mode directly (/sys/class/graphics/fb0/mode) does not help either.

 

Any hints?

 

Thank you, Klemen

 

Outcomes