HDMI problem on Rpi4

Hi, I’m new on the forum and i try to connect a normal monitor on HDMI but the xserver doesn’t recognize the monitor.
On start the PI show some log but after zynthian start it desapear.
I’d like to test if the MOD-UI could be fine for playing also in a GIG situation.
This is my log

Nov 24 12:26:42 zynthian systemd[1]: zynthian.service: Main process exited, code=exited, status=1/FAILURE

Nov 24 12:26:42 zynthian systemd[1]: zynthian.service: Failed with result ‘exit-code’.
Nov 24 12:26:48 zynthian systemd[1]: zynthian.service: Service RestartSec=5s expired, scheduling restart.
Nov 24 12:26:48 zynthian systemd[1]: zynthian.service: Scheduled restart job, restart counter is at 15.
Nov 24 12:26:48 zynthian systemd[1]: Stopped Zynthian User Interface.
Nov 24 12:26:48 zynthian systemd[1]: Started Zynthian User Interface.
Nov 24 12:26:48 zynthian startx[1335]: X.Org X Server 1.20.4
Nov 24 12:26:48 zynthian startx[1335]: X Protocol Version 11, Revision 0
Nov 24 12:26:48 zynthian startx[1335]: Build Operating System: Linux 4.15.0-99-generic armv8l Raspbian
Nov 24 12:26:48 zynthian startx[1335]: Current Operating System: Linux zynthian 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l
Nov 24 12:26:48 zynthian startx[1335]: Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=64M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:99:50:A7 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Nov 24 12:26:48 zynthian startx[1335]: Build Date: 27 August 2020 08:51:48AM
Nov 24 12:26:48 zynthian startx[1335]: xorg-server 2:1.20.4-1+rpt2+deb10u1 (https://www.debian.org/support)
Nov 24 12:26:48 zynthian startx[1335]: Current version of pixman: 0.36.0
Nov 24 12:26:48 zynthian startx[1335]: Before reporting problems, check http://wiki.x.org
Nov 24 12:26:48 zynthian startx[1335]: to make sure that you have the latest version.
Nov 24 12:26:48 zynthian startx[1335]: Markers: (–) probed, (**) from config file, (==) default setting,
Nov 24 12:26:48 zynthian startx[1335]: (++) from command line, (!!) notice, (II) informational,
Nov 24 12:26:48 zynthian startx[1335]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Nov 24 12:26:48 zynthian startx[1335]: (==) Log file: “/var/log/Xorg.0.log”, Time: Tue Nov 24 12:26:48 2020
Nov 24 12:26:48 zynthian startx[1335]: (==) Using config directory: “/etc/X11/xorg.conf.d”
Nov 24 12:26:48 zynthian startx[1335]: (==) Using system config directory “/usr/share/X11/xorg.conf.d”
Nov 24 12:26:48 zynthian startx[1335]: (EE)
Nov 24 12:26:48 zynthian startx[1335]: Fatal server error:
Nov 24 12:26:48 zynthian startx[1335]: (EE) no screens found(EE)
Nov 24 12:26:48 zynthian startx[1335]: (EE)
Nov 24 12:26:48 zynthian startx[1335]: Please consult the The X.Org Foundation support
Nov 24 12:26:48 zynthian startx[1335]: at http://wiki.x.org
Nov 24 12:26:48 zynthian startx[1335]: for help.
Nov 24 12:26:48 zynthian startx[1335]: (EE) Please also check the log file at “/var/log/Xorg.0.log” for additional information.
Nov 24 12:26:48 zynthian startx[1335]: (EE)
Nov 24 12:26:48 zynthian startx[1335]: (EE) Server terminated with error (1). Closing log file.
Nov 24 12:27:03 zynthian startx[1335]: xinit: giving up
Nov 24 12:27:03 zynthian startx[1335]: xinit: unable to connect to X server: Connection refused
Nov 24 12:27:03 zynthian startx[1335]: xinit: server error
Nov 24 12:27:03 zynthian systemd[1]: zynthian.service: Main process exited, code=exited, status=1/FAILURE
Nov 24 12:27:03 zynthian systemd[1]: zynthian.service: Failed with result ‘exit-code’.

Hi @fdv81, welcome to our community.

You need to configure your device to use HDMI. By default out uses the Zynthian touchscreen. You configure it by connecting the Zynthian to you network then using a web browser to navigate to http://zynthian or its IP address if your computer does not resolve the hostname. Login with password, “raspberry”. You can then change Hardware->Kit to “Custom” and change Hardware->Display to “Generic HDMI Display”.

1 Like

…and you need to set suitable values for audio and controller hardware. If you leave defaults without attaching suitable hardware then Zynthian won’t start.

I had set all the parameters as i read in the config.txt and in the wiki and other documentation.
I setup custom kit and the other device anyway I found my problem.
After connection in SSH to the pi i setup display properties from raspi-config and i found that i have to set HDMI to digital. I don’t know if this a bug but i downloaded other image and the situation is the same.
Anyway the solution was run raspi-config to enable digital output to HDMI.
Now everything work on Zynthian

3 Likes

if you post your changes that are made in the config.txt we could add them to the Generic HDMI section

raspi-config add this line at the end of the config.txt

hdmi_enable_4kp60=1

From the Raspberry Pi documentation:

The Raspberry Pi 4 can drive up to two displays, with a resolution up to 1080p at a 60Hz refresh rate. At 4K resolution, if you connect two displays then you are limited to a 30Hz refresh rate. You can also drive a single display at 4K with a 60Hz refresh rate: this requires that the display is attached to the HDMI port adjacent to the USB-C power input (labelled HDMI0). You must also enable 4Kp60 output by setting the hdmi_enable_4kp60=1 flag in config.txt. This flag can also be set using the ‘Raspberry Pi Configuration’ tool within the desktop environment.

I am not sure we want this as default. We would need to check if it breaks normal (lower resolution / refresh rate) monitors. If so then it could be added as an additional display option to webconf.

1 Like

agree, I was thinking of having an additional “Generic 4k HDMI”

1 Like

I don’t have a 4K display to test.
Please, could someone add this config option and test it? :wink:

Thanks!

i have try to update le zynthian and after the update when i reboot i have the same issue.
So i launch the raspi-config and fix the screen problem.
May I downloaded the wrong version? when i connect to ssh the welcome message show me that the version is optmize for Rpi3, i have the Rpi4 in running “kitless”

Yes, it still Rpi3 optimized. It shows the same in my case.
Please update again.
The 4k HDMI display should be available now.

1 Like

Thanks @mheidt!!