Change display resolution of iMx6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Change display resolution of iMx6

跳至解决方案
8,485 次查看
tahimr
Contributor II

Hi there,

I'm beginner in iMX6. This is several basic question:

S:1920x1080p-60

S:1920x1080p-50

S:1280x720p-60

V:640x480p-60

D:1280x720p-60

V:640x480p-60

1.what is S, D, V, p, i stand for?

2. how can i change resolution of hdmi output?

3. Any example source code for test hdmi. For instance, display something via hdmi?  

4. what is difference between "mode" and "modes" in "/sys/class/graphics/fb1/"              => done

My system: Linux kernel 3.0.35

dmesg | grep mxc_hdmi

mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver hdmi

Thank you,

标签 (3)
0 项奖励
回复
1 解答
5,380 次查看
saurabh206
Senior Contributor III

Hi,

tahi

4. what is difference between "mode" and "modes" in "/sys/class/graphics/fb1/"

modes shows the list of supported resolution. and mode provides the information for the current setup resolution.

You change the value in mode from different values of modes.

if xrandr command is available than it can also be used to change the output display.

"xrandr -s 1920x1080" sets output to 1080p

Regards

Saurabh

在原帖中查看解决方案

0 项奖励
回复
7 回复数
5,380 次查看
daonamthai
Contributor I

1.what is S, D, V, p, i stand for?

i: interlaced

p:progressive

Please refer: http://www.serif.com/blog/video-editing-terms-explained-part-2-progressive-p-vs-interlaced-i-recordi...

0 项奖励
回复
5,380 次查看
saurabh206
Senior Contributor III

Hi,

export DISPLAY=:0

Saurabh

0 项奖励
回复
5,380 次查看
tahimr
Contributor II

It's still doesn't work. Do i need connect real monitor to hdmi port? I have just typed a command.

0 项奖励
回复
5,380 次查看
saurabh206
Senior Contributor III

Hi,

What is your kernel command line?

what happens after following command

export DISPLAY=:0

xrandr -s 1920x1080

Did you get any error message?

0 项奖励
回复
5,380 次查看
tahimr
Contributor II

This is response message

"Can't open display : 0 "

0 项奖励
回复
5,381 次查看
saurabh206
Senior Contributor III

Hi,

tahi

4. what is difference between "mode" and "modes" in "/sys/class/graphics/fb1/"

modes shows the list of supported resolution. and mode provides the information for the current setup resolution.

You change the value in mode from different values of modes.

if xrandr command is available than it can also be used to change the output display.

"xrandr -s 1920x1080" sets output to 1080p

Regards

Saurabh

0 项奖励
回复
5,380 次查看
tahimr
Contributor II

Thank you so much.

xrandr return "Can't open display"

What frame buffer (fb0, fb1...) is impacted by "xrandr" ?

In case, i want add more to list of support resolution. How can i do?

Sincerely,

Tahi

0 项奖励
回复