Skip to content

16-bit framebuffer only with the lastest kernel #3331

Closed

Description

@BigMuscle85

When using custom compiled kernel (4.19.81-v7+) or the latest beta kernel (via rpi-update), frame buffer has 16-bit depth only. Setting framebuffer_depth=32 makes no difference. Also X server displays 16-bit colors only. This does not happen when using the kernel 4.19.75-v7+.

I would expect 32-bit frame buffer by default or accepting framebuffer_depth=32 in /boot/config.txt.

  • Raspberry Pi 3B+ with 7" touch display
  • Raspbian Buster Lite
  • Kernel version 4.19.81-v7+
pi@raspberrypi:~$ fbset

mode "800x480"
geometry 800 480 800 480 16
timings 0 0 0 0 0 0 0
rgba 5/11,6/5,5/0,0/16
endmode 

Activity

  1. JamesH65 commented on Nov 13, 2019

    @JamesH65
    Contributor

    I'm just looking into this. I can see what's happening, but not sure exactly what the appropriate action is.

  2. JamesH65 commented on Nov 14, 2019

    @JamesH65
    Contributor

    OK, a fix for this was just merged to our internal firmware repo. Will take a few days to reach rpi-update, then a bit longer to get in to apt.

  3. added
    Close within 30 days
    on Nov 14, 2019
  4. self-assigned this
    on Nov 14, 2019
  5. popcornmix commented on Nov 14, 2019

    @popcornmix
    Collaborator

    Fix is in latest rpi-update firmware.

  6. BigMuscle85 commented on Nov 15, 2019

    @BigMuscle85
    Author

    Thank you. I appreciate your quick response.
    But how to get the fix to the custom compiled kernel? I pulled and built the latest code and the bug still persists there.

  7. popcornmix commented on Nov 15, 2019

    @popcornmix
    Collaborator

    It's a firmware rather than kernel fix. You need updated start.elf/fixup.dat.
    Using rpi-update is the easiest way of getting latest test firmware.

  8. BigMuscle85 commented on Nov 16, 2019

    @BigMuscle85
    Author

    Ok. I guess that plain rpi-update also replaces my custom compiled kernel and kernel modules. Is "sudo SKIP_KERNEL=1 rpi-update" enough to get this fix ?

  9. popcornmix commented on Nov 18, 2019

    @popcornmix
    Collaborator

    Yes, that will work. You just need the start*.elf / fixup*.dat files.

  10. BigMuscle85 commented on Nov 25, 2019

    @BigMuscle85
    Author

    Ok. I can confirm that this is fixed after running "sudo SKIP_KERNEL=1 rpi-update".

  11. added a commit that references this issue on Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Close within 30 days

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions