RaspberryPi : output sent to hdmi instead of lcd - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166) +---- Thread: RaspberryPi : output sent to hdmi instead of lcd (/showthread.php?tid=330837) |
RaspberryPi : output sent to hdmi instead of lcd - Flavien_94 - 2018-04-12 Hi, I have a RaspberryPi model 3, with a small LCD screen attached. I'd like to use it for streaming music via upnp for now. And of course with Kodi. The LCD screen is 320x480. I have installed raspbian and kodi. Here are a few commands I ran : pi@raspberrypi:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.1 (stretch) Release: 9.1 Codename: stretch pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux pi@raspberrypi:~ $ dpkg -l | grep kodi ii kodi 2:17.5-1~stretch all Kodi Media Center (arch-independent data package) ii kodi-bin 2:17.5-1~stretch armhf Kodi Media Center (binary data package) pi@raspberrypi:~ $ DISPLAY=:0 xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 480 x 320, current 480 x 320, maximum 480 x 320 default connected 480x320+0+0 0mm x 0mm 480x320 0.00* Now, I start kodi using the gui. No output on the screen. Screen freezes. The kodi process runs though : pi@raspberrypi:~ $ ps -ef | grep kodi pi 1022 666 0 22:42 ? 00:00:00 /bin/sh /usr/bin/kodi pi 1044 1022 26 22:42 ? 00:00:08 /usr/lib/arm-linux-gnueabihf/kodi/kodi_v7.bin --lircdev /var/run/lirc/lircd I pasted the content of temp/kodi.log here : https://paste.ubuntu.com/p/D76Z8v8nVg/ Note that if I plug my tv to the hdmi plug of the Raspberry, I can see Kodi's output. How can I force kodi to sent output to the LCD screen instead of hdmi ? Thanks for your help ! RE: RaspberryPi : output sent to hdmi instead of lcd - dandnsmith - 2018-04-13 I'm feeling ignorant of things I should know: How is the LCD screen connected to the Pi? Have you modified /bin/config.txt to affect the display? Do you have the module tvservice installed - if so what is the output from tvservice -s when you try to use the LCD screen? RE: RaspberryPi : output sent to hdmi instead of lcd - Flavien_94 - 2018-04-13 Hi, The screen is the same size of the Pi board and connects directy on the GPIO. I did install the driver from http://www.raspberrypiwiki.com/index.php/How_to_use_LCD_driver. That script did modify /bin/config.txt, here are the non commented-out lines : Quote:hdmi_force_hotplug=1The tvservice looks installed : Quote:pi@raspberrypi:~ $ tvservice -sI just tried to turn it off : Quote:pi@raspberrypi:~ $ tvservice -oI then went to the raspbian menu on the graphical display, choose Sound & Video, then Kodi, and I got a different behavior : Kodi aborted. The log ends with : Quote:21:49:11.909 T:1910693888 DEBUG: EGL set resolution 1280x720 -> 1280x720 @ 0.00 fps (0,0) flags:0 aspect:1.00Full log : https://paste.ubuntu.com/p/jFkdTbb5s8/ Thank you, Flavien. RE: RaspberryPi : output sent to hdmi instead of lcd - dandnsmith - 2018-04-14 I'm sorry I cannot help - but might there be an indirect hint in this thread which is rather old? RE: RaspberryPi : output sent to hdmi instead of lcd - popcornmix - 2018-04-14 (2018-04-14, 10:14)dandnsmith Wrote: I'm sorry I cannot help - but might there be an indirect hint in this thread which is rather old?I don't think so. I believe OP's display is connected by SPI which isn't driven by firmware (which only handles HDMI, composite, DSI and DPI displays) and so isn't supported by kodi. There is a hack to use fbcp to mirror the primary (HDMI) display onto the secondary (SPI) display, which may be worth a try. But I suspect that SPI won't support a very fast update rate (i.e. low framerate), so I'm not sure how well this can work. RE: RaspberryPi : output sent to hdmi instead of lcd - dandnsmith - 2018-04-15 Perhaps, with the prime stated use as music streamer, this will be sufficient. We can but hope! RE: RaspberryPi : output sent to hdmi instead of lcd - Flavien_94 - 2018-04-15 Indeed, I wanted to have a bit more info before replying, but following the thread you pointed me to (thanks !), I got fbcp compiled and installed yesterday : Quote:$ apt-get install cmakeOnce it's running, I can launch Kodi, and hourah ! I get to see Kodi's interface on the small screen. #thumbsup I do not care about acceleration or video, so yes it's a bit sluggish but it's ok for my usage. Next issues :
RE: RaspberryPi : output sent to hdmi instead of lcd - DarrenHill - 2018-04-15 Look at a touchscreen optimised skin like Estouchy |