Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Screen flickers, Asus ROG + kernel 6.12.0 and later
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
velladecin
n00b
n00b


Joined: 02 Nov 2008
Posts: 12

PostPosted: Sun Jan 12, 2025 1:06 pm    Post subject: Screen flickers, Asus ROG + kernel 6.12.0 and later Reply with quote

I have Asus ROG laptop (Ryzen 9, AMD Radeon integrated graphics) and up until kernel 6.11.0 I had no issues with the screen. I then updated to 6.12.0 and later to 6.12.7 and both these releases make my screen flicker when using keyboard. This does not happen always but often. When I reboot into 6.11.0 then everything is good again.. I use the same config for each of these kernels

I cannot say exactly in what release this started as I don't have the kernels between 6.11.0 and 6.12.0

Any suggestions on what could be causing this and/or steps how to debug this?
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 705

PostPosted: Sun Jan 12, 2025 2:27 pm    Post subject: Reply with quote

Anything in /var/log/Xorg.*.log files?
Back to top
View user's profile Send private message
velladecin
n00b
n00b


Joined: 02 Nov 2008
Posts: 12

PostPosted: Wed Jan 15, 2025 9:30 am    Post subject: Reply with quote

Nothing obvious (at least to me) in Xorg.log

but I have the below in dmesg when using 6.12.7 kernel, this is not present in 6.11.0. The fact that amdgpu and drm features there a lot would suggest that it's got smth to do with my problem.
I will google the s..t out of it now :) but pls feel free to suggest anything.



