PI4B 8gb with bookworm lite
Kernel 6.6.20
Adafruit pitft2.8-capacitive
Using the Pi4B with SPI display most of the time headless.
Combination worked fine on kernel 6.1.20, but stopped working after the upgrade to kernel 6.6.29.
Below a comparison between 6.1.0 and 6.6.20:Main difference is the /dev/dri/carc0 and /dev/dri/card1 entries are swapped.
Using the followingmakes pygame displaying its output on the SPI lcd.
Obviously pygame defaults to /dev/dri/card0.
I also compared kernel modules in between 6.1.0 and 6.6.20
In 6.6.20 videobuf-core and videobuf-vmalloc are missing.
Kernel 6.6.20
Adafruit pitft2.8-capacitive
Using the Pi4B with SPI display most of the time headless.
Combination worked fine on kernel 6.1.20, but stopped working after the upgrade to kernel 6.6.29.
Below a comparison between 6.1.0 and 6.6.20:
Code:
kernel 6.1.0------------tvo@pi64-deb12l:~ $ uname -aLinux pi64-deb12l 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linuxtvo@pi64-deb12l:~ $ ls -l --color=none /dev/dri/by-path/total 0lrwxrwxrwx 1 root root 8 Mar 16 19:23 platform-fe204000.spi-cs-0-card -> ../card0lrwxrwxrwx 1 root root 8 Mar 16 19:23 platform-fec00000.v3d-card -> ../card1lrwxrwxrwx 1 root root 13 Mar 16 19:23 platform-fec00000.v3d-render -> ../renderD128lrwxrwxrwx 1 root root 8 Mar 16 20:55 platform-gpu-card -> ../card2kmstest (no argumentsr) displays on SPI.(kmstest --device=/dev/dri/card2 displays on hdmi when connected.pygame works on SPI display and reports KMSDRM as video driver.kernel 6.6.20-------------Restored 6.6.20 in /boot/firmware with the following commands:tvo@pi64-deb12l:/boot/firmware $ sudo cp ../initrd.img-6.6.20+rpt-rpi-v8 ./initramfs8tvo@pi64-deb12l:/boot/firmware $ sudo cp ../vmlinuz-6.6.20+rpt-rpi-v8 ./kernel8.imgtvo@pi64-deb12l:~ $ uname -aLinux pi64-deb12l 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linuxtvo@pi64-deb12l:~ $ ls -l --color=none /dev/dri/by-path/total 0lrwxrwxrwx 1 root root 8 Mar 16 21:12 platform-fe204000.spi-cs-0-card -> ../card1lrwxrwxrwx 1 root root 8 Mar 16 21:12 platform-fec00000.v3d-card -> ../card0lrwxrwxrwx 1 root root 13 Mar 16 21:12 platform-fec00000.v3d-render -> ../renderD128lrwxrwxrwx 1 root root 8 Mar 16 21:12 platform-gpu-card -> ../card2kmstest (no arguments) displays on SPIkmstest --device=/dev/dri/card2 displays on hdmi (when connected).pygame displays on hdmi (320x240, top left part) and reports KMSDRM as video driver.
Using the following
Code:
cd /dev/drisudo mv card1 card11sudo mv card0 card1sudo mv card11 card0
Obviously pygame defaults to /dev/dri/card0.
I also compared kernel modules in
Code:
kernel/drivers/media/v4l2-core
In 6.6.20 videobuf-core and videobuf-vmalloc are missing.
Statistics: Posted by tvoverbeek — Sun Mar 17, 2024 7:28 pm