Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 84|Reply: 0

force framebuffer resolution

[Copy link]

1

Threads

1

Posts

5

Credits

Novice

Rank: 1

Credits
5
Post time 2021-11-29 20:58:58 | Show all posts |Read mode
Hi all,

I have a problem with a orange PI pc. The framebuffer resolution is wrong after the system is booted up.
I have tried different solutions to fix the problem, it will boot up with 1024x768 but it should be 1280x2400.

Sometimes after a couple of reboots fb0 is 1280x2400p then it works..

This is how it should look like:

mode "1280x2400"
    geometry 1280 2400 1280 2400 32
    timings 0 0 0 0 0 0 0
    accel true
    rgba 8/16,8/8,8/0,0/0
endmode

Frame buffer device information:
    Name        : DRM emulated
    Address     : 0
    Size        : 12288000
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 1
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 5120
    Accelerator : No


The fbset command is not working --> "fbset -fb /dev/fb0 -g 1280 2400 1280 2400 32" , the result is --> ioctl FBIOPUT_VSCREENINFO: Invalid argument"

I have used rc.local,  "fbset -db /etc/fb.modes --all "1280x2400"

I tried armbianENV.txt with disp_mode not working :-(

(framebuffer path on NanoDLP is  = /dev/fb0)

/sys/class/graphics/fb0/modes = U:1024x768p-0  
/sys/class/graphics/fb1/modes = U:1280x2400p-0

Maybe force framebuffer fb0 to use U:1280x2400p-0 ???

I hope anyone can help, thank you!

Florian
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2022-1-29 21:41 GMT+8 , Processed in 0.025351 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list