Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for 1440p #1181

Closed
indritix opened this issue Jul 8, 2019 · 27 comments

Comments

@indritix
Copy link

commented Jul 8, 2019

I'm trying to configure the rpi4 to work with my BenQ_EW2770QZ in native resolution (2560x1440), so far no luck.
I've managed to get full HD (1080p) but can't go higher.
With the 43" 4k (2160p) TV my rpi4 works though.

tvservice -s outputs:
state 0xa [HDMI DMT (87) RGB full 16:9], 2560x1440 @ 60.00Hz, progressive

here's my config:

#HDMI:EDID guessing the format to be 2560x1440p @60 Hz
#HDMI:EDID found unknown detail timing format: 2560x1440p hfp:47 hs:32 hbp:81 vfp:3 vs:5 vbp:33 pixel clock:241 MHz max pixel clock is 270 MHz

hdmi_ignore_edid=0xa5000080
hdmi_cvt=2560 1440 60 3
hdmi_drive=2
hdmi_group=2
hdmi_mode=87
#hdmi_mode=82
#the pixel clock is calculated from HxVxRR, but with adding all porch/blanking pixels into H & V
#@50Hz: hdmi_pixel_freq_limit=201416000
hdmi_pixel_freq_limit=241699200
#timing of the display
hdmi_timings=2560 0 47 32 81 1440 0 3 5 33 0 0 0 60 0 241699200 3
@6by9

This comment has been minimized.

Copy link

commented Jul 8, 2019

Why are you ignoring the EDID?
The Pi4 is now using the vc4-fkms-v3d overlay by default, so it fully parses the EDID and will allow selection of all modes listed therein.

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

the edid doesn't list a mode for 1440p, the highest I get is 1080p(which works when I select it)

@timg236

This comment has been minimized.

Copy link

commented Jul 9, 2019

Please can you try removing hdmi_pixel_freq_limit=241699200 the default limit is 300000000 ? It might also be worth trying the rpi-update firmware/kernel if you have nothing important on the sd-card and are willing to try the bleeding edge code.

Do you have any other sources which output HDMI at 2560x1440 ? It's just possible that the HDMI supports only a subset of the display port resolutions. It's quite common for 4Kp60 to not be supported over HDMI1.4 inputs but admittedly I've not seen that limitation for QHD.

@6by9

This comment has been minimized.

Copy link

commented Jul 9, 2019

  • Use a stock Raspbian image.
  • Connect your monitor to HDMI0.
  • Remove all changes from config.txt.
  • Reboot.
  • In X run the Screen Configuration application
  • Right click on the rectangle labelled HDMI-1.
  • Does it include the other resolutions? If so click on one of the higher resolutions, and click the green tick. If not, then run tvservice -d edid.dat and attach the resulting file here.

The Pi4 is using the DRM/KMS stack for setting up the screen. hdmi_timings etc still have some use with legacy mode, but you then have no 3D acceleration.
As @timg236 has said, there are a couple of fixes relating to HDMI setup in the latest rpi-update release, so those would be worth trying.

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

I'll try once back home with the default limit.
I already did a rpi-update yesterday, no luck.. sorry that's the only 1440p I have at the moment
as a side note, my dell xps 9370 with arch linux over DP and lenovo X1 Yoga 2Gen over HDMI work fine with the mentioned monitor in native 1440p

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

  • In X run the Screen Configuration application

  • Right click on the rectangle labelled HDMI-1.

I don't see a Screen Config App, is there a cmd for that?

17:22:48 [@raspberrypi:~] % edidparser edid.dat Enabling fuzzy format match... Parsing edid.dat... HDMI:EDID version 1.3, 1 extensions, screen size 16x9 cm HDMI:EDID features - videodef 0x80 !standby !suspend !active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF HDMI:EDID found monitor range descriptor tag 0xfd HDMI:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0 HDMI:EDID monitor range: vertical is 24-75 Hz, horizontal is 26-81 kHz, max pixel clock is 230 MHz HDMI:EDID monitor range does not support GTF HDMI:EDID found monitor name descriptor tag 0xfc HDMI:EDID monitor name is SyncMaster HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16) .... HDMI:EDID has HDMI support and audio support edidparser exited with code 0

@6by9

This comment has been minimized.

Copy link

commented Jul 9, 2019

attach the resulting file here.

The parsed thing is next to useless. With the raw file I can emulate your setup on my Pi4.

Raspbian Buster has "Screen Configuration" under the Preferences menu. Otherwise it is arandr.

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

oops sorry 'bout that, here's the file.
edid.zip
I don't have "Screen Configuration" under the Preferences menu, tried with randr but couldn't really select anything other than 1080p

@6by9

This comment has been minimized.

Copy link

commented Jul 9, 2019

I don't have "Screen Configuration" under the Preferences menu, tried with randr but couldn't really select anything other than 1080p

That comes back to my first step of using a vanilla Raspbian Buster download.
Please confirm that you are doing that with no changes to config.txt.

The quickest way to provide all the info to try and debug this is to run the raspinfo script from https://raw.githubusercontent.com/raspberrypi/utils/master/raspinfo/raspinfo and post that.

@6by9

This comment has been minimized.

Copy link

commented Jul 9, 2019

Using your EDID file on my Pi4, I get the following as my list of supported modes:

pi@raspberrypi:~ $ DISPLAY=:0 xrandr
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 7680 x 7680
HDMI-1 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080     60.00 +  60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1600x1200     60.00  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      74.98    59.90* 
   1280x960      60.00  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    60.00    50.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00    50.00  
   720x480       60.00    60.00    59.94    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  

Using "Screen Configuration" (arandr) to set up the screen I get all those modes listed in the drop down menu, and my monitor seems quite happy with 1440x900@59.9 and 74.98Hz.

There have been some updates in the recent days to the firmware to address some HDMI clocking issues. Normal warnings over rpi-update apply, but it'd be worth updating to see if they are the cause of your issues.

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

my monitor seems quite happy with 1440x900@59.9 and 74.98Hz

by 1440p I mean 2560x1440@60

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

