Created
July 15, 2021 15:56
-
-
Save mokjpn/22f29527f723c4b5be3d90ab84e16a39 to your computer and use it in GitHub Desktop.
Ubuntu 21 on Raspberry Pi + 4K ウルトラワイドモニター + ツイ廃液晶
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pi4] | |
disable_fw_kms_setup=1 | |
max_framebuffers=2 | |
disable_overscan=1 | |
dtoverlay=vc4-fkms-v3d | |
hdmi_force_hotplug=1 | |
boot_delay | |
kernel=vmlinuz | |
initramfs initrd.img followkernel | |
gpu_mem=512 | |
[all] | |
arm_64bit=1 | |
kernel=vmlinuz | |
cmdline=cmdline.txt | |
initramfs initrd.img followkernel | |
# Enable the audio output, I2C and SPI interfaces on the GPIO header | |
dtparam=audio=on | |
dtparam=i2c_arm=on | |
dtparam=spi=on | |
# Enable the FKMS ("Fake" KMS) graphics overlay, enable the camera firmware | |
# and allocate 128Mb to the GPU memory | |
#dtoverlay=vc4-fkms-v3d | |
#gpu_mem=512 | |
# Comment out the following line if the edges of the desktop appear outside | |
# the edges of your display | |
# If you have issues with audio, you may try uncommenting the following line | |
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't | |
# support audio output) | |
#hdmi_drive=2 | |
# If you have a CM4, uncomment the following line to enable the USB2 outputs | |
# on the IO board (assuming your CM4 is plugged into such a board) | |
#dtoverlay=dwc2,dr_mode=host | |
#hdmi_group=2 | |
[HDMI:0] | |
hdmi_enable_4kp60:0=1 | |
hdmi_pixel_freq_limit:0=600000000 | |
max_framebuffer_width:0=3440 | |
max_framebuffer_height:0=1440 | |
framebuffer_width:0=3440 | |
framebuffer_height:0=1440 | |
#hdmi_mode:0=87 | |
#hdmi_group:0=2 | |
#hdmi_cvt:0=3440 1440 60 7 0 0 1 | |
[HDMI:1] | |
max_framebuffer_width:1=480 | |
max_framebuffer_height:1=1920 | |
framebuffer_width:1=480 | |
framebuffer_height:1=1920 | |
hdmi_mode:1=87 | |
hdmi_timings:1=480 0 30 30 30 1920 0 6 6 6 0 0 0 60 0 55296000 0 | |
hdmi_group:1=2 | |
#hdmi_drive=2 | |
#hdmi_force_mode=2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment