You are not logged in.
Hello,
I am currently trying to diagnose a problem with my system that I have been fighting for the past couple of weeks.
Problem:
When my graphics card is plugged into an LG-32GS95UE-B via DisplayPort, and I try to start an X Session, the kernel has an Oops and the system locks up. I am only able to force restart in order to get back into it. I still have access to the machine via SSH but the physical system is unresponsive.
Things I've Tried:
Reading the documentation for the X Server and building a custom X config file: No Success
Plugging into the monitor via HDMI: This works however the monitor is a 4K 240Hz and HDMI 2.0 is only capable of 4K 120Hz so this solution is not ideal.
Switching to Wayland: I tried using GDM as the Display Manager which works, however anytime it calls Xorg-Xwayland, the same kernal oops and crash occurs.
Booting from a bootable USB into Manjaro:Ran into the Exact Same issue as I did on my Arch Setup (Trying to see if I was missing something and still thinking at this point that it was a problem with my config, now I'm leaning towards it being a bug.)
Unplugging the monitor from the display port, starting the Display Manager, and plugging the monitor back in:This starts the X server and there are no issues with the system unless i stop the X server and try to start it again.
Goal: Figure out what I'm doing wrong or figure out how to report this bug to the correct maintainer
My System Specifications
OS: Arch Linux x86_64
Kernel: 6.9.7-arch1-1
Packages: 1845 (pacman), 6 (flatpak)
Shell: zsh 5.9
Resolution: 3840x2160
Terminal: /dev/pts/1
CPU: 13th Gen Intel i9-13900K (32) @ 5.500GHz
GPU: NVIDIA GeForce RTX 4070 Ti SUPER (BOUND TO VFIO FOR RUNNING VMS)
GPU: AMD ATI Radeon RX 7900 XT/7900 XTX/7900M (MY MAIN GRAPHICS CARD)
Memory: 7005MiB / 128520MiB
Here is the output of the stack trace from journalctl when starting LightDM
Jul 04 11:51:29 homearch polkitd[1211]: Operator of unix-process:1316:8504 successfully authenticated as unix-user:erik to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage-units for system-bus-name::1.30 [systemctl start lightdm] (owned by unix-user:erik)
Jul 04 11:51:29 homearch systemd[1]: Stopping Getty on tty1...
Jul 04 11:51:29 homearch login[902]: pam_unix(login:session): session closed for user erik
Jul 04 11:51:29 homearch login[902]: pam_systemd(login:session): New sd-bus connection (system-bus-pam-systemd-902) opened.
Jul 04 11:51:29 homearch polkitd[1211]: Unregistered Authentication Agent for unix-process:unknown (system bus name :1.31, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jul 04 11:51:29 homearch systemd[1]: getty@tty1.service: Deactivated successfully.
Jul 04 11:51:29 homearch systemd[1]: Stopped Getty on tty1.
Jul 04 11:51:29 homearch systemd[1]: run-credentials-getty\x40tty1.service.mount: Deactivated successfully.
Jul 04 11:51:29 homearch systemd[1]: session-3.scope: Deactivated successfully.
Jul 04 11:51:29 homearch systemd-logind[872]: Session 3 logged out. Waiting for processes to exit.
Jul 04 11:51:29 homearch systemd[1]: Starting Light Display Manager...
Jul 04 11:51:29 homearch systemd-logind[872]: Removed session 3.
Jul 04 11:51:29 homearch systemd[1]: Started Light Display Manager.
Jul 04 11:51:29 homearch systemd[1]: Reached target User and Group Name Lookups.
Jul 04 11:51:29 homearch systemd[1]: Starting Accounts Service...
Jul 04 11:51:29 homearch accounts-daemon[1342]: started daemon version 23.13.0
Jul 04 11:51:29 homearch systemd[1]: Started Accounts Service.
Jul 04 11:51:29 homearch kernel: vfio-pci 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=none
Jul 04 11:51:29 homearch kernel: amdgpu 0000:04:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Jul 04 11:51:29 homearch kernel: BUG: kernel NULL pointer dereference, address: 0000000000000010
Jul 04 11:51:29 homearch kernel: #PF: supervisor read access in kernel mode
Jul 04 11:51:29 homearch kernel: #PF: error_code(0x0000) - not-present page
Jul 04 11:51:29 homearch kernel: PGD 0 P4D 0
Jul 04 11:51:29 homearch kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
Jul 04 11:51:29 homearch kernel: CPU: 8 PID: 1341 Comm: Xorg Not tainted 6.9.7-arch1-1 #1 44783200744f92500e6484c6d93590bc19db4a83
Jul 04 11:51:29 homearch kernel: Hardware name: ASUS System Product Name/ROG MAXIMUS Z790 HERO, BIOS 0401 09/07/2022
Jul 04 11:51:29 homearch kernel: RIP: 0010:dce_crtc_switch_to_clk_src+0xb/0x180 [amdgpu]
Jul 04 11:51:29 homearch kernel: Code: 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 0f 1f 44 00 00 55 53 <8b> 46
10 48 89 fb 83 f8 08 74 06 80 7e 14 00 74 2f 48 8b 43 18 48
Jul 04 11:51:29 homearch kernel: RSP: 0018:ffffaf59c9fab608 EFLAGS: 00010286
Jul 04 11:51:29 homearch kernel: RAX: ffff9d7dd75fc000 RBX: ffff9d7ddac80000 RCX: ffff9d7e37601210
Jul 04 11:51:29 homearch kernel: RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff9d7dca5dc800
Jul 04 11:51:29 homearch kernel: RBP: ffff9d7e34e014f0 R08: 0000000000000100 R09: 0000000000000100
Jul 04 11:51:29 homearch kernel: R10: ffffaf5ffe8f3500 R11: 0000000000000001 R12: ffff9d7e34e00000
Jul 04 11:51:29 homearch kernel: R13: ffff9d7dca5dc800 R14: ffff9d7dcc256000 R15: 0000000000000002
Jul 04 11:51:29 homearch kernel: FS: 00007d2b2847e9c0(0000) GS:ffff9d9cdec00000(0000) knlGS:0000000000000000
Jul 04 11:51:29 homearch kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 04 11:51:29 homearch kernel: CR2: 0000000000000010 CR3: 00000001369c0001 CR4: 0000000000f70ef0
Jul 04 11:51:29 homearch kernel: PKRU: 55555554
Jul 04 11:51:29 homearch kernel: Call Trace:
Jul 04 11:51:29 homearch kernel: <TASK>
Jul 04 11:51:29 homearch kernel: ? __die_body.cold+0x19/0x27
Jul 04 11:51:29 homearch kernel: ? page_fault_oops+0x15a/0x2b0
Jul 04 11:51:29 homearch kernel: ? dmub_srv_wait_for_idle+0x2f/0x90 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: ? exc_page_fault+0x81/0x190
Jul 04 11:51:29 homearch kernel: ? asm_exc_page_fault+0x26/0x30
Jul 04 11:51:29 homearch kernel: ? dce_crtc_switch_to_clk_src+0xb/0x180 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: dce110_apply_ctx_to_hw+0x26e/0x280 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: dc_commit_state_no_check+0x59e/0xe00 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: ? dcn32_validate_bandwidth+0x13e/0x2c0 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: dc_update_planes_and_stream+0x80a/0xcb0 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: ? optc1_get_crtc_scanoutpos+0x30/0xc0 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: amdgpu_dm_atomic_commit_tail+0x1b92/0x3cc0 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: ? generic_reg_get+0x21/0x40 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: ? dc_stream_get_scanoutpos+0x60/0xa0 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: commit_tail+0x91/0x130
Jul 04 11:51:29 homearch kernel: drm_atomic_helper_commit+0x11a/0x140
Jul 04 11:51:29 homearch kernel: drm_atomic_commit+0x9d/0xd0
Jul 04 11:51:29 homearch kernel: ? __pfx___drm_printfn_info+0x10/0x10
Jul 04 11:51:29 homearch kernel: drm_mode_obj_set_property_ioctl+0x15a/0x3c0
Jul 04 11:51:29 homearch kernel: ? do_syscall_64+0x8f/0x190
Jul 04 11:51:29 homearch kernel: ? __pfx_drm_mode_obj_set_property_ioctl+0x10/0x10
Jul 04 11:51:29 homearch kernel: drm_ioctl_kernel+0xb0/0x100
Jul 04 11:51:29 homearch kernel: drm_ioctl+0x27a/0x4e0
Jul 04 11:51:29 homearch kernel: ? __pfx_drm_mode_obj_set_property_ioctl+0x10/0x10
Jul 04 11:51:29 homearch kernel: amdgpu_drm_ioctl+0x4e/0x90 [amdgpu 3982655e356a9c72906b47a8ffcfe087fca64bfd]
Jul 04 11:51:29 homearch kernel: __x64_sys_ioctl+0x94/0xd0
Jul 04 11:51:29 homearch kernel: do_syscall_64+0x83/0x190
Jul 04 11:51:29 homearch kernel: ? __handle_mm_fault+0xc5d/0xe00
Jul 04 11:51:29 homearch kernel: ? __pm_runtime_suspend+0x69/0xc0
Jul 04 11:51:29 homearch kernel: ? __count_memcg_events+0x4d/0xb0
Jul 04 11:51:29 homearch kernel: ? count_memcg_events.constprop.0+0x1a/0x30
Jul 04 11:51:29 homearch kernel: ? handle_mm_fault+0x1f0/0x300
Jul 04 11:51:29 homearch kernel: ? do_user_addr_fault+0x34e/0x620
Jul 04 11:51:29 homearch kernel: ? exc_page_fault+0x81/0x190
Jul 04 11:51:29 homearch kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e
Jul 04 11:51:29 homearch kernel: RIP: 0033:0x7d2b28c259ed
Jul 04 11:51:29 homearch kernel: Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2
3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
Jul 04 11:51:29 homearch kernel: RSP: 002b:00007ffd3daa4c40 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jul 04 11:51:29 homearch kernel: RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007d2b28c259ed
Jul 04 11:51:29 homearch kernel: RDX: 00007ffd3daa4cd0 RSI: 00000000c01864ba RDI: 000000000000000f
Jul 04 11:51:29 homearch kernel: RBP: 00007ffd3daa4c90 R08: 0000000000000086 R09: 0000000000000000
Jul 04 11:51:29 homearch kernel: R10: 0000000000001000 R11: 0000000000000246 R12: 00007ffd3daa4cd0
Jul 04 11:51:29 homearch kernel: R13: 00000000c01864ba R14: 000000000000000f R15: 0000000000000fff
Jul 04 11:51:29 homearch kernel: </TASK>
Jul 04 11:51:29 homearch kernel: Modules linked in: snd_seq_dummy snd_hrtimer snd_seq btusb btrtl btintel btbcm btmtk bluetooth nzxt_kraken3 mousedev ecdh_generic nft_masq nft_ct nft_reject_ipv4 nf_reject_ipv4 nft_reject nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables libcrc32c bridge stp llc snd_usb_audio snd_usbmidi_lib snd_ump snd_rawmidi snd_seq_device mc joydev snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_soc_acpi_intel_match soundwire_generic_allocation snd_soc_acpi soundwire_bus intel_rapl_msr intel_rapl_common snd_soc_avs intel_uncore_frequency snd_soc_hda_codec intel_uncore_frequency_common snd_hda_ext_core intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp coretemp iwlmvm kvm_intel kvm mac80211 snd_soc_core crct10dif_pclmul crc32_pclmul polyval_clmulni snd_hda_codec_hdmi snd_compress polyval_generic ac97_bus gf128mul snd_pcm_dmaengine libarc4
Jul 04 11:51:29 homearch kernel: ghash_clmulni_intel snd_hda_intel sha512_ssse3 snd_intel_dspcfg snd_intel_sdw_acpi sha256_ssse3 sha1_ssse3 snd_hda_codec aesni_intel snd_hda_core asus_nb_wmi eeepc_wmi crypto_simd asus_wmi snd_hwdep cryptd platform_profile iTCO_wdt iwlwifi snd_pcm mei_pxp mei_hdcp rapl intel_pmc_bxt i8042 igc spi_nor snd_timer
iTCO_vendor_support ucsi_acpi intel_cstate sparse_keymap cfg80211 intel_uncore intel_lpss_pci i2c_i801 ptp pcspkr serio mtd thunderbolt snd typec_ucsi intel_lpss wmi_bmof mei_me i2c_smbus pps_core intel_pmc_core soundcore idma64 mei typec rfkill intel_vsec roles pmt_telemetry ledtrig_audio pmt_class acpi_pad pinctrl_alderlake acpi_tad mac_hid i2c_dev dm_mod loop nfnetlink ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_generic usbhid amdgpu amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper nvme drm_buddy spi_intel_pci crc32c_intel drm_display_helper spi_intel nvme_core xhci_pci cec nvme_auth vmd xhci_pci_renesas video wmi vfio_pci vfio_pci_core
Jul 04 11:51:29 homearch kernel: vfio_iommu_type1 vfio iommufd
Jul 04 11:51:29 homearch kernel: CR2: 0000000000000010
Jul 04 11:51:29 homearch kernel: ---[ end trace 0000000000000000 ]---
Jul 04 11:51:29 homearch kernel: RIP: 0010:dce_crtc_switch_to_clk_src+0xb/0x180 [amdgpu]
Jul 04 11:51:29 homearch kernel: Code: 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 0f 1f 44 00 00 55 53 <8b> 46
10 48 89 fb 83 f8 08 74 06 80 7e 14 00 74 2f 48 8b 43 18 48
Jul 04 11:51:29 homearch kernel: RSP: 0018:ffffaf59c9fab608 EFLAGS: 00010286
Jul 04 11:51:29 homearch kernel: RAX: ffff9d7dd75fc000 RBX: ffff9d7ddac80000 RCX: ffff9d7e37601210
Jul 04 11:51:29 homearch kernel: RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff9d7dca5dc800
Jul 04 11:51:29 homearch kernel: RBP: ffff9d7e34e014f0 R08: 0000000000000100 R09: 0000000000000100
Jul 04 11:51:29 homearch kernel: R10: ffffaf5ffe8f3500 R11: 0000000000000001 R12: ffff9d7e34e00000
Jul 04 11:51:29 homearch kernel: R13: ffff9d7dca5dc800 R14: ffff9d7dcc256000 R15: 0000000000000002
Jul 04 11:51:29 homearch kernel: FS: 00007d2b2847e9c0(0000) GS:ffff9d9cdec00000(0000) knlGS:0000000000000000
Jul 04 11:51:29 homearch kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 04 11:51:29 homearch kernel: CR2: 0000000000000010 CR3: 00000001369c0001 CR4: 0000000000f70ef0
Jul 04 11:51:29 homearch kernel: PKRU: 55555554
Jul 04 11:51:29 homearch kernel: note: Xorg[1341] exited with irqs disabled
Last edited by erikondo (2024-07-04 17:52:38)
Offline
Did this ever work? Also is the issue also present in the latest release candidate for the mainline kernel?
sudo pacman -U https://pkgbuild.com/\~gromit/linux-bisection-kernels/linux-mainline-6.10rc6-1-x86_64.pkg.tar.zstDo you also get the issue with the linux-lts package?
Offline