add framebuffer size increase to usercfg.txt #25

Closed
opened 2020-08-13 16:35:55 +00:00 by sundog · 3 comments
Member

The framebuffer defaults to a size of 1920x1080 regardless of the resolution of the connected display, so images are scaled down and then back up on 2K/4K displays unless the framebuffer size is adjusted like this example for 2k:

max_framebuffer_height=2560
max_framebuffer_width=2560
framebuffer_width=2560
framebuffer_height=1600
framebuffer_depth=32
framebuffer_ignore_alpha=1
The framebuffer defaults to a size of 1920x1080 regardless of the resolution of the connected display, so images are scaled down and then back up on 2K/4K displays unless the framebuffer size is adjusted like this example for 2k: ``` max_framebuffer_height=2560 max_framebuffer_width=2560 framebuffer_width=2560 framebuffer_height=1600 framebuffer_depth=32 framebuffer_ignore_alpha=1 ```
kemonine added the
bug
label 2020-08-13 16:50:47 +00:00
kemonine added this to the Initial Stable Deployment milestone 2020-08-13 16:50:50 +00:00
kemonine self-assigned this 2020-08-13 16:50:53 +00:00
sundog was assigned by kemonine 2020-08-13 16:50:53 +00:00
Author
Member

working config for 8.9" 2k 60hz panel from Electric Magic:

ubuntu@piframe-one:~$ cat /boot/firmware/usercfg.txt 
# Place "config.txt" changes (dtparam, dtoverlay, disable_overscan, etc.) in
# this file. Please refer to the README file for a description of the various
# configuration files on the boot partition.
gpu_mem=512
disable_overscan=1

# 8.9" 2k LCD panel from Electric Magic via Amazon ( https://www.amazon.com/gp/product/B082YFY8PW )
# 2560x1600 @ 60Hz (16:10)
hdmi_group=2
hdmi_mode=76
max_framebuffer_height=2560
max_framebuffer_width=2560
framebuffer_width=2560
framebuffer_height=1600
framebuffer_depth=32
framebuffer_ignore_alpha=1
working config for 8.9" 2k 60hz panel from Electric Magic: ``` ubuntu@piframe-one:~$ cat /boot/firmware/usercfg.txt # Place "config.txt" changes (dtparam, dtoverlay, disable_overscan, etc.) in # this file. Please refer to the README file for a description of the various # configuration files on the boot partition. gpu_mem=512 disable_overscan=1 # 8.9" 2k LCD panel from Electric Magic via Amazon ( https://www.amazon.com/gp/product/B082YFY8PW ) # 2560x1600 @ 60Hz (16:10) hdmi_group=2 hdmi_mode=76 max_framebuffer_height=2560 max_framebuffer_width=2560 framebuffer_width=2560 framebuffer_height=1600 framebuffer_depth=32 framebuffer_ignore_alpha=1 ```
Owner

Update docs with link to the panel as well as usercfg.txt updates with the above.

Update docs with link to the panel as well as ```usercfg.txt``` updates with the above.
Author
Member

working config for 10.5" 1080p @ 50Hz panel as well as 12" 1080p @ 50Hz panel, both sourced from alibaba last year:

# 10.5" 1920x1080 @ 50Hz panel from alibaba
hdmi_cvt=1920 1080 50 3 0 0 0
hdmi_group=2
hdmi_mode=87
working config for 10.5" 1080p @ 50Hz panel as well as 12" 1080p @ 50Hz panel, both sourced from alibaba last year: ``` # 10.5" 1920x1080 @ 50Hz panel from alibaba hdmi_cvt=1920 1080 50 3 0 0 0 hdmi_group=2 hdmi_mode=87 ```
Sign in to join this conversation.
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PiFrame/piframe#25
No description provided.