Firefly Open Source Community

Title: HDMI 2.0 UHD 60Hz sound out [Print This Page]

Author: zzarr    Time: 8/15/2017 14:45
Title: HDMI 2.0 UHD 60Hz sound out
Hello!

I have a RK3288-plus, I have installed the latest version of Ubuntu 16.04 on it.

I have a Display with HDMI 2.0 input and a resolution of 3840x2160, it have built in speakers. (The HDMI cable is capable of UHD too.)

When I hook up the RK3288 to the display over HDMI it works fine with 1080p, but when I set it to 3840x2160@30 about a fifth of the display on the right side are just random lines.
(I ran "xrandr --output HDMI-1 --mode 3840x2160" in a terminal.)

But, what I really want is 3840x2160@60, the hardware is capable, but how to?

Where's no option for sound out over HDMI ether, how do I fix this?

Best Regards
/ Rasmus
Author: isle    Time: 8/16/2017 09:31
Hi  
1 did you get the UHD resolution in "start->Setting->Display->Resolution"
2 what did you get in "start->Multimedia->PulsAudio Volume Control->Output Devices"
Author: zzarr    Time: 8/18/2017 03:55
Hello isle!

Graphic:
I can select the option 3840x2160  but the same thing happens as when selected via xrandr still those lines on the right side.
I tried all available options, 30, 25 and 24Hz (60Hz) is not available.

Sound:
The only option is "Analog Output"

Best Regards
/ Rasmus
Author: zzarr    Time: 8/18/2017 04:04
Hello again!

I just saw something strange when I ran "mount", "/dev/mmcblk2p3 on / type ext4 (ro,relatime,data=ordered)".
I can't change any file in the file system due to / being read only.

Best Regards
/ Rasmus
Author: isle    Time: 8/18/2017 09:43
Hi,
which firmware did you use? could you try a firmware named *NO_VGA*?
I think, the HDMI display  connect to "VOP little"  which can only support 2560X1600.
so .disable the VGA display then the HDMI display will connect to "VOP BIG"
Author: zzarr    Time: 8/18/2017 14:12
Hi again!

I used the stable version of Ubuntu 16.04 (20170525).

I can't see any VGA with xrandr, is there a way to check if the HDMI connects to VOP little or big?

Best Regards
/ Rasmus
Author: isle    Time: 8/19/2017 09:31
in your kernel log,
Author: zzarr    Time: 8/20/2017 01:57
Hi again!

I could not find any entry in the kernel log or dmesg that shows any info about VOP.

The only 3 lines that matches are following:

[    1.522579] rockchip-drm display-subsystem: failed to bind ff980000.hdmi (ops 0xc0c4e334): -517
[    3.406068] dwhdmi-rockchip ff980000.hdmi: Detected HDMI controller 0x20:0xa:0xa0:0xc1
[    3.406438] rockchip-drm display-subsystem: bound ff980000.hdmi (ops 0xc0c4e334)

I got them by running "dmesg | grep hdmi" in a terminal.

Best Regards
/ Rasmus
Author: isle    Time: 8/21/2017 09:59
Could you try the firmware with "NO_VGA" ?
Author: zzarr    Time: 8/21/2017 14:37
Hello!

Yes I will do that.

Other whys, is it a setting or would I need to rebuild the kernel?

Best Regards
/ Rasmus
Author: zzarr    Time: 8/21/2017 14:44
Hello again!

I realized that it does not say if VGA is enabled in the name of the image.

I think that building the kernel is preferred (there are other things I'm interested in changing due to how I will use the board).

I have a machine running Ubuntu 16.04 (x86 64bit) server which I used to flash the Firefly board.

Best Regards
/ Rasmus
Author: isle    Time: 8/22/2017 10:06
https://drive.google.com/file/d/ ... EE/view?usp=sharing
Author: zzarr    Time: 8/22/2017 14:35
Ohh, I missed that!

Thanks!
Author: zzarr    Time: 8/23/2017 16:52
I have flashed the Beta with NO VGA, but I have not tried hooking it upp to my monitor yet (I started the flashing just before I went to my job).

I have connected to the machine remotely, I rebooted the machine, the MAC-address for eth0 changes, this is bad because I want a static ip on the device.

What are the changes in the kernel config between the version with and the version without VGA?

Could I build my own stable image without VGA?

Best Regards
/ Rasmus
Author: isle    Time: 8/24/2017 10:00
YES,

please revert this commit
https://github.com/T-Firefly/ker ... 5cde126ad94d7b7639d
Author: zzarr    Time: 8/24/2017 14:44
Hello again isle!

Thanks I will revert that

I tested plugging in the display, when I set the output to 3840x2160@30 (still don't get an alternative for 60Hz) the desktop is displayed almost perfectly.

The only thing is that there are som random lines "flying" across the screen making everything beneath the line jump. (Jump down a pixel or two.)

It looks like a problem with the syncing not being perfect.

How ever I will configure my own kernel and try it.

Best Regards
/ Rasmus




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1