Thanks. I think I get it now. I'm learning a lot. The /dev/dri/card0 is totally new to me. The /dev/fb0 doesn't do rotation anymore via /sys/class/graphics/fb0/rotate.crashoverride wrote: โWed Apr 22, 2020 1:55 pmIt means the display is rotated 90 degrees (portrait to landscape) without any modifications to programs using SDL. The X and Y widths are swapped to reflect this.
I ordered touch screen for my Raspberry Pi with the same resolution. I'm hoping it will be easier for me to do SDL2 migration on the old PI which I'm comfortable with.