You are not logged in.

#1 2023-07-26 16:10:07

heyrict
Member
Registered: 2020-05-07
Posts: 6

[SOLVED] Regression on display resolution in linux 6.4.3

Description:

When I upgrade from linux 6.3.8.arch1-1 to linux 6.4.3-arch1-2, fewer screen resolutions were available for `sway-wm`.
And for `awesome`, setting resolution with `xrandr --output eDP-1 --mode 1920x1200` results in a black screen.
The issue also happens in the latest kernel 6.4.6.arch1-1.
Not sure if it is a kernel regression or a device-specific regression. I'm going to put it here in case someone had any thoughts.
Rolling linux and linux-headers back to 6.3.8 resolves the issue.


Additional info:

Kernel: 6.4.3-arch1-2
Model: ASUS M3400QA Laptop
WM: sway/awesome

Swaymsg output in Linux 6.3.8:

> swaymsg -t get_outputs
Output eDP-1 'SDC 0x4154 Unknown' (focused)
  Current mode: 1920x1200 @ 90.001 Hz
  Position: 0,0
  Scale factor: 1.000000
  Scale filter: nearest
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 1
  Max render time: off
  Adaptive sync: disabled
  Available modes:
    2880x1800 @ 90.001 Hz
    2880x1800 @ 60.001 Hz
    1920x1200 @ 90.001 Hz
    1920x1080 @ 90.001 Hz
    1600x1200 @ 90.001 Hz
    1680x1050 @ 90.001 Hz
    1280x1024 @ 90.001 Hz
    1440x900 @ 90.001 Hz
    1280x800 @ 90.001 Hz
    1280x720 @ 90.001 Hz
    1024x768 @ 90.001 Hz
    800x600 @ 90.001 Hz
    640x480 @ 90.001 Hz

Swaymsg output in Linux 6.4.3:

> swaymsg -t get_outputs
Output eDP-1 'SDC 0x4154 Unknown' (focused)
  Current mode: 2880x1800 @ 90.001 Hz
  Position: 0,0
  Scale factor: 1.000000
  Scale filter: nearest
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 1
  Max render time: off
  Adaptive sync: disabled
  Available modes:
    2880x1800 @ 90.001 Hz
    2880x1800 @ 60.001 Hz

Part of `journalctl -k` output when changing screen resolution under awesome:

