This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HDMI to DVI Adapter
#1
Hello guys,

I have a problem to get HDMI-to-DVI adapter working. I got only a black screen.
Does anybody know how to get a HDMI-to-DVI adapter working.?
Reply
#2
(04-18-2017, 07:08 AM)hack3d Wrote: Does anybody know how to get a HDMI-to-DVI adapter working ?

Yes, working. Did you wait ~30seconds to allow Xserver to start ?
If you mean HDMI-to-DVI-D (digital) it is simple passive "connector" converter (maybe [Image: obrazek]or [Image: obrazek]or [Image: obrazek])

If you can access your TinkerBoard over ethernet or serial line you should try to check DRM hdmi state:
Code:
# grep '' /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/*
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/dpms:Off
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/enabled:enabled
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/mode:800x600p72
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:800x600p75
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:800x600p72
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:800x600p60
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/status:connected

# xxd /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid
00000000: 00ff ffff ffff ff00 22f0 9326 0101 0101  ........"..&....
00000010: 3413 0103 8026 1e78 eeee 95a3 544c 9926  4....&.x....TL.&
00000020: 0f50 54ad ef80 8180 0101 0101 0101 0101  .PT.............
00000030: 0101 0101 0101 302a 0098 5100 2a40 3070  ......0*..Q.*@0p
00000040: 1300 7c2c 1100 001e 0000 00fd 0030 4c18  ..|,.........0L.
00000050: 530e 000a 2020 2020 2020 0000 00fc 0048  S...      .....H
00000060: 5020 4c50 3139 3635 0a20 2020 0000 00ff  P LP1965.   ....
00000070: 0043 4e34 3935 3230 3259 430a 2020 0031  .CN495202YC.  .1

Do you see "connected" and some valid mode/modes and "edid" ?
TinkerOS 1.6 (beta) and others newer kernels are buggy in mode-parsing. Try TinkerOS 1.4.
I left this community in Aug 2017 due to ASUS bad product quality and ASUS community support that did not match my expectation.  Sad
Reply
#3
(04-18-2017, 07:35 AM)mcerveny Wrote:
(04-18-2017, 07:08 AM)hack3d Wrote: Does anybody know how to get a HDMI-to-DVI adapter working ?

Yes, working. Did you wait ~30seconds to allow Xserver to start ?
If you mean HDMI-to-DVI-D (digital) it is simple passive "connector" converter (maybe [Image: obrazek]or [Image: obrazek]or [Image: obrazek])

If you can access your TinkerBoard over ethernet or serial line you should try to check DRM hdmi state:
Code:
# grep '' /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/*
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/dpms:Off
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/enabled:enabled
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/mode:800x600p72
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:800x600p75
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:800x600p72
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:800x600p60
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/status:connected

# xxd /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid
00000000: 00ff ffff ffff ff00 22f0 9326 0101 0101  ........"..&....
00000010: 3413 0103 8026 1e78 eeee 95a3 544c 9926  4....&.x....TL.&
00000020: 0f50 54ad ef80 8180 0101 0101 0101 0101  .PT.............
00000030: 0101 0101 0101 302a 0098 5100 2a40 3070  ......0*..Q.*@0p
00000040: 1300 7c2c 1100 001e 0000 00fd 0030 4c18  ..|,.........0L.
00000050: 530e 000a 2020 2020 2020 0000 00fc 0048  S...      .....H
00000060: 5020 4c50 3139 3635 0a20 2020 0000 00ff  P LP1965.   ....
00000070: 0043 4e34 3935 3230 3259 430a 2020 0031  .CN495202YC.  .1

Do you see "connected" and some valid mode/modes and "edid" ?
TinkerOS 1.6 (beta) and others newer kernels are buggy in mode-parsing. Try TinkerOS 1.4.

That sounds great Smile