Code:
[  152.909810] ------------[ cut here ]------------
[  152.909822] workqueue: WQ_MEM_RECLAIM sdma0:drm_sched_run_job_work [gpu_sched] is flushing !WQ_MEM_RECLAIM events:amdgpu_device_delay_enable_gfx_off [amdgpu]
[  152.910081] WARNING: CPU: 7 PID: 388 at kernel/workqueue.c:3704 check_flush_dependency+0xf7/0x110
[  152.910093] Modules linked in: joydev 8021q garp mrp stp llc hid_multitouch i2c_hid_acpi i2c_hid amdgpu amd_atl intel_rapl_msr snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic snd_hda_scodec_component snd_hda_codec_hdmi btusb edac_mce_amd btrtl mt7921e amdxcp snd_hda_intel btbcm mt7921_common gpu_sched snd_intel_dspcfg btmtk snd_intel_sdw_acpi i2c_algo_bit hid_sensor_accel_3d btintel mt792x_lib drm_suballoc_helper snd_hda_codec kvm_amd hid_sensor_trigger mt76_connac_lib hid_sensor_iio_common drm_ttm_helper industrialio_triggered_buffer bluetooth hid_asus mt76 snd_hda_core ttm kfifo_buf industrialio drm_exec asus_nb_wmi snd_hwdep kvm uvcvideo hid_sensor_hub asus_wmi drm_display_helper snd_pci_acp5x mac80211 snd_pcm uvc sparse_keymap snd_rn_pci_acp3x videobuf2_vmalloc crct10dif_pclmul snd_timer snd_acp_config libarc4 videobuf2_memops wmi_bmof platform_profile crc32_pclmul drm_kms_helper snd_soc_acpi crc32c_intel snd videobuf2_v4l2 ghash_clmulni_intel soundcore snd_pci_acp3x drm_buddy amd_sfh
[  152.910222]  videobuf2_common sha512_ssse3 cfg80211 sha256_ssse3 videodev sp5100_tco i2c_designware_platform video sha1_ssse3 i2c_designware_core ucsi_acpi mc rfkill rapl pcspkr typec_ucsi ccp i2c_piix4 typec amd_pmc wmi acpi_tad i2c_smbus ac k10temp battery fuse drm nfnetlink
[  152.910273] CPU: 7 UID: 0 PID: 388 Comm: kworker/u64:4 Not tainted 6.12.7-gentoo-x86_64.vellax #1
[  152.910279] Hardware name: ASUSTeK COMPUTER INC. ROG Flow X13 GV301RA_GV301RA/GV301RA, BIOS GV301RA.327 07/12/2023
[  152.910283] Workqueue: sdma0 drm_sched_run_job_work [gpu_sched]
[  152.910291] RIP: 0010:check_flush_dependency+0xf7/0x110
[  152.910297] Code: 8b 45 18 48 8d b2 c0 00 00 00 49 89 e8 48 8d 8b c0 00 00 00 48 c7 c7 a0 12 40 b9 c6 05 a0 b9 6c 01 01 48 89 c2 e8 d9 f8 fd ff <0f> 0b e9 1f ff ff ff 80 3d 8b b9 6c 01 00 75 93 e9 4a ff ff ff 0f
[  152.910302] RSP: 0018:ffffa51241ecbc90 EFLAGS: 00010092
[  152.910307] RAX: 0000000000000091 RBX: ffff91da80050800 RCX: 0000000000000027
[  152.910311] RDX: ffff91dd8e7e18c8 RSI: 0000000000000001 RDI: ffff91dd8e7e18c0
[  152.910314] RBP: ffffffffc0d9ea30 R08: 0000000000000000 R09: ffffa51241ecbb40
[  152.910317] R10: ffffffffb96f6ee8 R11: 0000000000000003 R12: ffff91da843b0000
[  152.910320] R13: ffff91da835a6240 R14: ffff91da8007ba00 R15: ffff91dd8e82b9c0
[  152.910324] FS:  0000000000000000(0000) GS:ffff91dd8e7c0000(0000) knlGS:0000000000000000
[  152.910328] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  152.910332] CR2: 00007f713e3a3fb8 CR3: 000000023961e000 CR4: 0000000000750ef0
[  152.910336] PKRU: 55555554
[  152.910339] Call Trace:
[  152.910343]  <TASK>
[  152.910348]  ? __warn.cold+0x90/0x9e
[  152.910353]  ? check_flush_dependency+0xf7/0x110
[  152.910361]  ? report_bug+0xfa/0x140
[  152.910367]  ? handle_bug+0x58/0x90
[  152.910372]  ? exc_invalid_op+0x17/0x70
[  152.910376]  ? asm_exc_invalid_op+0x1a/0x20
[  152.910384]  ? __pfx_amdgpu_device_delay_enable_gfx_off+0x10/0x10 [amdgpu]
[  152.910538]  ? check_flush_dependency+0xf7/0x110
[  152.910545]  __flush_work+0xec/0x2d0
[  152.910550]  ? get_nohz_timer_target+0x2a/0x140
[  152.910555]  ? srso_alias_return_thunk+0x5/0xfbef5
[  152.910561]  ? try_to_grab_pending+0x114/0x1f0
[  152.910567]  ? srso_alias_return_thunk+0x5/0xfbef5
[  152.910573]  ? __cancel_work+0x65/0xd0
[  152.910578]  ? srso_alias_return_thunk+0x5/0xfbef5
[  152.910585]  cancel_delayed_work_sync+0x59/0x70
[  152.910591]  amdgpu_gfx_off_ctrl+0xa8/0x140 [amdgpu]
[  152.910797]  amdgpu_ring_alloc+0x3e/0x60 [amdgpu]
[  152.910998]  amdgpu_ib_schedule+0xe5/0x6d0 [amdgpu]
[  152.911181]  amdgpu_job_run+0x74/0x160 [amdgpu]
[  152.911303]  drm_sched_run_job_work+0x231/0x360 [gpu_sched]
[  152.911307]  process_one_work+0x161/0x270
[  152.911311]  worker_thread+0x2da/0x410
[  152.911314]  ? __pfx_worker_thread+0x10/0x10
[  152.911316]  kthread+0xcd/0x100
[  152.911318]  ? __pfx_kthread+0x10/0x10
[  152.911321]  ret_from_fork+0x2f/0x50
[  152.911324]  ? __pfx_kthread+0x10/0x10
[  152.911327]  ret_from_fork_asm+0x1a/0x30
[  152.911332]  </TASK>
[  152.911333] ---[ end trace 0000000000000000 ]---


[Administrator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum