area515 / Photonic3D

Control software for resin 3D printers
http://photonic3d.com
GNU General Public License v3.0
131 stars 115 forks source link

raspberry pi really support 2k hdmi output? #286

Closed vzex closed 7 years ago

vzex commented 7 years ago

Actually, after I made a lot of tests, I just couldn't let the screen show images.So I just wonder if pi really support high resolution?What I got is blank screen. I have some config of /boot/config.txt below `disable_overscan=1 framebuffer_depth=24 gpu_mem=192 framebuffer_ignore_alpha=1 start_x=1

hdmi_ignore_edid=0xa5000080 hdmi_cvt 2560 1440 50 3 0 0 1 hdmi_group=2 hdmi_mode=87 hdmi_pixel_freq_limit=300000000 hvs_priority=0x32ff max_framebuffer_width=2560 max_framebuffer_height=1440 framebuffer_width=2560 framebuffer_height=1440 config_hdmi_boost=4 hdmi_force_hotplug=1 `

and tvservice -d shows:

WesGilster commented 7 years ago

That seemed to be quite a high resolution for the Pi, but I can't really tell you. We've got a few Pi experts here, but you may actually want to ask your question on the Raspberry Pi forums as well. Here is a topic from the Pi forums that my help you out:

https://www.raspberrypi.org/forums/viewtopic.php?f=7&t=307

jmkao commented 7 years ago

It should be possible. The RPi can handle up to 4K at 15hz refresh. Choppy for desktop use, but plenty fast for printing.

Can you paste the output of tvservice -s?

vzex commented 7 years ago

tvservice -s state 0x120006 [DVI DMT (87) RGB full 16:9], 2560x1440 @ 50.00Hz, progressive

WesGilster commented 7 years ago

It looks like you need to dial back your refresh rate to 15Hz and see what happens.

vzex commented 7 years ago

ok,I'll make a test after printing.

vzex commented 7 years ago

I'm success with 2560*1440@50hz output,but when I make the Grid Screen test,the image on screen is not fullscreen. image image

So is there any other params need to be set ? When I's testing, I found the resolution in photo3d image is this right?

my tvservice -s now : state 0x120006 [DVI DMT (87) RGB full 16:9], 2560x1440 @ 50.00Hz, progressive

vzex commented 7 years ago

I think it's maybe a rotate problem, I'll check it

WesGilster commented 7 years ago

That doesn't look right. When you calibrate the screen those values will be detected from your hardware. Otherwise you can override those settings in the printers page here: image

kloknibor commented 7 years ago

it is totally possible. We have got 1K (and lower) 2.5K and 4K screens to work around here! We had to set the things in boot/config.txt right our settings for the 2.5K screen were :

overscan_left=0 overscan_right=0 overscan_top=0 overscan_bottom=0

disable_overscan=1

hdmi_drive=1 hdmi_ignore_edid=0xa5000080 hdmi_group=2 hdmi_mode=87

60Hz

hdmi_pixel_freq_limit=206000000 hdmi_timings=2048 0 150 5 5 1536 0 3 1 9 0 0 0 60 0 205210000 1 max_framebuffer_width=2048 max_framebuffer_height=1536 display_rotate=0 framebuffer_width=2048 framebuffer_height=1536

vzex commented 7 years ago

@kloknibor Actually my config looks the same as your's, but i don't know how to set the hdmi_timings, even I 've got the datasheet - -!. I can't figure out which argument cause the screen just show 1/2

vzex commented 7 years ago

problem solved