How do I change the native display size?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How do I change the native display size?

ソリューションへジャンプ
1,878件の閲覧回数
patsandt
Contributor III

When I call fbGetDisplayGeometry, I see a width height of 1024x768. I need it to be 1280x800 to support my projector's resolutions. (I need all those pixels for my application). I've tried "fbset -xres 1280 -yres 800", but get an invalid argument error.

ラベル(3)
タグ(1)
0 件の賞賛
返信
1 解決策
1,569件の閲覧回数
patsandt
Contributor III

Thanks, but I eventually went into the barebox parameters to "fix" it: for me, that meant this:

video=HDMI-A-1:1280x800-32.

fbset seems to do nothing. I had originally tried 1280x800-24, but it seems that the fb, egl, gl packages want -32, not -24.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,569件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Pat,

    If using fbset command, probably it will generate some issues, you can try these operations:

(1) Switching frambuffer: cat /sys/class/graphics/fb2/modes

(2) echo D:1280x800-60 > /sys/class/graphics/fb2/mode

If there still exist erros, It means that your system doesn't support 1280x800 resolution, so you can't get it in your application. You should re-configure display interface( you should confirm which port you are using: LVDS0/LVDS1/ HDMI / Parallel LCD ?  ) in Linux device tree( BSP) to be 1280x800.

   If you don't know how to port it to your system, please ask BSP or driver softerware engineer to help you do it!

Best Regards,

Weidong

0 件の賞賛
返信
1,570件の閲覧回数
patsandt
Contributor III

Thanks, but I eventually went into the barebox parameters to "fix" it: for me, that meant this:

video=HDMI-A-1:1280x800-32.

fbset seems to do nothing. I had originally tried 1280x800-24, but it seems that the fb, egl, gl packages want -32, not -24.

0 件の賞賛
返信