`18:40:29 [@raspberrypi:~] % ./raspinfo
System Information

Raspberry Pi 4 Model B Rev 1.1
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"

Raspberry Pi reference 2019-06-20
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 150e25c4f8123a4c9c63e8dca1b4737fa6c1135c, stage2

Linux raspberrypi 4.19.57-v7l+ #1244 SMP Thu Jul 4 18:48:07 BST 2019 armv7l GNU/Linux
Hardware : BCM2835
Revision : c03111
Serial : 10000000f368b1a2
Throttled flag : throttled=0x0
Camera : supported=0 detected=0

Videocore information

Jul 9 2019 14:37:58
Copyright (c) 2012 Broadcom
version d2b1b7fb01475cb3914b2086299e32d724e832f1 (clean) (release) (start)

alloc failures: 0
compactions: 0
legacy block fails: 0

Filesystem information

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 30400236 3666740 25466124 13% /
devtmpfs 1867796 0 1867796 0% /dev
tmpfs 1999892 0 1999892 0% /dev/shm
tmpfs 1999892 8760 1991132 1% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1999892 0 1999892 0% /sys/fs/cgroup
/dev/mmcblk0p1 258096 42675 215421 17% /boot
tmpfs 399976 8 399968 1% /run/user/1000

Filename Type Size Used Priority
/var/swap file 102396 0 -2

Package version information

raspberrypi-ui-mods:
Installed: 1.20190708
raspberrypi-sys-mods:
Installed: 20190429
openbox:
Installed: 3.6.1-8+rpt2
lxpanel:
Installed: 0.10.0-2+rpt4
pcmanfm:
Installed: 1.3.1-1+rpt7
rpd-plym-splash:
Installed: 0.19

Networking Information

./raspinfo: line 67: ifconfig: command not found

USB Information

/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M

config.txt

arm_freq=1500
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=500
core_freq_min=250
disable_commandline_tags=2
disable_l2cache=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=500
init_uart_clock=0x2dc6c00
lcd_framerate=60
mask_gpu_interrupt0=1024
mask_gpu_interrupt1=0x10000
max_framebuffers=2
pause_burst_frames=1
program_serial_random=1
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
device_tree=-
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=

cmdline.txt

coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M video=HDMI-A-1:1280x720@60 smsc95xx.macaddr=DC:A6:32:04:C4:35 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=1c63bb2b-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

raspi-gpio settings

./raspinfo: line 97: raspi-gpio: command not found

vcdbg log messages

002842.725: arasan: arasan_emmc_open
002844.915: arasan: arasan_emmc_set_clock C0: 0x00000000 C1: 0x000ef447 emmc: 200000000 actual: 200000 div: 0x000001f4 target: 200000 min: 100000 max: 400000 delay: 10
002961.695: arasan: arasan_emmc_set_clock C0: 0x00000000 C1: 0x000ef447 emmc: 200000000 actual: 200000 div: 0x000001f4 target: 200000 min: 100000 max: 400000 delay: 10
002968.851: arasan: arasan_emmc_set_clock C0: 0x00000f00 C1: 0x000e01c7 emmc: 200000000 actual: 130039 div: 0x00000301 target: 130000 min: 100000 max: 400000 delay: 15
003022.616: arasan: arasan_emmc_set_clock C0: 0x00000f06 C1: 0x000e0307 emmc: 200000000 actual: 33333333 div: 0x00000003 target: 40000000 min: 0 max: 40000000 delay: 1
003282.234: brfs: File read: /mfs/sd/config.txt
003282.978: brfs: File read: 1735 bytes
003337.279: brfs: File read: /mfs/sd/config.txt
003538.127: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
003540.608: *** Restart logging
003540.649: brfs: File read: 1735 bytes
003577.333: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
003577.378: HDMI0: hdmi_pixel_encoding: 300000000

003577.390: HDMI1: hdmi_pixel_encoding: 300000000

003579.975: brfs: File read: /mfs/sd/cmdline.txt
003580.038: Read command line from file 'cmdline.txt':
003580.070: 'dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=1c63bb2b-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait'
003580.342: brfs: File read: 142 bytes
004239.322: brfs: File read: /mfs/sd/kernel7l.img
004239.394: Loading 'kernel7l.img' to 0x8000 size 0x5574d0
004243.809: No kernel trailer - assuming DT-capable
004243.900: brfs: File read: 5600464 bytes
004252.140: brfs: File read: /mfs/sd/bcm2711-rpi-4-b.dtb
004252.211: Loading 'bcm2711-rpi-4-b.dtb' to 0x55f4d0 size 0x9d5c
004559.881: brfs: File read: 40284 bytes
004563.988: brfs: File read: /mfs/sd/config.txt
004564.713: dtparam: audio=on
004601.206: brfs: File read: 1735 bytes
004616.383: brfs: File read: /mfs/sd/overlays/vc4-fkms-v3d.dtbo
004673.656: Loaded overlay 'vc4-fkms-v3d'
006167.477: Device tree loaded to 0x2eff5d00 (size 0xa285)
006170.157: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
008869.960: vchiq_core: vchiq_init_state: slot_zero = 0xded80000, is_master = 1
008873.161: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
008879.318: TV service:host side not connected, dropping notification 0x00000002, 0x00000001, 0x00000004
011844.222: brfs: File read: 1255 bytes
012577.821: TV service:host side not connected, dropping notification 0x00000008, 0x00000004, 0x00000000

dmesg log

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.57-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1244 SMP Thu Jul 4 18:48:07 BST 2019
[ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 256 MiB at 0x000000001ec00000
[ 0.000000] On node 0 totalpages: 1012736
[ 0.000000] DMA zone: 1728 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 196608 pages, LIFO batch:63
[ 0.000000] HighMem zone: 816128 pages, LIFO batch:63
[ 0.000000] random: get_random_bytes called from start_kernel+0xc0/0x4e8 with crng_init=0
[ 0.000000] percpu: Embedded 17 pages/cpu s39488 r8192 d21952 u69632
[ 0.000000] pcpu-alloc: s39488 r8192 d21952 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1011008
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M video=HDMI-A-1:1280x720@60 smsc95xx.macaddr=m.m.m.m vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=1c63bb2b-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 3735596K/4050944K available (8192K kernel code, 658K rwdata, 2340K rodata, 2048K init, 850K bss, 53204K reserved, 262144K cma-reserved, 3264512K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0x(ptrval) - 0x(ptrval) (10208 kB)
.init : 0x(ptrval) - 0x(ptrval) (2048 kB)
.data : 0x(ptrval) - 0x(ptrval) ( 659 kB)
.bss : 0x(ptrval) - 0x(ptrval) ( 851 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 27981 entries in 83 pages
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000005] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000021] Switching to timer-based delay loop, resolution 18ns
[ 0.000249] Console: colour dummy device 80x30
[ 0.000725] console [tty1] enabled
[ 0.000779] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[ 0.000821] pid_max: default: 32768 minimum: 301
[ 0.001098] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001130] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001898] CPU: Testing write buffer coherency: ok
[ 0.002319] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002962] Setting up static identity map for 0x200000 - 0x20003c
[ 0.003132] rcu: Hierarchical SRCU implementation.
[ 0.003996] smp: Bringing up secondary CPUs ...
[ 0.004900] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.005907] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.006880] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.007010] smp: Brought up 1 node, 4 CPUs
[ 0.007078] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[ 0.007101] CPU: All CPU(s) started in HYP mode.
[ 0.007121] CPU: Virtualization extensions available.
[ 0.007919] devtmpfs: initialized
[ 0.018011] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[ 0.018254] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.018295] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.025606] pinctrl core: initialized pinctrl subsystem
[ 0.026464] NET: Registered protocol family 16
[ 0.029343] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.030765] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.030798] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.031004] Serial: AMBA PL011 UART driver
[ 0.034043] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.069661] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[ 0.072043] vgaarb: loaded
[ 0.072418] SCSI subsystem initialized
[ 0.072630] usbcore: registered new interface driver usbfs
[ 0.072696] usbcore: registered new interface driver hub
[ 0.072807] usbcore: registered new device driver usb
[ 0.090401] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-07-09 14:37, variant start
[ 0.100114] raspberrypi-firmware soc:firmware: Firmware hash is d2b1b7fb01475cb3914b2086299e32d724e832f1
[ 0.111599] clocksource: Switched to clocksource arch_sys_counter
[ 0.188433] VFS: Disk quotas dquot_6.6.0
[ 0.188529] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.188696] FS-Cache: Loaded
[ 0.188879] CacheFiles: Loaded
[ 0.189408] simple-framebuffer 3ea92000.framebuffer: framebuffer at 0x3ea92000, 0x168c00 bytes, mapped to 0x(ptrval)
[ 0.189447] simple-framebuffer 3ea92000.framebuffer: format=r5g6b5, mode=1184x624x16, linelength=2368
[ 0.192406] Console: switching to colour frame buffer device 148x39
[ 0.194939] simple-framebuffer 3ea92000.framebuffer: fb0: simplefb registered!
[ 0.203942] NET: Registered protocol family 2
[ 0.204633] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.204715] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.205869] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.207014] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.208210] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.209316] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.210682] NET: Registered protocol family 1
[ 0.212320] RPC: Registered named UNIX socket transport module.
[ 0.213390] RPC: Registered udp transport module.
[ 0.214437] RPC: Registered tcp transport module.
[ 0.215464] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.216498] PCI: CLS 0 bytes, default 64
[ 0.219460] Initialise system trusted keyrings
[ 0.220652] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[ 0.230553] FS-Cache: Netfs 'nfs' registered for caching
[ 0.232136] NFS: Registering the id_resolver key type
[ 0.233198] Key type id_resolver registered
[ 0.234250] Key type id_legacy registered
[ 0.235318] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.238557] Key type asymmetric registered
[ 0.239614] Asymmetric key parser 'x509' registered
[ 0.240746] bounce: pool size: 64 pages
[ 0.241832] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.243023] io scheduler noop registered
[ 0.244049] io scheduler deadline registered (default)
[ 0.245212] io scheduler cfq registered
[ 0.246210] io scheduler mq-deadline registered (default)
[ 0.247219] io scheduler kyber registered
[ 0.276950] brcm-pcie fd500000.pcie: dmabounce: initialised - 32768 kB, threshold 0x00000000c0000000
[ 0.278006] brcm-pcie fd500000.pcie: could not get clock
[ 0.279055] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 0.280075] brcm-pcie fd500000.pcie: MEM 0x600000000..0x603ffffff -> 0xf8000000
[ 0.331630] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC)
[ 0.332866] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 0.333832] pci_bus 0000:00: root bus resource [bus 00-01]
[ 0.334782] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[ 0.335782] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 0.335919] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 0.338603] PCI: bus0: Fast back to back transfers disabled
[ 0.339577] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.340708] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 0.340767] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 0.340936] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 0.343571] PCI: bus1: Fast back to back transfers disabled
[ 0.344559] pci_bus 0000:01: busn_res: [bus 01] end is updated to 01
[ 0.344606] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 0.345603] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 0.346597] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.347570] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 0.348601] pci 0000:00:00.0: enabling device (0140 -> 0142)
[ 0.349605] pci 0000:01:00.0: enabling device (0140 -> 0142)
[ 0.353756] iproc-rng200 fe104000.rng: hwrng registered
[ 0.354940] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 0.356416] vc-sm: Videocore shared memory driver
[ 0.357779] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 0.368720] brd: module loaded
[ 0.379235] loop: module loaded
[ 0.380975] Loading iSCSI transport class v2.0-870.
[ 0.383649] libphy: Fixed MDIO Bus: probed
[ 0.385063] bcmgenet fd580000.genet: failed to get enet clock
[ 0.386071] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000
[ 0.387068] bcmgenet fd580000.genet: failed to get enet-wol clock
[ 0.388050] bcmgenet fd580000.genet: failed to get enet-eee clock
[ 0.389229] unimac-mdio unimac-mdio.-19: DMA mask not set
[ 0.401628] libphy: bcmgenet MII bus: probed
[ 0.442130] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(ptrval)
[ 0.443982] usbcore: registered new interface driver r8152
[ 0.445029] usbcore: registered new interface driver lan78xx
[ 0.446032] usbcore: registered new interface driver smsc95xx
[ 0.447229] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 0.448191] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 0.450871] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000000000000890
[ 0.452018] genirq: irq_chip Brcm_MSI did not update eff. affinity mask of irq 55
[ 0.453609] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 0.454615] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.455602] usb usb1: Product: xHCI Host Controller
[ 0.456557] usb usb1: Manufacturer: Linux 4.19.57-v7l+ xhci-hcd
[ 0.457501] usb usb1: SerialNumber: 0000:01:00.0
[ 0.458933] hub 1-0:1.0: USB hub found
[ 0.459892] hub 1-0:1.0: 1 port detected
[ 0.461208] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 0.462195] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 0.463131] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 0.464371] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[ 0.465336] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.466292] usb usb2: Product: xHCI Host Controller
[ 0.467223] usb usb2: Manufacturer: Linux 4.19.57-v7l+ xhci-hcd
[ 0.468147] usb usb2: SerialNumber: 0000:01:00.0
[ 0.469531] hub 2-0:1.0: USB hub found
[ 0.470460] hub 2-0:1.0: 4 ports detected
[ 0.472454] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.498915] dwc_otg fe980000.usb: base=(ptrval)
[ 0.700137] Core Release: 2.80a
[ 0.701039] Setting default values for core params
[ 0.701983] Finished setting default values for core params
[ 0.903217] Using Buffer DMA mode
[ 0.904136] Periodic Transfer Interrupt Enhancement - disabled
[ 0.905063] Multiprocessor Interrupt Enhancement - disabled
[ 0.905990] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.906931] Dedicated Tx FIFOs mode
[ 0.908495] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = ded30000 dma = 0x00000000ded30000 len=9024
[ 0.909485] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.914219] dwc_otg: Microframe scheduler enabled
[ 0.914284] WARN::hcd_init_fiq:457: FIQ on core 1
[ 0.915209] WARN::hcd_init_fiq:458: FIQ ASM at c07ae05c length 36
[ 0.916130] WARN::hcd_init_fiq:497: MPHI regs_base at f0810200
[ 0.917065] dwc_otg fe980000.usb: DWC OTG Controller
[ 0.917992] dwc_otg fe980000.usb: new USB bus registered, assigned bus number 3
[ 0.918952] dwc_otg fe980000.usb: irq 36, io mem 0x00000000
[ 0.919908] Init: Port Power? op_state=1
[ 0.920824] Init: Power Port (0)
[ 0.921989] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 0.922946] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.923891] usb usb3: Product: DWC OTG Controller
[ 0.924812] usb usb3: Manufacturer: Linux 4.19.57-v7l+ dwc_otg_hcd
[ 0.925738] usb usb3: SerialNumber: fe980000.usb
[ 0.927141] hub 3-0:1.0: USB hub found
[ 0.928090] hub 3-0:1.0: 1 port detected
[ 0.929552] dwc_otg: FIQ enabled
[ 0.929561] dwc_otg: NAK holdoff enabled
[ 0.929570] dwc_otg: FIQ split-transaction FSM enabled
[ 0.929583] Module dwc_common_port init
[ 0.929791] usbcore: registered new interface driver uas
[ 0.930808] usbcore: registered new interface driver usb-storage
[ 0.931915] mousedev: PS/2 mouse device common for all mice
[ 0.933963] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 0.935062] bcm2835-cpufreq: min=600000 max=1500000
[ 0.936552] sdhci: Secure Digital Host Controller Interface driver
[ 0.937482] sdhci: Copyright(c) Pierre Ossman
[ 0.938769] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[ 0.940069] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.943973] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.945050] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.946133] usbcore: registered new interface driver usbhid
[ 0.947075] usbhid: USB HID core driver
[ 0.948680] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[ 0.951170] [vc_sm_connected_init]: start
[ 0.959707] [vc_sm_connected_init]: end - returning 0
[ 0.961695] Initializing XFRM netlink socket
[ 0.962628] NET: Registered protocol family 17
[ 0.963603] Key type dns_resolver registered
[ 0.964835] Registering SWP/SWPB emulation handler
[ 0.966327] registered taskstats version 1
[ 0.967236] Loading compiled-in X.509 certificates
[ 0.975835] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 0.976819] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 33, base_baud = 0) is a PL011 rev2
[ 0.980708] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 0.982345] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
[ 0.983914] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 0.984882] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.011891] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.1
[ 1.029024] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.031565] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.034124] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.037889] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.040385] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.045239] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[ 1.048676] of_cfs_init
[ 1.049665] of_cfs_init: OK
[ 1.051139] Waiting for root device PARTUUID=1c63bb2b-02...
[ 1.052168] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.101468] random: fast init done
[ 1.121129] mmc1: new high speed SDIO card at address 0001
[ 1.158105] mmc0: new ultra high speed DDR50 SDHC card at address e624
[ 1.160134] mmcblk0: mmc0:e624 SP32G 29.7 GiB
[ 1.162402] mmcblk0: p1 p2
[ 1.182099] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.183081] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.188814] devtmpfs: mounted
[ 1.196245] Freeing unused kernel memory: 2048K
[ 1.221857] Run /sbin/init as init process
[ 1.233286] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
[ 1.234285] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.235252] usb 1-1: Product: USB2.0 Hub
[ 1.237697] hub 1-1:1.0: USB hub found
[ 1.238853] hub 1-1:1.0: 4 ports detected
[ 1.561647] usb 1-1.3: new low-speed USB device number 3 using xhci_hcd
[ 1.604842] systemd[1]: System time before build time, advancing clock.
[ 1.684805] NET: Registered protocol family 10
[ 1.686952] Segment Routing with IPv6
[ 1.709868] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.00
[ 1.710881] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.711860] usb 1-1.3: Product: USB Keyboard
[ 1.712795] usb 1-1.3: Manufacturer: Logitech
[ 1.723111] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 1.725848] systemd[1]: Detected architecture arm.
[ 1.730000] input: Logitech USB Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C31C.0001/input/input0
[ 1.742850] systemd[1]: Set hostname to .
[ 1.751401] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
[ 1.802760] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:01:00.0-1.3/input0
[ 1.817827] input: Logitech USB Keyboard Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C31C.0002/input/input1
[ 1.881947] input: Logitech USB Keyboard System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C31C.0002/input/input2
[ 1.885114] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:01:00.0-1.3/input1
[ 2.035100] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 2.037930] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 2.379424] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.389310] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.391533] systemd[1]: Listening on Journal Socket.
[ 2.397810] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.408203] systemd[1]: Starting Set the console keyboard layout...
[ 2.418147] systemd[1]: Mounting POSIX Message Queue File System...
[ 2.427951] systemd[1]: Mounting RPC Pipe File System...
[ 3.054960] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.183065] systemd-journald[119]: Received request to flush runtime journal from PID 1
[ 3.723303] argon-mem feb00000.hevc-decoder: argon-hevcmem initialised: Registers at 0xfeb00000 length 0x0000ffff
[ 3.723647] argon-mem feb10000.argon-local-intc: argon-intcmem initialised: Registers at 0xfeb10000 length 0x00000fff
[ 3.723963] argon-mem feb20000.h264-decoder: argon-h264mem initialised: Registers at 0xfeb20000 length 0x0000ffff
[ 3.724281] argon-mem feb30000.vp9-decoder: argon-vp9mem initialised: Registers at 0xfeb30000 length 0x0000ffff
[ 3.743979] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.748611] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 3.748627] [vc_sm_connected_init]: start
[ 3.756450] [vc_sm_connected_init]: installed successfully
[ 3.769181] media: Linux media interface: v0.10
[ 3.841696] videodev: Linux video capture interface: v2.00
[ 3.872517] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.874819] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.889537] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.891500] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.903200] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 3.903213] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 3.916013] bcm2835_audio soc:audio: card created with 8 channels
[ 3.916839] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 3.916854] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 3.949459] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 3.949473] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 4.081154] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.184689] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.232426] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 4.245649] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.246441] usbcore: registered new interface driver brcmfmac
[ 4.321298] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 4.445258] vc4-drm soc:gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[ 4.445276] checking generic (3ea92000 168c00) vs hw (0 ffffffffffffffff)
[ 4.445287] fb: switching to vc4drmfb from simple
[ 4.445513] Console: switching to colour dummy device 80x30
[ 4.460045] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 1
[ 4.460058] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 4.460068] [drm] No driver support for vblank timestamp query.
[ 4.460077] [drm] Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
[ 4.473421] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 4.488171] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 4.675110] Console: switching to colour frame buffer device 160x45
[ 4.700395] vc4-drm soc:gpu: fb0: DRM emulated frame buffer device
[ 6.339945] 8021q: 802.1Q VLAN Support v1.8
[ 6.494559] uart-pl011 fe201000.serial: no DMA platform data
[ 6.495418] random: crng init done
[ 6.495430] random: 7 urandom warning(s) missed due to ratelimiting
[ 6.655648] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 6.749128] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 6.749158] brcmfmac: power management disabled
[ 7.212097] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
[ 7.212388] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 8.231708] bcmgenet fd580000.genet eth0: Link is Down
[ 12.259404] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 13.107186] Bluetooth: Core ver 2.22
[ 13.107264] NET: Registered protocol family 31
[ 13.107274] Bluetooth: HCI device and connection manager initialized
[ 13.107295] Bluetooth: HCI socket layer initialized
[ 13.107310] Bluetooth: L2CAP socket layer initialized
[ 13.107354] Bluetooth: SCO socket layer initialized
[ 13.123332] Bluetooth: HCI UART driver ver 2.3
[ 13.123346] Bluetooth: HCI UART protocol H4 registered
[ 13.123860] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 13.125037] Bluetooth: HCI UART protocol Broadcom registered
[ 13.264981] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 13.264987] Bluetooth: BNEP filters: protocol multicast
[ 13.264996] Bluetooth: BNEP socket layer initialized
[ 13.342152] Bluetooth: RFCOMM TTY layer initialized
[ 13.342165] Bluetooth: RFCOMM socket layer initialized
[ 13.342178] Bluetooth: RFCOMM ver 1.11
[ 19.385110] ------------[ cut here ]------------
[ 19.385148] WARNING: CPU: 0 PID: 571 at drivers/gpu/drm/vc4/vc4_firmware_kms.c:899 vc4_crtc_atomic_flush+0x98/0x9c [vc4]
[ 19.385151] Modules linked in: rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic 8021q garp stp llc joydev evdev vc4 drm_kms_helper brcmfmac brcmutil v3d gpu_sched sha256_generic drm cfg80211 snd_soc_core drm_panel_orientation_quirks rfkill bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem v4l2_common snd_bcm2835(C) snd_compress bcm2835_mmal_vchiq(C) snd_pcm_dmaengine videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 raspberrypi_hwmon videobuf2_common hwmon snd_pcm syscopyarea sysfillrect snd_timer sysimgblt fb_sys_fops snd videodev media vc_sm_cma(C) argon_mem uio_pdrv_genirq uio fixed ip_tables x_tables ipv6
[ 19.385326] CPU: 0 PID: 571 Comm: Xorg Tainted: G C 4.19.57-v7l+ #1244
[ 19.385329] Hardware name: BCM2835
[ 19.385346] [] (unwind_backtrace) from [] (show_stack+0x20/0x24)
[ 19.385354] [] (show_stack) from [] (dump_stack+0xd4/0x118)
[ 19.385362] [] (dump_stack) from [] (__warn+0x104/0x11c)
[ 19.385368] [] (__warn) from [] (warn_slowpath_null+0x50/0x58)
[ 19.385392] [] (warn_slowpath_null) from [] (vc4_crtc_atomic_flush+0x98/0x9c [vc4])
[ 19.385459] [] (vc4_crtc_atomic_flush [vc4]) from [] (drm_atomic_helper_commit_planes+0x1a4/0x298 [drm_kms_helper])
[ 19.385513] [] (drm_atomic_helper_commit_planes [drm_kms_helper]) from [] (vc4_atomic_complete_commit+0x60/0x33c [vc4])
[ 19.385552] [] (vc4_atomic_complete_commit [vc4]) from [] (vc4_atomic_commit+0xe0/0x194 [vc4])
[ 19.385643] [] (vc4_atomic_commit [vc4]) from [] (drm_atomic_commit+0x5c/0x60 [drm])
[ 19.385746] [] (drm_atomic_commit [drm]) from [] (restore_fbdev_mode_atomic+0x204/0x214 [drm_kms_helper])
[ 19.385805] [] (restore_fbdev_mode_atomic [drm_kms_helper]) from [] (drm_fb_helper_dpms+0x68/0x164 [drm_kms_helper])
[ 19.385859] [] (drm_fb_helper_dpms [drm_kms_helper]) from [] (drm_fb_helper_blank+0x60/0xa4 [drm_kms_helper])
[ 19.385891] [] (drm_fb_helper_blank [drm_kms_helper]) from [] (fb_blank+0x74/0xcc)
[ 19.385897] [] (fb_blank) from [] (do_fb_ioctl+0x468/0x768)
[ 19.385902] [] (do_fb_ioctl) from [] (fb_ioctl+0x50/0x5c)
[ 19.385909] [] (fb_ioctl) from [] (do_vfs_ioctl+0xbc/0x804)
[ 19.385917] [] (do_vfs_ioctl) from [] (ksys_ioctl+0x44/0x6c)
[ 19.385923] [] (ksys_ioctl) from [] (sys_ioctl+0x18/0x1c)
[ 19.385930] [] (sys_ioctl) from [] (ret_fast_syscall+0x0/0x28)
[ 19.385933] Exception stack(0xda949fa8 to 0xda949ff0)
[ 19.385937] 9fa0: 01f41318 01f417e8 0000000c 00004611 00000001 00000000
[ 19.385941] 9fc0: 01f41318 01f417e8 00000001 00000036 0008df70 0000000a bedc9e54 00000000
[ 19.385944] 9fe0: b623c034 bedc9bac b6229bc0 b696c51c
[ 19.385948] ---[ end trace d981ff50db96d3df ]---
[ 19.408166] ------------[ cut here ]------------
[ 19.408248] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/drm_vblank.c:1026 drm_vblank_put+0xf0/0x100 [drm]
[ 19.408251] Modules linked in: rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic 8021q garp stp llc joydev evdev vc4 drm_kms_helper brcmfmac brcmutil v3d gpu_sched sha256_generic drm cfg80211 snd_soc_core drm_panel_orientation_quirks rfkill bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem v4l2_common snd_bcm2835(C) snd_compress bcm2835_mmal_vchiq(C) snd_pcm_dmaengine videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 raspberrypi_hwmon videobuf2_common hwmon snd_pcm syscopyarea sysfillrect snd_timer sysimgblt fb_sys_fops snd videodev media vc_sm_cma(C) argon_mem uio_pdrv_genirq uio fixed ip_tables x_tables ipv6
[ 19.408377] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G WC 4.19.57-v7l+ #1244
[ 19.408379] Hardware name: BCM2835
[ 19.408393] [] (unwind_backtrace) from [] (show_stack+0x20/0x24)
[ 19.408401] [] (show_stack) from [] (dump_stack+0xd4/0x118)
[ 19.408409] [] (dump_stack) from [] (__warn+0x104/0x11c)
[ 19.408414] [] (__warn) from [] (warn_slowpath_null+0x50/0x58)
[ 19.408484] [] (warn_slowpath_null) from [] (drm_vblank_put+0xf0/0x100 [drm])
[ 19.408618] [] (drm_vblank_put [drm]) from [] (drm_crtc_vblank_put+0x24/0x28 [drm])
[ 19.408704] [] (drm_crtc_vblank_put [drm]) from [] (vc4_crtc_handle_page_flip+0x50/0x60 [vc4])
[ 19.408744] [] (vc4_crtc_handle_page_flip [vc4]) from [] (vc4_crtc_irq_handler+0xc8/0x144 [vc4])
[ 19.408767] [] (vc4_crtc_irq_handler [vc4]) from [] (__handle_irq_event_percpu+0xc0/0x22c)
[ 19.408774] [] (__handle_irq_event_percpu) from [] (handle_irq_event_percpu+0x3c/0x8c)
[ 19.408778] [] (handle_irq_event_percpu) from [] (handle_irq_event+0x54/0x78)
[ 19.408784] [] (handle_irq_event) from [] (handle_fasteoi_irq+0xb4/0x194)
[ 19.408790] [] (handle_fasteoi_irq) from [] (generic_handle_irq+0x34/0x44)
[ 19.408797] [] (generic_handle_irq) from [] (__handle_domain_irq+0x6c/0xc4)
[ 19.408803] [] (__handle_domain_irq) from [] (gic_handle_irq+0x4c/0x88)
[ 19.408808] [] (gic_handle_irq) from [] (__irq_svc+0x5c/0x7c)
[ 19.408811] Exception stack(0xc1001ed8 to 0xc1001f20)
[ 19.408815] 1ec0: c0209a84 00000000
[ 19.408819] 1ee0: 40000093 40000093 c1004dbc c1000000 c1004e04 00000001 c10957ca c10a4a00
[ 19.408823] 1f00: c0e67a38 c1001f34 c10051c4 c1001f28 00000000 c0209a88 40000013 ffffffff
[ 19.408829] [] (__irq_svc) from [] (arch_cpu_idle+0x34/0x4c)
[ 19.408837] [] (arch_cpu_idle) from [] (default_idle_call+0x34/0x48)
[ 19.408844] [] (default_idle_call) from [] (do_idle+0xec/0x17c)
[ 19.408851] [] (do_idle) from [] (cpu_startup_entry+0x28/0x2c)
[ 19.408856] [] (cpu_startup_entry) from [] (rest_init+0xbc/0xc0)
[ 19.408863] [] (rest_init) from [] (start_kernel+0x4b8/0x4e8)
[ 19.408867] ---[ end trace d981ff50db96d3e0 ]---
[ 22.383086] fuse init (API version 7.27)
18:40:36 [@raspberrypi:~] %`

@6by9

This comment has been minimized.

Copy link

commented Jul 9, 2019

Sorry, saw the 1440 and my brain went the wrong way.

You really ought to complain to your monitor manufacturer then, as it doesn't advertise the mode at all in the EDID

pi@raspberrypi:~/tmp $ edid-decode edid.dat 
EDID version: 1.3
Manufacturer: SAM Model 5b0 Serial Number 0
Made in week 13 of 2009
Digital display
Maximum image size: 16 cm x 9 cm
Gamma: 2.20
RGB color display
First detailed timing is preferred timing
Display x,y Chromaticity:
  Red:   0.6396, 0.3300
  Green: 0.2998, 0.5996
  Blue:  0.1503, 0.0595
  White: 0.3125, 0.3291
Established timings supported:
  720x400@70Hz 9:5 HorFreq: 31469 Hz Clock: 28.320 MHz
  640x480@60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz
  640x480@67Hz 4:3 HorFreq: 35000 Hz Clock: 30.240 MHz
  640x480@72Hz 4:3 HorFreq: 37900 Hz Clock: 31.500 MHz
  640x480@75Hz 4:3 HorFreq: 37500 Hz Clock: 31.500 MHz
  800x600@56Hz 4:3 HorFreq: 35200 Hz Clock: 36.000 MHz
  800x600@60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz
  800x600@72Hz 4:3 HorFreq: 48100 Hz Clock: 50.000 MHz
  800x600@75Hz 4:3 HorFreq: 46900 Hz Clock: 49.500 MHz
  832x624@75Hz 4:3 HorFreq: 49726 Hz Clock: 57.284 MHz
  1024x768@60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz
  1024x768@70Hz 4:3 HorFreq: 56500 Hz Clock: 75.000 MHz
  1024x768@75Hz 4:3 HorFreq: 60000 Hz Clock: 78.750 MHz
  1280x1024@75Hz 5:4 HorFreq: 80000 Hz Clock: 135.000 MHz
  1152x870@75Hz 192:145 HorFreq: 67500 Hz Clock: 108.000 MHz
