Kodi and Waveshare 5" display problem
#1
I am having a problem with a Waveshare 5" display connected to a Raspberry Pi 2. Kodi will start, then after a few seconds white/dark lines slowly fill the screen. Eventually the screen will go back to normal, but 30 secs later it does it again. I've tried powering the display from a powered hub and an external power supply but neither helped. I've tried OpenELEC and OSMC. I've tried adding Kodi to a fresh installation of Raspbian and Ubuntu Mate. The result is always the same. White/dark lines. (Kodi just flashes and crashes on Mate). Can anyone help me?
Reply
#2
I have the same provlem with the 7" version please fix this. I think Kodi does not support the 15:9 screen format.
Reply
#3
I have same problem with my "Waveshare 7inch HDMI LCD ©" display.
Reply
#4
Anybody care to supply a debug log (wiki) of this happening ? Hard to diagnose anything without that log.
Learning Linux the hard way !!
Reply
#5
I'll try to post a debug log as soon as I can. I followed your link and briefly looked over the instructions but I have classes the rest of the day and 3 research paper drafts due next week.
Reply
#6
Hi all!

I'm having the same problem with Waveshare 7inch HDMI 1024x600.

After starting osmc+kodi, the screen went up with kodi menu but "out of sync" so I disabled kodi automatic start, and learnt that osmc starts ok, ie. screen shows the splash blue kodi screen correctly.
Then I started kodi manually and the screen went wrong. (I can see the kodi menu but out of sync).

So, let me show you my info and steps:

config.txt:

Code:
hdmi_cvt=1024 600 60 6 0 0 0
hdmi_group=2
hdmi_mode=87
hdmi_force_mode=1

# Ensure power to the display
max_usb_current=1

gpu_mem_1024=256
#hdmi_ignore_cec_init=1
#disable_overscan=1
start_x=1
#disable_splash=1
dtoverlay=lirc-rpi:gpio_out_pin=17,gpio_in_p

1) Start osmc with kodi automatic start disabled
- screen ok

2) Check display available modes

Code:
osmc@osmc:~$ /opt/vc/bin/tvservice -m DMT
Group DMT has 2 modes:
           mode 4: 640x480 @ 60Hz 4:3, clock:25MHz progressive
  (prefer) mode 87: 1024x600 @ 60Hz 15:9, clock:49MHz progressive

3) Check display actual mode

Code:
osmc@osmc:~$ /opt/vc/bin/tvservice -s
state 0x120006 [DVI DMT (87) RGB full 15:9], 1024x600 @ 60.00Hz, progressive

4) Generate edid.dat

Code:
osmc@osmc:~$ /opt/vc/bin/tvservice -d edid.dat
Written 128 bytes to edid.dat

5) Parse edid.dat

Code:
osmc@osmc:~$ /opt/vc/bin/edidparser edid.dat
Enabling fuzzy format match...
Parsing edid.dat...
HDMI:EDID version 1.3, 0 extensions, screen size 15x10 cm
HDMI:EDID features - videodef 0x80 !standby !suspend !active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
HDMI:EDID ignored unknown descriptor tag 0x10
HDMI:EDID ignored unknown descriptor tag 0x10
HDMI:EDID ignored unknown descriptor tag 0x10
HDMI:EDID does not yet know monitor vertical range, setting to default 24 to 120Hz
HDMI:EDID failed to find a matching detail format for 1024x600p hfp:40 hs:48 hbp:40 vfp:13 vs:3 vbp:29 pixel clock:32 MHz
HDMI:EDID calculated refresh rate is 43 Hz
HDMI:EDID guessing the format to be 1024x600p @50 Hz
HDMI:EDID found unknown detail timing format: 1024x600p hfp:40 hs:48 hbp:40 vfp:13 vs:3 vbp:29 pixel clock:32 MHz
HDMI:EDID established timing I/II bytes are 00 00 00
HDMI:EDID standard timings block x 8: 0x0101 0101 0101 0101 0101 0101 0101 0101
HDMI:EDID adding mandatory support for DMT (4) 640x480p @ 60Hz
HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI:EDID no known preferred format has been set
HDMI:EDID filtering preferred group has been changed from Invalid to DMT
HDMI:EDID best score mode initialised to DMT (4) 640x480p @ 60 Hz with pixel clock 25 MHz (score 0)
HDMI:EDID best score mode is now DMT (4) 640x480p @ 60 Hz with pixel clock 25 MHz (score 36864)
HDMI:EDID preferred mode is updated to DMT (4) 640x480p @ 60 Hz with pixel clock 25200000 Hz
HDMI:EDID has only DVI support and no audio support
edid_parser exited with code 0

6) Start kodi

Code:
osmc@osmc:~$ sudo systemctl start mediacenter

Screen goes out of sync because starting kodi changes resolution to unsupported mode 1920x1080:

7) Check actual display mode:

Code:
osmc@osmc:~$ /opt/vc/bin/tvservice -s
state 0x12000a [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 59.94Hz, progressive

Additional notes:
  • I checked with several HDMI cables I know work correctly
  • Source has enough power and is working correctly (2A)
  • OSMC version:

    Code:
    osmc@osmc:~$ grep VERSION_ID /etc/os-release
    VERSION_ID="2016.04-2"
    osmc@osmc:~$


  • Kodi version:

    Code:
    osmc@osmc:~$ grep Kodi .kodi/temp/kodi.log | head -3
    02:57:35 582.923889 T:1957643184  NOTICE: Starting Kodi (17.0-ALPHA1). Platform: Linux ARM (Thumb) 32-bit
    02:57:35 582.923950 T:1957643184  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
    02:57:35 582.924011 T:1957643184  NOTICE: Kodi compiled Apr 23 2016 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 3.16.7 (200711)


  • Kodi log file:

    http://pastebin.com/9ueXV2Vy


Any ideas on how to prevent kodi changing resolution?

Thank you all for your contribution!
Reply
#7
Just in case the issue still occurs for anyone:

I installed a 5" Waveshare LCD(B) and also had a white screen issue after each navigation attempt in Kodi.
In my case the solution was to turn off Audio Output from 'HDMI' to 'Analog' in Kodi's settings.

Now I need to find a way to get the touch functionality working, but at least the display is fine now.

Greetings
Sascha
Reply
#8
That did it! Thank you very much Zeitfraktur. In return, try this for the touchscreen. it worked for me: https://www.youtube.com/watch?v=SbKkR57wpcY
Reply
#9
(2016-05-08, 17:25)jackrooster Wrote: That did it! Thank you very much Zeitfraktur.

My pleasure. Happy it helped!

Quote:In return, try this for the touchscreen. it worked for me

Thanks. I actually ended up returning the screen today and ordered a Lenovo 7" tablet instead at same price
(I am planning a wall mounted home automation-/weather status display which seems to better fit this task)
Reply
#10
any luck getting touch to work?
Reply
#11
To get the touchscreen to work, just follow the instructions on this page: http://www.waveshare.com/wiki/5inch_HDMI_LCD or follow the link I posted above and watch the Youtube video.
Reply
#12
I got it to work on Raspbian but not in kodi I only got touch in the top left corner
If i can get the touch to work in kodi then ill be super happy.

please help if you can
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi and Waveshare 5" display problem0