I have a ili9341 2.4" TFT display wired to SP1 on my BeagleBone Black and 
it's working fine when I run fbi to display images, or mplayer to play 
movies.

I'm unable to get *pygame* to display on it.  I'm trying to get my 
clock.py[1] to work and all I get is:
pygame 1.9.4.post1
Hello from the pygame community. https://www.pygame.org/contribute.html
Driver: fbcon failed.
Driver: directfb failed.
Driver: svgalib failed.
Traceback (most recent call last):
  File "./clock.py", line 142, in <module>
    clock = pyclock()
  File "./clock.py", line 38, in __init__
    raise Exception('No suitable video driver found!')
Exception: No suitable video driver found!

/opt/scripts/tools/version.sh is here[2].  There are no messages in dmesg.

This worked a couple of years ago.  Any ideas how to get this pup running 
again?

---Mark

[1] 
https://github.com/MarkAYoder/BeagleBoard-exercises/blob/master/displays/ili9341/fb/pygame/clock.py

[2]
git:/opt/scripts/:[ef16ffa8c27225005cc2b2c974a83da3dee6c1ef]
eeprom:[A335BNLT0A5A1513BBBK3586]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-08-31]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 
2019.04-00002-gc9b3922522]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]
UBOOT: Loaded Overlay:[AM335X-PRU-RPROC-4-19-TI-00A0]
UBOOT: Loaded Overlay:[BB-ADC-00A0]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]
kernel:[4.19.94-ti-r50]
nodejs:[v10.21.0]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[uboot_overlay_pru=AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
<pkg>]
pkg:[bb-cape-overlays]:[4.14.20200814.0-0~buster+20200814]
pkg:[bb-wl18xx-firmware]:[1.20200813.1-0~buster+20200813]
pkg:[kmod]:[26-1]
pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]
groups:[debian : debian adm tty kmem dialout cdrom floppy audio dip video 
plugdev users systemd-journal input bluetooth netdev i2c gpio admin spi iio 
docker tisdk weston-launch xenomai cloud9ide pwm eqep remoteproc]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[   67.629755] remoteproc remoteproc0: wkup_m3 is available
[   67.697686] remoteproc remoteproc0: powering up wkup_m3
[   67.697720] remoteproc remoteproc0: Booting fw image 
am335x-pm-firmware.elf, size 217168
[   67.697999] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   69.600373] remoteproc remoteproc1: 4a334000.pru is available
[   69.602641] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[   69.600373] remoteproc remoteproc1: 4a334000.pru is available
[   69.600538] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed 
successfully
[   69.602641] remoteproc remoteproc2: 4a338000.pru is available
[   69.602818] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed 
successfully
dmesg | grep pinctrl-single
[    0.925809] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.939434] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/f2131d8c-d8c5-4392-b837-52efeb347b78n%40googlegroups.com.

Reply via email to