Standard timings supported:
  1152x864@75Hz 4:3 HorFreq: 67500 Hz Clock: 108.000 MHz
  1280x800@60Hz 16:10
  1280x960@60Hz 4:3 HorFreq: 60000 Hz Clock: 108.000 MHz
  1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz
  1440x900@60Hz 16:10 HorFreq: 55500 Hz Clock: 88.750 MHz
  1440x900@75Hz 16:10 HorFreq: 82300 Hz Clock: 156.000 MHz
  1600x1200@60Hz 4:3 HorFreq: 75000 Hz Clock: 162.000 MHz
  1680x1050@60Hz 16:10 HorFreq: 64700 Hz Clock: 119.000 MHz
Detailed mode: Clock 148.500 MHz, 160 mm x 90 mm
               1920 2008 2052 2200 hborder 0
               1080 1084 1089 1125 vborder 0
               +hsync +vsync 
               VertFreq: 60 Hz, HorFreq: 67500 Hz
Detailed mode: Clock 74.250 MHz, 160 mm x 90 mm
               1280 1720 1760 1980 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
               VertFreq: 50 Hz, HorFreq: 37500 Hz
Monitor ranges (GTF): 24-75Hz V, 26-81kHz H, max dotclock 230MHz
Monitor name: SyncMaster
Has 1 extension blocks
Checksum: 0xd1 (valid)

