fb0 size set to 480x864

This commit is contained in:
lupeng 2019-02-26 15:50:01 +08:00
parent fb2d2ea130
commit 5d3bdb373f
2 changed files with 4 additions and 3 deletions

View File

@ -1,10 +1,11 @@
#!/bin/sh #!/bin/sh
export QT_QPA_PLATFORM=eglfs:size=896x480 export QT_QPA_PLATFORM=eglfs:size=480x864
export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt5/plugins export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt5/plugins
export QT_QPA_FONTDIR=/usr/lib/fonts export QT_QPA_FONTDIR=/usr/lib/fonts
export QT_QPA_GENERIC_PLUGINS=tslib export QT_QPA_GENERIC_PLUGINS=tslib
export QT_QPA_EGLFS_INTEGRATION=none export QT_QPA_EGLFS_INTEGRATION=none
#export QT_QPA_EGLFS_ROTATION=90
export XDG_RUNTIME_DIR=/dev/shm export XDG_RUNTIME_DIR=/dev/shm
#export QT_QPA_GENERIC_PLUGINS=evdevmouse:/dev/input/event1 #export QT_QPA_GENERIC_PLUGINS=evdevmouse:/dev/input/event1
export QT_QPA_GENERIC_PLUGINS=evdevkeyboard:/dev/input/event0 export QT_QPA_GENERIC_PLUGINS=evdevkeyboard:/dev/input/event0

View File

@ -498,11 +498,11 @@ screen0_output_mode = 2
screen0_output_format = 0 screen0_output_format = 0
screen1_output_type = 1 screen1_output_type = 1
screen1_output_mode = 4 screen1_output_mode = 8
fb0_format = 0 fb0_format = 0
fb0_width = 480 fb0_width = 480
fb0_height = 896 fb0_height = 864
fb1_format = 0 fb1_format = 0
fb1_width = 0 fb1_width = 0