Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Hardware] HDMI works different on last lot of RK3288

17

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
17

【Hardware】 HDMI works different on last lot of RK3288

Posted at 1/16/2019 18:22:37      View:6581 | Replies:5        Print      Only Author   [Copy Link] 1#
I have several RK3288 units produced in 2015 that work perfectly with KODI. The last batch of cards produced in August 2018 used in the same equipment, give error "[drm: dw_hdmi_rockchip_set_property] * ERROR * failed to set rockchip hdmi connector property" in dmesg.
What has changed compared to previous lots? How can I solve the problem?
Thank you in advance for your answer.
Reply

Use props Report

1395

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1395
Posted at 1/17/2019 16:38:55        Only Author  2#


As you can see in the hdmi driver code, the driver receives unsupported properties and should be safely ignored.
Reply

Use props Report

17

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
17
Posted at 1/21/2019 19:23:02        Only Author  3#
I made some deeper analysis about the issue:
This is the crashlog file produced by kodi which better document the error:

################ SYSTEM INFO ################
Date: lun 21 gen 2019, 08.47.11, UTC
Kodi Options:
Arch: armv7l
Kernel: Linux 4.4.126 #35 SMP Sat Jan 12 17:02:38 CET 2019
Release: Debian GNU/Linux 9 (stretch)
############## END SYSTEM INFO ##############

############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############

################# LOG FILE ##################

08:47:10.961 T:2921291248  NOTICE: special://profile/ is mapped to: special://masterprofile/
08:47:10.961 T:2921291248  NOTICE: -----------------------------------------------------------------------
08:47:10.961 T:2921291248  NOTICE: Starting Kodi from Debian (17.1 Debian package version: 2:17.1+dfsg1-3). Platform: Linux ARM (Thumb) 32-bit
08:47:10.961 T:2921291248  NOTICE: Using Release Kodi from Debian x32 build
08:47:10.961 T:2921291248  NOTICE: Kodi from Debian compiled from 2:17.1+dfsg1-3 by GCC 6.3.0 for Linux ARM (Thumb) 32-bit version 4.9.25 (264473)
08:47:10.961 T:2921291248  NOTICE: Running on Debian GNU/Linux 9 (stretch), kernel: Linux ARM 32-bit version 4.4.126
08:47:10.961 T:2921291248  NOTICE: FFmpeg version/source: 3.2.12-1~deb9u1
08:47:10.961 T:2921291248  NOTICE: Host CPU: ARMv7 Processor rev 1 (v7l), 4 cores available
08:47:10.961 T:2921291248  NOTICE: ARM Features: Neon disabled
08:47:10.961 T:2921291248  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
08:47:10.961 T:2921291248  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
08:47:10.961 T:2921291248  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
08:47:10.961 T:2921291248  NOTICE: special://masterprofile/ is mapped to: /var/lib/kodi/.kodi/userdata
08:47:10.961 T:2921291248  NOTICE: special://envhome/ is mapped to: /var/lib/kodi
08:47:10.961 T:2921291248  NOTICE: special://home/ is mapped to: /var/lib/kodi/.kodi
08:47:10.961 T:2921291248  NOTICE: special://temp/ is mapped to: /var/lib/kodi/.kodi/temp
08:47:10.961 T:2921291248  NOTICE: special://logpath/ is mapped to: /var/lib/kodi/.kodi/temp
08:47:10.961 T:2921291248  NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi.bin
08:47:10.961 T:2921291248  NOTICE: Local hostname: grandinotevolta
08:47:10.961 T:2921291248  NOTICE: Log File is located: /var/lib/kodi/.kodi/temp//kodi.log
08:47:10.961 T:2921291248  NOTICE: -----------------------------------------------------------------------
08:47:10.992 T:2921291248   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - Proprietà "CanSuspend" inesistente
08:47:10.993 T:2921291248   ERROR: DBus: Error org.freedesktop.DBus.Error.InvalidArgs - Proprietà "CanHibernate" inesistente
08:47:10.994 T:2921291248  NOTICE: load settings...
08:47:11.015 T:2921291248  NOTICE: Found 1 Lists of Devices
08:47:11.015 T:2921291248  NOTICE: Enumerated PULSE devices:
08:47:11.015 T:2921291248  NOTICE:     Device 1
08:47:11.015 T:2921291248  NOTICE:         m_deviceName      : Default
08:47:11.015 T:2921291248  NOTICE:         m_displayName     : Default
08:47:11.015 T:2921291248  NOTICE:         m_displayNameExtra: Default Output Device (PULSEAUDIO)
08:47:11.015 T:2921291248  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
08:47:11.015 T:2921291248  NOTICE:         m_channels        : FL,FR
08:47:11.016 T:2921291248  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
08:47:11.016 T:2921291248  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
08:47:11.016 T:2921291248  NOTICE:         m_streamTypes     : No passthrough capabilities
08:47:11.016 T:2921291248  NOTICE:     Device 2
08:47:11.016 T:2921291248  NOTICE:         m_deviceName      : alsa_output.platform-sound.analog-stereo
08:47:11.016 T:2921291248  NOTICE:         m_displayName     : rockchip-audio-dacmax Stereo analogico
08:47:11.016 T:2921291248  NOTICE:         m_displayNameExtra: Uscita analogica (PULSEAUDIO)
08:47:11.016 T:2921291248  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
08:47:11.016 T:2921291248  NOTICE:         m_channels        : FL,FR
08:47:11.016 T:2921291248  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
08:47:11.016 T:2921291248  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
08:47:11.016 T:2921291248  NOTICE:         m_streamTypes     : No passthrough capabilities
08:47:11.020 T:2921291248  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
08:47:11.021 T:2921291248  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
08:47:11.021 T:2921291248  NOTICE: Default Video Player: VideoPlayer
08:47:11.021 T:2921291248  NOTICE: Default Audio Player: paplayer
08:47:11.021 T:2921291248  NOTICE: Disabled debug logging due to GUI setting. Level 0.
08:47:11.021 T:2921291248  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
08:47:11.021 T:2921291248  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
08:47:11.021 T:2921291248  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
08:47:11.021 T:2921291248  NOTICE: Loaded playercorefactory configuration
08:47:11.021 T:2921291248  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
08:47:11.022 T:2921291248  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
08:47:11.030 T:2921291248  NOTICE: Running database version Addons27
08:47:11.073 T:2921291248  NOTICE: ADDONS: Using repository repository.xbmc.org
08:47:11.083 T:2902454688  NOTICE: PulseAudio: Opened device alsa_output.platform-sound.analog-stereo in pcm mode with Buffersize 199 ms
08:47:11.130 T:2921291248  NOTICE: Checking resolution 16
08:47:11.130 T:2921291248  NOTICE: CWinSystemX11GLESContext::CreateNewWindow
08:47:11.130 T:2921291248  NOTICE: CWinSystemX11GLESContext::GetVisual() m_pGLContextnil) GetVisual
08:47:11.130 T:2921291248  NOTICE: Create new CGLContextEGL at CWinSystemX11GLESContext::CreateNewWindow, m_dpy=0x80bfcda0
08:47:11.209 T:2921291248   ERROR: failed to initialize egl display
08:47:11.209 T:2921291248   ERROR: Failed to find matching visual