CTA extension block
Extension version: 3
31 bytes of CTA data
  Video data block
    VIC  19 1280x720@50Hz 16:9 (native) HorFreq: 37500 Hz Clock: 74.250 MHz
    VIC   4 1280x720@60Hz 16:9  HorFreq: 45000 Hz Clock: 74.250 MHz
    VIC   5 1920x1080i@60Hz 16:9  HorFreq: 33750 Hz Clock: 74.250 MHz
    VIC  20 1920x1080i@50Hz 16:9  HorFreq: 28125 Hz Clock: 74.250 MHz
    VIC   3 720x480@60Hz 16:9  HorFreq: 31469 Hz Clock: 27.000 MHz
    VIC  18 720x576@50Hz 16:9  HorFreq: 31250 Hz Clock: 27.000 MHz
    VIC  16 1920x1080@60Hz 16:9  HorFreq: 67500 Hz Clock: 148.500 MHz
    VIC  31 1920x1080@50Hz 16:9  HorFreq: 56250 Hz Clock: 148.500 MHz
    VIC  32 1920x1080@24Hz 16:9  HorFreq: 27000 Hz Clock: 74.250 MHz
    VIC  33 1920x1080@25Hz 16:9  HorFreq: 28125 Hz Clock: 74.250 MHz
    VIC  34 1920x1080@30Hz 16:9  HorFreq: 33750 Hz Clock: 74.250 MHz
  Audio data block
    Linear PCM, max channels 2
      Supported sample rates (kHz): 48 44.1 32
      Supported sample sizes (bits): 24 20 16
  Speaker allocation data block
    Speaker map:
      FL/FR - Front Left/Right
  Extended tag: Video capability data block
    YCbCr quantization: No Data (0)
    RGB quantization: No Data (0)
    PT scan behaviour: No Data (0)
    IT scan behaviour: Support both over- and underscan (3)
    CE scan behaviour: Support both over- and underscan (3)
  Vendor-specific data block, OUI 000c03 (HDMI)
    Source physical address 1.0.0.0
    Supports_AI
    DC_36bit
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 225MHz
Underscans PC formats by default
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
1 native detailed modes
Detailed mode: Clock 74.250 MHz, 160 mm x 90 mm
               1920 2448 2492 2640 hborder 0
                540  542  547  562 vborder 0
               +hsync +vsync interlaced 
               VertFreq: 50 Hz, HorFreq: 28125 Hz
