Very bad performance when I compile Makerfabs ESP32-S3 Parallel TFT with Touch 7“ examples

The Makerfabs git repo for the examples is at: https://github.com/Makerfabs/ESP32-S3-Parallel-TFT-with-Touch-7inch/tree/main/example and it compiles and runs fine using the Arduino IDE, but slows to a crawl when I compile/load it using Platformio. I suspect this is related to the PSRAM issue mentioned at https://community.platformio.org/t/very-bad-performance-if-i-compile-the-example-for-esp32-cam/19730 but I have been unable to figure out what to do. I am using a fully up to date PlatformIO install so I’d have thought the issues mentioned in the 2 year old thread would have been included in the released version by now.

The platfomio.ini file I came up with for the Makerfabs repo is the following

[platformio]
default_envs = music_picture
src_dir = example/${platformio.default_envs}

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
build_flags = -DBOARD_HAS_PSRAM
board_build.arduino.memory_type = qio_opi
board_build.f_flash = 80000000L
board_build.flash_mode = qio
board_upload.flash_size = 16MB
monitor_speed = 115200
board_build.partitions = noota_3g.csv

[env:esp32s3_7_tft_fw_test]
extends = env:esp32-s3-devkitc-1
lib_deps =
tamctec/TAMC_GT911 @ ^1.0.2
GitHub - moononournation/Arduino_GFX: Arduino GFX developing for various color displays and various data bus interfaces
GitHub - schreibfaul1/ESP32-audioI2S: Play mp3 files from SD via I2S
bitbank2/JPEGDEC

[env:music_picture]
extends = env:esp32-s3-devkitc-1
lib_deps =
tamctec/TAMC_GT911 @ ^1.0.2
GitHub - moononournation/Arduino_GFX: Arduino GFX developing for various color displays and various data bus interfaces
GitHub - schreibfaul1/ESP32-audioI2S: Play mp3 files from SD via I2S
bitbank2/JPEGDEC