Hot answers tagged

2

Try adding the line framebuffer_priority=7 to /boot/config.txt .


2

You can easily boot the Pi headless without a display - but obviously to CLI not to a GUI. If you want to boot to GUI without a display (e.g. to use VNC) you need to configure the Pi4 to use a default resolution. See https://raspberrypi.stackexchange.com/a/113873/8697 If you want to use a monitor it is preferable to configure with the monitor attached (so ...


2

As I understand it, the tool you accidentally cancelled is known as piwiz.desktop (also known as the "First-run Wizard"), and it is located here: /etc/xdg/autostart/piwiz.desktop. You might first want to check to see if it's still there, and re-start it if you can. Another alternative is to re-flash your SD card using rpi-imager. Follow these ...


2

This sounds like a classic signal integrity problem. If you have different cables, test those, perhaps you'll find one that your TV likes better than others. You may also consider buying a new one, especially if the ones you have are cheap, thin and no-name. As always, shorter cables work better than longer ones, especially if the cable is the root cause of ...


2

Did you try display_hdmi_rotate=2 ? put it in config.txt


2

Assuming you want the whole screen to flash it is easy in pygame: import pygame,time pygame.init() scr = pygame.display.set_mode((0, 0), pygame.FULLSCREEN) r=1 while r<20: scr.fill(pygame.Color('black')) pygame.display.update() time.sleep(0.1) scr.fill(pygame.Color('white')) pygame.display.update() time.sleep(0.1) r+=1 ...


2

The simplest GUI is guizero. To install: pip3 install guizero Simple example: from guizero import App app = App(title="Hello world") app.display() https://lawsie.github.io/guizero/start/ One method to autostart: sudo thonny /etc/xdg/lxsession/LXDE-pi/autostart Add: @python3 /home/pi/test.py


1

A touchscreen has no relation to the display it is attached to, and has no concept of pixels. Its driver receives analog signals from the matrix and produces X and Y coordinates which are float values between 0 and 1, and sometimes (depending on the device type and the driver) a byte encoding the pressure. If you know the underlying screen resolution, you ...


1

Here are a few things to try based on several threads that I found regarding video related Pi 4 boot issues. Update the firmware in the eeprom but make sure you have backups of anything important and stable power. Problems are rare but can have issues up to and including bricking the Pi. Be careful and make sure that you understand the process. sudo apt ...


1

SOLVED: I needed to force HDMI output. I did this by opening: sudo nano /boot/config.txt and uncommenting the line: hdmi_force_hotplug=1


1

If you remove --filter nearest from the end of the xrandr line in /usr/share/dispsetup.sh it should resolve your issue (on my system it looks like xrandr --output HDMI-1 --scale 0.5x0.5, but yours may be slightly different). Looks like this is a bug in raspi-config. It's caused by a newer version of xrandr that doesn't support the --filter option, which ...


1

How does the cronjob know what display this refers to? Cron does not inherit any X11 environment. The display that is used by X11 is found in the variable DISPLAY. For example, I might get: $ echo $DISPLAY localhost:10.0 But in your cronjob, $DISPLAY is empty. A cronjob is not the place where you do this. If the set-up is specific for your session, you woud ...


1

It should still be there, but not autorun. Try running /usr/bin/piwiz in the Run Menu. It doesn't really do anything that can't be done with raspi-config


1

As far as I remember, you need hdmi_force_hotplug=1 in your config.txt if the HDMI screen is not connected at boot time. Otherwise, if you start without an HDMI screen but later connect it, it will not work until you reboot.


1

Ground is Pin 9 just to make sure :P but yes that + sudo nano /boot/config.txt --> add the following line to the end of the file: dtoverlay=rpi-display helped me a lot THX SmuPi just to give another hint Typically you want to see your device booting on the TFT. I.e. your boot console must be mapped to /dev/fb1. Open /boot/cmdline.txt as root: > ...


1

I see this question was asked almost 3 years back. I hope that this information will be useful to you. Firstly: 2 to 4 inches is quite small for all that info. But up to you. Down to the nitty-gritty: You need a driver circuit to send the update to the ePaper display. The Adafruit one mentioned by @Tom in the previous post has the driving circuit and ePaper ...


Only top voted, non community-wiki answers of a minimum length are eligible