Detailed mode: Clock 74.250 MHz, 160 mm x 90 mm
               1920 2008 2052 2200 hborder 0
                540  542  547  562 vborder 0
               +hsync +vsync interlaced 
               VertFreq: 60 Hz, HorFreq: 33750 Hz
Detailed mode: Clock 74.250 MHz, 160 mm x 90 mm
               1280 1390 1430 1650 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
               VertFreq: 60 Hz, HorFreq: 45000 Hz
Detailed mode: Clock 27.000 MHz, 160 mm x 90 mm
                720  732  796  864 hborder 0
                576  581  586  625 vborder 0
               -hsync -vsync 
               VertFreq: 50 Hz, HorFreq: 31250 Hz
Detailed mode: Clock 27.000 MHz, 160 mm x 90 mm
                720  736  798  858 hborder 0
                480  489  495  525 vborder 0
               -hsync -vsync 
               VertFreq: 59 Hz, HorFreq: 31468 Hz
Checksum: 0x57 (valid)

You should be able to manually add modes via xrandr in the same way as any other Linux machine, eg https://ubuntuforums.org/showthread.php?t=1112186, but it's throwing errors at present.

hdmi_timings currently doesn't play well with KMS. I will look at whether it can be improved, but I'm afraid that displays with dodgy EDIDs are currently a pain.
NB That this will be fixed in the Linux kernel, not in the firmware. Sorry, but I'm not messing with the firmware EDID parser unless I really have to.