Jul 26 20:12:56 heyrict-asus-2021 kernel: asus_wmi: Unknown key code 0xcf
Jul 26 20:12:57 heyrict-asus-2021 kernel: ahci 0000:04:00.0: failed stop FIS RX (-16)
Jul 26 20:12:57 heyrict-asus-2021 kernel: ------------[ cut here ]------------
Jul 26 20:12:57 heyrict-asus-2021 kernel: WARNING: CPU: 2 PID: 153 at drivers/ata/libata-eh.c:3977 ata_scsi_port_error_handler+0x7c6/0x840
Jul 26 20:12:57 heyrict-asus-2021 kernel: Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device ccm algif_aead cbc des_generic libdes ecb algif_skcipher cmac md4 algif_hash af_alg bnep btusb btrtl uvcvideo btbcm videobuf2_vmalloc btintel uvc btmtk videobuf2_memops videobuf2_v4l2 videodev bluetooth videobuf2_common mc ecdh_generic 8021q garp mrp stp llc snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp iwlmvm snd_sof snd_sof_utils intel_rapl_msr snd_soc_core intel_rapl_common vfat mac80211 edac_mce_amd snd_compress fat ac97_bus snd_pcm_dmaengine joydev kvm_amd snd_hda_codec_realtek mousedev snd_hda_codec_generic snd_hda_codec_hdmi libarc4 snd_pci_ps snd_hda_intel snd_rpl_pci_acp6x kvm snd_intel_dspcfg snd_intel_sdw_acpi iwlwifi snd_hda_codec snd_acp_pci irqbypass snd_pci_acp6x snd_hda_core crct10dif_pclmul snd_pci_acp5x asus_nb_wmi crc32_pclmul snd_hwdep polyval_clmulni snd_rn_pci_acp3x polyval_generic cfg80211 snd_pcm asus_wmi gf128mul snd_acp_config ledtrig_audio ghash_clmulni_intel
Jul 26 20:12:57 heyrict-asus-2021 kernel:  sparse_keymap sha512_ssse3 sp5100_tco snd_soc_acpi platform_profile hid_multitouch snd_timer aesni_intel crypto_simd cryptd wmi_bmof rapl snd rfkill ccp pcspkr acpi_cpufreq i2c_hid_acpi snd_pci_acp3x soundcore i2c_piix4 zenpower(OE) i2c_hid amd_pmc mac_hid pkcs8_key_parser crypto_user fuse dm_mod loop bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 amdgpu i2c_algo_bit drm_ttm_helper ttm serio_raw drm_suballoc_helper atkbd drm_buddy gpu_sched libps2 nvme vivaldi_fmap drm_display_helper nvme_core video i8042 xhci_pci crc32c_intel cec nvme_common xhci_pci_renesas serio wmi
Jul 26 20:12:57 heyrict-asus-2021 kernel: CPU: 2 PID: 153 Comm: scsi_eh_0 Tainted: G        W  OE      6.4.3-arch1-2 #1 1a353834a3a5276f8a83332e26f510c55d34a567
Jul 26 20:12:57 heyrict-asus-2021 kernel: Hardware name: ASUSTeK COMPUTER INC. VivoBook_ASUSLaptop M3400QA_M3400QA/M3400QA, BIOS M3400QA.307 05/11/2022
Jul 26 20:12:57 heyrict-asus-2021 kernel: RIP: 0010:ata_scsi_port_error_handler+0x7c6/0x840
Jul 26 20:12:57 heyrict-asus-2021 kernel: Code: 0f 85 84 00 00 00 48 c7 40 60 00 00 00 00 48 8b 83 b8 35 00 00 48 8d 78 40 e8 06 df 3c 00 e9 c5 fe ff ff 0f 0b e9 29 fc ff ff <0f> 0b e9 de f8 ff ff 8b 73 24 48 c7 c7 b2 8e 20 b3 e8 84 ae 79 ff
Jul 26 20:12:57 heyrict-asus-2021 kernel: RSP: 0018:ffffb7c90076fe38 EFLAGS: 00010246
Jul 26 20:12:57 heyrict-asus-2021 kernel: RAX: 0000000000000282 RBX: ffff9fcfc1d68000 RCX: ffffffffb3b7cd60
Jul 26 20:12:57 heyrict-asus-2021 kernel: RDX: 0000000000000001 RSI: 0000000000000282 RDI: ffff9fcfc1d3c900
Jul 26 20:12:57 heyrict-asus-2021 kernel: RBP: ffffb7c90076fe78 R08: 0000000000000020 R09: 0000000000000020
Jul 26 20:12:57 heyrict-asus-2021 kernel: R10: ffffb7c90076fe9c R11: ffffffffb25735a0 R12: 00000000000002aa
Jul 26 20:12:57 heyrict-asus-2021 kernel: R13: 0000000000000006 R14: 0000000000000001 R15: ffffffffb2579730
Jul 26 20:12:57 heyrict-asus-2021 kernel: FS:  0000000000000000(0000) GS:ffff9fd2ce480000(0000) knlGS:0000000000000000
Jul 26 20:12:57 heyrict-asus-2021 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 26 20:12:57 heyrict-asus-2021 kernel: CR2: 00005620eaeb2cac CR3: 0000000052e20000 CR4: 0000000000750ee0
Jul 26 20:12:57 heyrict-asus-2021 kernel: PKRU: 55555554
Jul 26 20:12:57 heyrict-asus-2021 kernel: Call Trace:
Jul 26 20:12:57 heyrict-asus-2021 kernel:  <TASK>
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? ata_scsi_port_error_handler+0x7c6/0x840
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? __warn+0x81/0x130
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? ata_scsi_port_error_handler+0x7c6/0x840
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? report_bug+0x171/0x1a0
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? handle_bug+0x3c/0x80
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? exc_invalid_op+0x17/0x70
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? __pfx_scsi_error_handler+0x10/0x10
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? __pfx_scsi_host_check_in_flight+0x10/0x10
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? ata_scsi_port_error_handler+0x7c6/0x840
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? ata_scsi_port_error_handler+0xa1/0x840
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? __pfx_scsi_error_handler+0x10/0x10
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ata_scsi_error+0x95/0xd0
Jul 26 20:12:57 heyrict-asus-2021 kernel:  scsi_error_handler+0xc4/0x590
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? __pfx_scsi_error_handler+0x10/0x10
Jul 26 20:12:57 heyrict-asus-2021 kernel:  kthread+0xe8/0x120
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ? __pfx_kthread+0x10/0x10
Jul 26 20:12:57 heyrict-asus-2021 kernel:  ret_from_fork+0x2c/0x50
Jul 26 20:12:57 heyrict-asus-2021 kernel:  </TASK>
Jul 26 20:12:57 heyrict-asus-2021 kernel: ---[ end trace 0000000000000000 ]---
Jul 26 20:12:58 heyrict-asus-2021 kernel: ata1: SATA link down (SStatus 0 SControl 300)

Steps to reproduce:

1. Upgrade linux and linux-headers from 6.3.8.arch1-1 to 6.4.3-arch1-2
2. Either start window manager with `sway`, or `startx /usr/bin/awesome` and run `xrandr --output eDP-1 --mode 1920x1200` in a terminal.

Last edited by heyrict (2023-07-26 21:38:00)

Offline

#2 2023-07-26 20:25:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,647

Re: [SOLVED] Regression on display resolution in linux 6.4.3

I doubt that the ata error bears any relation to your resolution issue, but since you've amdgpu loaded, see https://bbs.archlinux.org/viewtopic.php … 0#p2111560

Offline

#3 2023-07-26 21:37:34

heyrict
Member
Registered: 2020-05-07
Posts: 6

Re: [SOLVED] Regression on display resolution in linux 6.4.3

Thank you for the reference! I must have missed that thread. This issue should be solved now.

Offline

Board footer

Powered by FluxBB