dustamust
Posts: 9
Joined: Wed Jul 31, 2019 2:40 am

3440x1440 not applying

Tue Aug 06, 2019 9:25 pm

I have an acer 34 ultrawide monitor that I'm attempting to use 3440x1440 resolution with my rasp pi4. I have enabled hdmi_enable_4kp60=1 in my /boot/config.txt, and the option for 3440x1440 shows up in the screen configuration page, but when clicking apply I get a dark screen for about 10-15 seconds and reverts back to my previous setting (2560x1440).

Please advise I am stumped.


SYSLOG

Aug 6 16:19:37 raspberrypi kernel: [ 79.288060] ------------[ cut here ]------------
Aug 6 16:19:37 raspberrypi kernel: [ 79.288138] WARNING: CPU: 1 PID: 451 at drivers/gpu/drm/vc4/vc4_firmware_kms.c:1041 vc4_crtc_atomic_flush+0x98/0x9c [vc4]
Aug 6 16:19:37 raspberrypi kernel: [ 79.288148] Modules linked in: rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic fuse 8021q garp stp llc joydev evdev hid_logitech_hidpp brcmfmac brcmutil hid_microsoft hid_logitech_dj sha256_generic vc4 drm_kms_helper v3d gpu_sched cfg80211 rfkill snd_soc_core snd_bcm2835(C) snd_compress snd_pcm_dmaengine snd_pcm drm snd_timer raspberrypi_hwmon syscopyarea hwmon sysfillrect drm_panel_orientation_quirks sysimgblt fb_sys_fops snd bcm2835_v4l2(C) bcm2835_codec(C) v4l2_mem2mem v4l2_common videobuf2_vmalloc bcm2835_mmal_vchiq(C) videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma(C) rpivid_mem uio_pdrv_genirq uio fixed i2c_dev ip_tables x_tables ipv6
Aug 6 16:19:37 raspberrypi kernel: [ 79.288699] CPU: 1 PID: 451 Comm: Xorg Tainted: G WC 4.19.64-v7l+ #1250
Aug 6 16:19:37 raspberrypi kernel: [ 79.288707] Hardware name: BCM2835
Aug 6 16:19:37 raspberrypi kernel: [ 79.288738] [<c0212c7c>] (unwind_backtrace) from [<c020d49c>] (show_stack+0x20/0x24)
Aug 6 16:19:37 raspberrypi kernel: [ 79.288756] [<c020d49c>] (show_stack) from [<c097ee00>] (dump_stack+0xd4/0x118)
Aug 6 16:19:37 raspberrypi kernel: [ 79.288775] [<c097ee00>] (dump_stack) from [<c0222250>] (__warn+0x104/0x11c)
Aug 6 16:19:37 raspberrypi kernel: [ 79.288792] [<c0222250>] (__warn) from [<c02223a0>] (warn_slowpath_null+0x50/0x58)
Aug 6 16:19:37 raspberrypi kernel: [ 79.288854] [<c02223a0>] (warn_slowpath_null) from [<bf7dcbb8>] (vc4_crtc_atomic_flush+0x98/0x9c [vc4])
Aug 6 16:19:37 raspberrypi kernel: [ 79.288986] [<bf7dcbb8>] (vc4_crtc_atomic_flush [vc4]) from [<bf6cf858>] (drm_atomic_helper_commit_planes+0x1a4/0x298 [drm_kms_helper])
Aug 6 16:19:37 raspberrypi kernel: [ 79.289114] [<bf6cf858>] (drm_atomic_helper_commit_planes [drm_kms_helper]) from [<bf7de808>] (vc4_atomic_complete_commit+0x60/0x33c [vc4])
Aug 6 16:19:37 raspberrypi kernel: [ 79.289208] [<bf7de808>] (vc4_atomic_complete_commit [vc4]) from [<bf7debc4>] (vc4_atomic_commit+0xe0/0x194 [vc4])
Aug 6 16:19:37 raspberrypi kernel: [ 79.289430] [<bf7debc4>] (vc4_atomic_commit [vc4]) from [<bf32b854>] (drm_atomic_commit+0x5c/0x60 [drm])
Aug 6 16:19:37 raspberrypi kernel: [ 79.289770] [<bf32b854>] (drm_atomic_commit [drm]) from [<bf32d94c>] (drm_mode_atomic_ioctl+0x98c/0xb78 [drm])
Aug 6 16:19:37 raspberrypi kernel: [ 79.290097] [<bf32d94c>] (drm_mode_atomic_ioctl [drm]) from [<bf318bd0>] (drm_ioctl_kernel+0xb4/0xf0 [drm])
Aug 6 16:19:37 raspberrypi kernel: [ 79.290415] [<bf318bd0>] (drm_ioctl_kernel [drm]) from [<bf319004>] (drm_ioctl+0x230/0x3cc [drm])
Aug 6 16:19:37 raspberrypi kernel: [ 79.290585] [<bf319004>] (drm_ioctl [drm]) from [<c03c4200>] (do_vfs_ioctl+0xbc/0x804)
Aug 6 16:19:37 raspberrypi kernel: [ 79.290605] [<c03c4200>] (do_vfs_ioctl) from [<c03c498c>] (ksys_ioctl+0x44/0x6c)
Aug 6 16:19:37 raspberrypi kernel: [ 79.290624] [<c03c498c>] (ksys_ioctl) from [<c03c49cc>] (sys_ioctl+0x18/0x1c)
Aug 6 16:19:37 raspberrypi kernel: [ 79.290641] [<c03c49cc>] (sys_ioctl) from [<c0201000>] (ret_fast_syscall+0x0/0x28)
Aug 6 16:19:37 raspberrypi kernel: [ 79.290650] Exception stack(0xdb2d5fa8 to 0xdb2d5ff0)
Aug 6 16:19:37 raspberrypi kernel: [ 79.290662] 5fa0: 00b2fb58 be8cd598 0000000c c03864bc be8cd598 00000000
Aug 6 16:19:37 raspberrypi kernel: [ 79.290675] 5fc0: 00b2fb58 be8cd598 c03864bc 00000036 003367b8 00a164c8 00b78328 00000033
Aug 6 16:19:37 raspberrypi kernel: [ 79.290685] 5fe0: b6cc008c be8cd564 b6ca7594 b693351c
Aug 6 16:19:37 raspberrypi kernel: [ 79.290695] ---[ end trace 810cd901d512994e ]---
Aug 6 16:19:37 raspberrypi kernel: [ 79.304503] ------------[ cut here ]------------

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Tue Aug 06, 2019 9:41 pm

I STR a thread on this on here somewhere, might be worth a search.

Failing that, can you use tvservice -d to dump the edid, then attach it here, or use base64 to convert to readable text and copy and paste it here.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

dustamust
Posts: 9
Joined: Wed Jul 31, 2019 2:40 am

Re: 3440x1440 not applying

Thu Aug 08, 2019 1:18 am

Here is the base64 dump of the edid
AP///////wAEckgGAAAAACccAQOAUCJ4v+6Vo1RMmSYPUFSlywCBwIGAlQCpwLMA0cABAQEB9Xxw
oNCgKVAwIDUAG04xAAAaPdBwoNCgKVBYQEUAG04xAAAaAAAA/QAwZKCgNgAKICAgICAgAAAA/ABF
RDM0N0NLUgogICAgAQkCAzn0TAECAwQFB5ASExQWHyMJBweDAQAAagMMABAAOHggAABn2F3EAXjA
AGgaAAABATBkAOMFAwFA0HCg0KApUFhARQD+HxEAAB4ISACgoDgyQDAgJQD+HxEAAB5WXgCgoKAp
UDAgJQD+HxEAAB4AAAAAAAAAAAAAAAAAAAAAvw==


jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Fri Aug 09, 2019 3:15 pm

dustamust wrote:
Thu Aug 08, 2019 1:18 am
Here is the base64 dump of the edid
AP///////wAEckgGAAAAACccAQOAUCJ4v+6Vo1RMmSYPUFSlywCBwIGAlQCpwLMA0cABAQEB9Xxw
oNCgKVAwIDUAG04xAAAaPdBwoNCgKVBYQEUAG04xAAAaAAAA/QAwZKCgNgAKICAgICAgAAAA/ABF
RDM0N0NLUgogICAgAQkCAzn0TAECAwQFB5ASExQWHyMJBweDAQAAagMMABAAOHggAABn2F3EAXjA
AGgaAAABATBkAOMFAwFA0HCg0KApUFhARQD+HxEAAB4ISACgoDgyQDAgJQD+HxEAAB5WXgCgoKAp
UDAgJQD+HxEAAB4AAAAAAAAAAAAAAAAAAAAAvw==
Thanks for that. Running it through our EDID parser it really doesn't like the 3440x1400 resolution, and defaults back to 2560x1440 which is what you are seeing. Will need to take a closer look at why it doesn't like that original resolution.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Fri Aug 09, 2019 3:32 pm

Could you try either

Code: Select all

hdmi_cvt=3440 1440 60 7 0 0 1
or perhaps

Code: Select all

hdmi_timings=3440 1 48 32 80 1440 0 3 10 21 0 0 0 50 0 265250000 7
in config.txt?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

dustamust
Posts: 9
Joined: Wed Jul 31, 2019 2:40 am

Re: 3440x1440 not applying

Fri Aug 09, 2019 11:01 pm

thanks. I tried both of those individually with reboots and using the screen configuration to force the 3440x1440 and issue still occuring.

User avatar
HawaiianPi
Posts: 4777
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: 3440x1440 not applying

Fri Aug 09, 2019 11:12 pm

If it's an EDID problem, then adding hdmi_ignore_edid=0xa5000080 to config.txt in addition to the settings James suggested might work.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

dustamust
Posts: 9
Joined: Wed Jul 31, 2019 2:40 am

Re: 3440x1440 not applying

Sat Aug 10, 2019 1:59 am

I tried using the : hdmi_ignore_edid=0xa5000080 in the /boot/config.txt with both of the options provided by james earlier, but now my max resolution size is 1920x1080.

aBUGSworstnightmare
Posts: 1498
Joined: Tue Jun 30, 2015 1:35 pm

Re: 3440x1440 not applying

Sat Aug 10, 2019 5:50 am

Post your config.txt!

dustamust
Posts: 9
Joined: Wed Jul 31, 2019 2:40 am

Re: 3440x1440 not applying

Sat Aug 10, 2019 12:26 pm

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d

# NOOBS Auto-generated Settings:
hdmi_force_hotplug=1
gpu_mem=512

hdmi_enable_4kp60=1
#hdmi_timings=3440 1 48 32 80 1440 0 3 10 21 0 0 0 50 0 265250000 7
hdmi_cvt=3440 1440 60 7 0 0 1
#hdmi_ignore_edid=0xa5000080

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Tue Aug 13, 2019 1:54 pm

We are currently looking at this, see https://github.com/raspberrypi/firmware/issues/722
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

dustamust
Posts: 9
Joined: Wed Jul 31, 2019 2:40 am

Re: 3440x1440 not applying

Mon Aug 19, 2019 6:33 pm

thanks. any word on a fix for this?

User avatar
davidcoton
Posts: 4200
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: 3440x1440 not applying

Mon Aug 19, 2019 8:33 pm

dustamust wrote:
Mon Aug 19, 2019 6:33 pm
thanks. any word on a fix for this?
You can look at the github issue that @jamesh listed yourself. It's unlikely there will be any progress to announce if it's not shown there.
Signature retired

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Tue Aug 20, 2019 7:53 am

dustamust wrote:
Mon Aug 19, 2019 6:33 pm
thanks. any word on a fix for this?
On holiday. 6by9 might have time to look at it.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Wed Sep 04, 2019 3:03 pm

I've got some beta firmware that may well fix this problem, that needs a hatload of testing. We are code reviewing it internally - it may all be complete nonsense and be shot down in flames, but meanwhile does anyone with HDMI problems want to try it out?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

aBUGSworstnightmare
Posts: 1498
Joined: Tue Jun 30, 2015 1:35 pm

Re: 3440x1440 not applying

Thu Sep 05, 2019 4:34 am

jamesh wrote:
Wed Sep 04, 2019 3:03 pm
I've got some beta firmware that may well fix this problem, that needs a hatload of testing. We are code reviewing it internally - it may all be complete nonsense and be shot down in flames, but meanwhile does anyone with HDMI problems want to try it out?
hi jamesh, which problems does it address (incorrect EDID parsing i.e,)? As my free time is limited atm I would like to know if I spend some on testing.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Thu Sep 05, 2019 6:01 am

aBUGSworstnightmare wrote:
Thu Sep 05, 2019 4:34 am
jamesh wrote:
Wed Sep 04, 2019 3:03 pm
I've got some beta firmware that may well fix this problem, that needs a hatload of testing. We are code reviewing it internally - it may all be complete nonsense and be shot down in flames, but meanwhile does anyone with HDMI problems want to try it out?
hi jamesh, which problems does it address (incorrect EDID parsing i.e,)? As my free time is limited atm I would like to know if I spend some on testing.
The firmware now parses the detailed timing section, where unusual resolutions are stored, and passes the data along to the HDMI system. So weird device's have a better chance of working.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

aBUGSworstnightmare
Posts: 1498
Joined: Tue Jun 30, 2015 1:35 pm

Re: 3440x1440 not applying

Fri Sep 06, 2019 11:07 am

Hi jamesh,
that's good news! Will give it a try!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Fri Sep 06, 2019 11:42 am

aBUGSworstnightmare wrote:
Fri Sep 06, 2019 11:07 am
Hi jamesh,
that's good news! Will give it a try!
OK, I'll zip it up and post a link to it here. BETA, so use at own peril.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Fri Sep 06, 2019 1:38 pm

OK, here a link to a zip of the test firmware.

https://drive.google.com/open?id=1xBfTK ... Lh5Sr8apaE

This is very much beta. I'm interested to see whether it correctly detects odd monitors with non-standard timings. I don't have anything like that so am relying on EDID dumped from other devices.

Thanks.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

dustamust
Posts: 9
Joined: Wed Jul 31, 2019 2:40 am

Re: 3440x1440 not applying

Sun Sep 08, 2019 6:07 pm

thanks jamesh. I tried the custom firmware you posted, and same issue. Is there any specific testing that you would like me to proceed with?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Sun Sep 08, 2019 9:01 pm

dustamust wrote:
Sun Sep 08, 2019 6:07 pm
thanks jamesh. I tried the custom firmware you posted, and same issue. Is there any specific testing that you would like me to proceed with?
Just to confirm you are using the new firmware, what does vcgencmd version return?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23944
Joined: Sat Jul 30, 2011 7:41 pm

Re: 3440x1440 not applying

Sun Sep 08, 2019 9:03 pm

Ah, you might need to increase the max pixel frequency. I'll have to post about that tomorrow.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

dustamust
Posts: 9
Joined: Wed Jul 31, 2019 2:40 am

Re: 3440x1440 not applying

Sun Sep 08, 2019 9:16 pm

[email protected]:~ $ vcgencmd version
Sep 4 2019 12:36:07
Copyright (c) 2012 Broadcom
version a51b488198a8c0360b93351682e7432d89d70411 (clean) (release) (start)

And Yes -- I updated your firmware posted earlier in the /boot/ && reboot.

Return to “Troubleshooting”