Thanks for the raspinfo dump - at least I now know what your system is doing.

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

but I'm afraid that displays with dodgy EDIDs are currently a pain

actually my edidparser shows that my monitor advertises itself correctly, the problem is it's resolution seems not to be supported :(
HDMI:EDID found monitor name descriptor tag 0xfc HDMI:EDID monitor name is BenQ_EW2770QZ HDMI:EDID failed to find a matching detail format for 2560x1440p hfp:47 hs:32 hbp:81 vfp:3 vs:5 vbp:33 pixel clock:241 MHz HDMI:EDID calculated refresh rate is 60 Hz HDMI:EDID guessing the format to be 2560x1440p @60 Hz HDMI:EDID found unknown detail timing format: 2560x1440p hfp:47 hs:32 hbp:81 vfp:3 vs:5 vbp:33 pixel clock:241 MHz HDMI:EDID established timing I/II bytes are A5 6B 80

@6by9

This comment has been minimized.

Copy link

commented Jul 9, 2019

In which case that isn't the EDID file that you attached.

Actually I'm noticing from my parser

Manufacturer: SAM Model 5b0 Serial Number 0
Made in week 13 of 2009
...
Monitor name: SyncMaster

Sounds like a Samsung Syncmaster to me, not a BenQ.

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

I just re-dumped it, it should contain the correct infos.
edid.zip

