I have put together a Raspberry Pi 4 with an OV5647 camera and a 5 inch display.
I have installed motioneye as software. That also works great.
Now the image from the camera should also be displayed. I have installed chromium for this. I then selected chromium in the autostart option and configured it with http://localhost:9081.
After a restart, the screen flashes in all colours. One second white then one second green then one second blue and so on.
What do I have to change?
Where can I find log files?
Did you set a screen resolution with dietpi-config?
I have only changed the resolution at chromuim to 800x600. Which option do you mean
This is exactly what I meant. There was a case a week or so ago, where somebody had also problems with chromium, but only chromium showed visual artifacts. Setting a screen resolution with dietpi-config solved the problem in this case.
But probably this case might b different as chromium is started within kiosk mode and not an a desktop?
So chromium in kiosk mode starts without a dektop environment? I didn’t know that. It’s just xserver and chromium?
well, it’s still an xserver but not a full desktop.
chromium is started in kiosk mode.
exactly
I also think it is a setting from the x server. The resolution seems too high for the DSI display of 5 inch
display_auto_detect=1
#dtoverlay=vc4-kms-v3d
max_framebuffers=2
enable_uart=1
I have changed all this in /boot/config.txt and it works
Now I just have to switch off the mouse pointer
G_AGI unclutter && echo '/usr/bin/unclutter -idle 0.1 &' > /etc/chromium-browser/customizations/99-dietpi-unclutter
[ INFO ] APT install unclutter, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
Recommended packages:
unclutter-startup
The following NEW packages will be installed:
unclutter
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
Need to get 15.6 kB of archives.
After this operation, 42.0 kB of additional disk space will be used.
Get:1 https://deb.debian.org/debian bookworm/main arm64 unclutter arm64 8-25 [15.6 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 15.6 kB in 0s (46.5 kB/s)
Selecting previously unselected package unclutter.
(Reading database ... 32080 files and directories currently installed.)
Preparing to unpack .../unclutter_8-25_arm64.deb ...
Unpacking unclutter (8-25) ...
Setting up unclutter (8-25) ...
update-alternatives: using /usr/bin/unclutter-classic to provide /usr/bin/unclutter (unclutter) in auto mode
[ OK ] APT install unclutter
bash: /etc/chromium-browser/customizations/99-dietpi-unclutter: No such file or directory
unfortunately does not work
Before you can write to a file you need to create it.
This is also the solution to hide it on hidle.
There is also another way on the linked GitHub issue to hide it permanently.