PC 2 ubuntu video problems 看全部

Here is a short description - http://linux-sunxi.org/UEnv.txt
Try to modify extraargs=...............disp.screen0_output_mode=EDID:1280x720p50
It looks like you have to set "optargs".

Here's my uEnv.txt:
  1. root@Orangepi:~# cat /boot/uEnv.txt
  2. console=tty0 console=ttyS0,115200n8 no_console_suspend
  3. kernel_filename=orangepi/uImage
  4. initrd_filename=initrd.img
  5. ethaddr=96:62:08:fb:22:8a
  6. optargs=disp.screen0_output_mode=EDID:1920x1080p60

Here's the resulting kernel command:
  1. root@Orangepi:~# cat /proc/cmdline
  2. console=tty0 console=ttyS0,115200n8 no_console_suspend disp.screen0_output_mode=EDID:1920x1080p60 earlycon=uart,mmio32,0x01c28000 mac_addr=96:62:08:fb:22:8a root=/dev/mmcblk0p2 ro rootwait

But the display is still 1280x720p50.

Is 1920x1080 valid?  I know my monitor (4k TV) can support it.
Other ideas would be appreciated.

The uEnv mentioned in wiki obviously covers the script.bin method and it is for older 32bit cpu eg armv7 (sun7,sun8), whereas H5 is 64bit armv53 (sun50) and it is using another intialization method, the one that is in mainline and is named device tree.

The images provided are using the device tree method (.dts/.dtb).
That means we need to get the current device tree file used (/boot/orangepi/OrangePiH5orangepi.dtb)
de-compile it via the dtc tool (dtc tool needs to be installed first though with apt-get install device-tree-compiler)
modify the resulted .dts file to have 'screen0_output_mode = <0xa>;' in disp@01000000 definition
re-compile the previously resulted .dts into a new dtb, copy that over the older /boot/orangepi/OrangePiH5orangepi.dtb and reboot.

That was suposedly needed in order for any new resolution to work.
Yet we tested it and it is not working as it should..
that means most likely there is a bug in the newly released image.

Hopefully at some point, Buddy could release the required u-boot repository used to generate this image's uboot.bin and this could actually help us find a solution on how to change the resolution.
I used dtc to set "screen0_output_mode = <0xa>;"
The dtc was updated, but it didn't seem to make any difference in the video.  That's what I expected, given your comments.

It guess this means that:
  • Everyone using the current images can only get 1280x720.
  • This is a know problem and is being worked on.
  • I should probably wait for a new image.

Also, should I expect a new image to work with my DVI monitors (using a hdmi to dvi cable)?


P.S.  There was a time when I thought 1280 was awesome.  I think it was 1280x1024 back then.
Edited by Christos at 2016-12-3 23:31

I don't think anyone from the sunxi-linux community has done significant progress on the H5, from what I read it is most likely 6-months away from anything useful even with the minimal of functionality.

For the images that Buddy is providing, those that we currently all use, I do not know either if he is gonna look into it or not.
1234.. 10NextPage