@6by9

This comment has been minimized.

Copy link

commented Jul 9, 2019

Monitor name: BenQ EW2770QZ

Looks more plausible.

@6by9

This comment has been minimized.

Copy link

commented Jul 9, 2019

So that parses reasonably, and xrandr reports a sensible list of resolutions, including 2560x1440@59.95

pi@raspberrypi:~ $ DISPLAY=:0 xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 7680 x 7680
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95 +
   1920x1080     60.00*   60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00    50.00    50.00  
   720x480       60.00    60.00    59.94    59.94    59.94  
   640x480       75.00    60.00    59.94    59.94  
   720x400       70.08  

My 4k monitor doesn't support 2560x1440 though, so I can't check if the Pi is actually producing a sensible output for that mode. I'll have to try and hunt down an alternate monitor.

@6by9

This comment has been minimized.

Copy link

commented Jul 9, 2019

Monitor supporting 2560x1440 @ 59.95 found, and it works fine.

Sorry, there's not much more that we can do here. There are some cables that are marginal and will fail at higher frequencies, but if the same cable is doing 4k to your TV then that sounds unlikely.

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

hm... my xrandr looks different though:

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080      0.00* 
20:38:15 [:~] % sudo xrandr --newmode "2560x1440_59.95" 241.50  2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync
xrandr: Failed to get size of gamma for output default
20:40:01 [:~] % sudo xrandr --addmode HDMI-1 "2560x1440_59.95"
xrandr: Failed to get size of gamma for output default
xrandr: cannot find output "HDMI-1"
20:40:24 [:~] 1 %```
@ghollingworth

This comment has been minimized.

Copy link
Contributor

commented Jul 10, 2019

Can you please download the latest Raspbian from the raspberrypi.org website and install the desktop version.

Then try again

@6by9

This comment has been minimized.

Copy link

commented Jul 10, 2019

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm

that looks like you aren't using the FKMS driver, although your dmesg appears to say it is loaded.

As Gordon says, please try with a fresh install - something looks very screwy with your current one.

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 10, 2019

ok, with a fresh install I'm getting some hope ;)

pi@raspberrypi:~ $ DISPLAY=:0 xrandr 
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 7680 x 7680
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95 +
   1920x1080     60.00*   60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00    50.00    50.00  
   720x480       60.00    60.00    59.94    59.94    59.94  
   640x480       75.00    60.00    59.94    59.94  
   720x400       70.08  
pi@raspberrypi:~ $

but when I select 1440p in "Screen Configuration" (this time it shows up), no changes are made after I click apply (I can see it tries, but unfortunately no luck), and the resolution reverts back to 1080p.
Maybe this time my edid.dat will help.
edid.zip
PS: yes I already did a rpi-update

@indritix

This comment has been minimized.

Copy link
Author

commented Jul 10, 2019

tried with xrandr --output HDMI-1 --mode 2560x1440 --rate 59.95, nothing, a loop starts and no screen is detected.
xrandr --verbose shows:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 7680 x 7680
HDMI-1 connected primary 1920x1080+0+0 (0x45) normal (normal left inverted right x axis y axis) 597mm x 336mm
	Identifier: 0x41
	Timestamp:  38842
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0009d1467945540000
		141c0103803c22782e6665a9544c9d26
		105054a56b80d1c0b300a9c081808100
		81c001010101565e00a0a0a029502f20
		350055502100001a000000ff0046354a
		30303431333031510a20000000fd0032
		4c1e5a1b000a202020202020000000fc
		0042656e5120455732373730515a0112
		020323f150901f222120051404131211
		0302010706230907078301000065030c
		001000011d007251d01e206e28550055
		502100001e8c0ad08a20e02d10103e96
		005550210000188c0ad090204031200c
		4055005550210000188c0ad090204031
		200c4055005550210000180000000000
		000000000000000000000000000000e4
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 51 
		supported: 51
	non-desktop: 0 
		range: (0, 1)
  2560x1440 (0x44) 241.500MHz +HSync -VSync +preferred
        h: width  2560 start 2607 end 2639 total 2720 skew    0 clock  88.79KHz
        v: height 1440 start 1443 end 1448 total 1481           clock  59.95Hz
  1920x1080 (0x45) 148.500MHz -HSync -VSync *current
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x46) 148.500MHz +HSync +VSync
        h: w
@indritix

This comment has been minimized.

Copy link
Author

commented Jul 13, 2019

tried with latest firmware, still impossible to go higher than 1080p.
Why I can select the 1440p resolution in "screen configuration" (or alternatively with xrandr on a terminal) but then after clicking apply the changes don't apply and the resolution reverts to 1080p is still a mystery to me.
if you need logs/traces just let me know..

pi@raspberrypi:~ $ vcgencmd version
Jul  9 2019 14:37:58 
Copyright (c) 2012 Broadcom
version d2b1b7fb01475cb3914b2086299e32d724e832f1 (clean) (release) (start)
pi@raspberrypi:~ $ vcgencmd get_config int
arm_freq=1500
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=500
core_freq_min=250
disable_commandline_tags=2
disable_l2cache=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=500
init_uart_clock=0x2dc6c00
lcd_framerate=60
mask_gpu_interrupt0=1024 
mask_gpu_interrupt1=0x10000
max_framebuffers=2
pause_burst_frames=1
program_serial_random=1
hdmi_drive:0=2
hdmi_force_cec_address:0=65535fingerprint
hdmi_force_cec_address:1=65535
hdmi_force_hotplug:0=1
hdmi_group:0=2
hdmi_mode:0=82
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
pi@raspberrypi:~ $
@indritix

This comment has been minimized.

Copy link
Author

commented Jul 17, 2019

Ok, I managed to solve the problem with xrandr (thanks to the archlinux wiki), would be nice if there was a way to translate xrandr parameters into config.txt entries though.

@indritix indritix closed this Jul 17, 2019
@sooriravindra

This comment has been minimized.

Copy link

commented Sep 12, 2019

@indritix Could you please post your solution? I am facing a similar issue. xrandr isn't able to set the resolution either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.