############### END LOG FILE ################

############ END Kodi CRASH LOG #############
___________________________________________
Can you please help me solving this issue?
Reply

Use props Report

1395

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1395
Posted at 1/22/2019 17:43:58        Only Author  4#
  1. 08:47:11.130 T:2921291248  NOTICE: Checking resolution 16
  2. 08:47:11.130 T:2921291248  NOTICE: CWinSystemX11GLESContext::CreateNewWindow
  3. 08:47:11.130 T:2921291248  NOTICE: CWinSystemX11GLESContext::GetVisual() m_pGLContextnil) GetVisual
  4. 08:47:11.130 T:2921291248  NOTICE: Create new CGLContextEGL at CWinSystemX11GLESContext::CreateNewWindow, m_dpy=0x80bfcda0
  5. 08:47:11.209 T:2921291248   ERROR: failed to initialize egl display
  6. 08:47:11.209 T:2921291248   ERROR: Failed to find matching visual
Copy the code


Does the same firmware work on the old board, but not on the new one?

It has sth to do with the opengles. I'm not familiar with kodi.
Is "Checking resolution 16" suggesting that kodi is using 16 bit depth display mode?
How about changing it to 24 or 32?
Reply

Use props Report

17

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
17
Posted at 1/23/2019 19:13:53        Only Author  5#
Thank you for your answer, I'll try changing the resolution depth to 24 or 32, if kodi permit it.

In the mean time, I discovered what is the difference between the old and new board: the GPU version.

Old board GPU:   Mali-T76x 4 cores r0p0 0x0750
New board GPU: Mali-T76x 4 cores r1p0 0x0750

The issue is up to Rockchip. Can you suggest any solution for that?
Reply

Use props Report

1395

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1395
Posted at 1/26/2019 17:28:32        Only Author  6#
Last edited by penguin In 1/26/2019 17:39 Editor

Lack of information, I cannot make any suggestion.

Does glmark2-es2-drm work on your board?How can we check this problem? Maybe you upload
the firmware for us to check?
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list