Display to USB by default, rather than HDMI
-
Hi,
I've recently bought a 2.8" USB Display from DFRobot (https://shop.pimoroni.com/products/2-8-usb-tft-touch-display-screen-for-raspberry-pi-v2). To install, I F4'd to the command line and followed the instructions here: https://github.com/pimoroni/rp_usbdisplay. All works as expected, and I can send test data to the USB screen from the command line. I then managed to display the console on the USB display, by adding "fbcon=font:ProFont6x11 fbcon=map:1" to /boot/cmdline.txt. Fantastic!
Now I want Emulation Station to display on this USB screen rather than HDMI but I can't figure out how to do this. I found info elsewhere which says to modify some .conf files in /usr/share/X11/xorg.conf.d/ to change the default display, and then run "startx". But this doesn't apply to Retropie because from what I understand the "X" gui has been stripped from the OS. No matter what I do, Emulation Station always displays to HDMI by default.
Is it at all possible to even achieve this? Any help would be much appreciated.
Cheers,
Martin
-
I have to think it's possible, but how, I'm not sure. I'd start by looking at what you can adjust in
/boot/config.txt
-
I had a look in
/boot/config.txt
, but there was nothing of use there. I did come across something else though;https://github.com/tasanakorn/rpi-fbcp
This utility will copy all the data from my primary framebuffer (fb0 / HDMI) to my secondary framebuffer (fb1/ USB). I've set it up to auto-run on start-up and it kind of works now. My next problem is that the refresh rate is only around 1 fps!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.