Sorry I forgot to mention that I use the Armbian Nightly with the version 5.27.170419
The output is the following:
Code:
# grep '' /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/*
grep: /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/device: Is a directory
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/dpms:On
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/enabled:disabled
grep: /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/power: Is a directory
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/status:disconnected
grep: /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/subsystem: Is a directory

# xxd /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid

I have to check if it's working with TinkerOS 1.4.

@mcerveny: do you know which kernel config parameters I have to adjust to get it work with the armbian image? I think it's just some parameters on the kernel.
Reply
#4
(04-18-2017, 08:54 AM)hack3d Wrote: Sorry I forgot to mention that I use the Armbian Nightly with the version 5.27.170419

I tested 2x ARMBIAN with my DVI-D monitor without problems. ARMBIAN is using different kernel source (probably https://github.com/mqmaker/linux-rockchi...elease-4.4). You should verify your cable/monitor (there is status:disconnected in your output). I usually use more force to plug HDMI cable into TinkerBoard.
ARMBIAN 5.27.170407 nightly Ubuntu 16.04.2 LTS 4.4.59-rockchip
ARMBIAN 5.27.170419 nightly Ubuntu 16.04.2 LTS 4.4.61-rockchip
Code:
# grep '' /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/*
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/dpms:On
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/enabled:enabled
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:1280x1024
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:1280x1024
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:1152x864
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:1024x768
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:1024x768
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:1024x768
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:832x624
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:800x600
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:800x600
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:800x600
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:640x480
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:640x480
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:640x480
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/modes:720x400
/sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/status:connected

# xxd /sys/devices/platform/display-subsystem/drm/card0/card0-HDMI-A-1/edid
00000000: 00ff ffff ffff ff00 22f0 9326 0101 0101  ........"..&....
00000010: 3413 0103 8026 1e78 eeee 95a3 544c 9926  4....&.x....TL.&
00000020: 0f50 54ad ef80 8180 0101 0101 0101 0101  .PT.............
00000030: 0101 0101 0101 302a 0098 5100 2a40 3070  ......0*..Q.*@0p
00000040: 1300 7c2c 1100 001e 0000 00fd 0030 4c18  ..|,.........0L.
00000050: 530e 000a 2020 2020 2020 0000 00fc 0048  S...      .....H
00000060: 5020 4c50 3139 3635 0a20 2020 0000 00ff  P LP1965.   ....
00000070: 0043 4e34 3935 3230 3259 430a 2020 0031  .CN495202YC.  .1

(04-18-2017, 08:54 AM)hack3d Wrote: @mcerveny: do you know which kernel config parameters I have to adjust to get it work with the armbian image? I think it's just some parameters on the kernel.
The mentioned problem is for all distributions that using "rockchip" kernel fork (https://github.com/rockchip-linux/kernel). Rockchip engineers do something wrong with clock "dclk_vop" (vop = visual output processor, cru = clock and reset unit) (see reported bug and documentation cru or documentation vop) and this is not recoverable by kernel parameters.
I left this community in Aug 2017 due to ASUS bad product quality and ASUS community support that did not match my expectation.  Sad
Reply
#5
@mcerveny: I change the HDMI-to-DVI-D Adapter and it work know Smile
Reply
#6
(04-18-2017, 07:08 AM)hack3d Wrote: Hello guys,

I have a problem to get HDMI-to-DVI adapter working. I got only a black screen.
Does anybody know how to get a HDMI-to-DVI adapter working.?

Also had the problem, with 1920x1200 DVI display. My adapter was already DVI-D.
Spent a couple hours trying to replace EDID and some other workarounds, without luck.
Then I’ve replaced HDMI-HDMI cable + DVI-HDMI adapter with a single DVI-HDMI cable, and this time it worked flawlessly with the same 1920x1200 display, detected native resolution, etc.
The same DVI-HDMI adapter works OK with Windows 7-10 PCs, and with Raspberry Pi running both Windows IoT and Linux. So, the problem may be anywhere: adapter, Tinkerboard hardware, and/or Linux software.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)