Error reported in dmesg when I switch display from PC monitor to TV

Hi,
everytime I execute xrandr --output DVI-D-0 --off --output VGA-0 --primary --mode 1360x768 --pos 0x0 --rotate normal --output HDMI-A-0 --off to switch the display from PC monitor (DVI) to TV (VGA), I get this in dmesg no matter which kernel (6.12, 6.14) I use.

jun 12 15:24:28 user kernel: ------------[ cut here ]------------
jun 12 15:24:28 user kernel: WARNING: CPU: 2 PID: 2618 at drivers/gpu/drm/ttm/ttm_bo.c:253 ttm_bo_release+0x29a/0x2f0 [ttm]
jun 12 15:24:28 user kernel: Modules linked in: usblp tls nf_conntrack_netlink snd_seq_dummy snd_hrtimer snd_seq nls_utf8 wireguard cifs curve25519_x86_64 l>
jun 12 15:24:28 user kernel:  drm_suballoc_helper drm_display_helper cec wmi fuse snd_pcm snd_timer snd soundcore
jun 12 15:24:28 user kernel: CPU: 2 UID: 1000 PID: 2618 Comm: Xorg Not tainted 6.14.9-300.fc42.x86_64 #1
jun 12 15:24:28 user kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./FM2A88X+ Killer, BIOS P2.90 05/17/2016
jun 12 15:24:28 user kernel: RIP: 0010:ttm_bo_release+0x29a/0x2f0 [ttm]
jun 12 15:24:28 user kernel: Code: 8b b4 24 48 08 00 00 41 8b bc 24 e8 00 00 00 48 83 c4 40 48 8d 53 30 5b 5d 41 5c 41 5d e9 6e 43 d6 d3 4c 89 e7 e9 51 fe f>
jun 12 15:24:28 user kernel: RSP: 0018:ffffce3403f53cc0 EFLAGS: 00010202
jun 12 15:24:28 user kernel: RAX: 0000000000000001 RBX: ffff89f19abc05c0 RCX: 0000000000000001
jun 12 15:24:28 user kernel: RDX: ffff89f19abc05c0 RSI: ffffffff969c87c8 RDI: ffff89f19abc05c0
jun 12 15:24:28 user kernel: RBP: ffff89f19abc0448 R08: 0000000000000000 R09: ffff89f0eeea5ff0
jun 12 15:24:28 user kernel: R10: 0000000000000044 R11: ffff89ef6353fa50 R12: ffff89f28887c780
jun 12 15:24:28 user kernel: R13: ffff89eec13d1b20 R14: ffff89f286f4d3c0 R15: 0000000000000000
jun 12 15:24:28 user kernel: FS:  00007f8fb97f05c0(0000) GS:ffff89f59fd00000(0000) knlGS:0000000000000000
jun 12 15:24:28 user kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
jun 12 15:24:28 user kernel: CR2: 0000000033318b00 CR3: 00000001c949e000 CR4: 00000000000506f0
jun 12 15:24:28 user kernel: Call Trace:
jun 12 15:24:28 user kernel:  <TASK>
jun 12 15:24:28 user kernel:  ? __pfx_inode_free_by_rcu+0x10/0x10
jun 12 15:24:28 user kernel:  ? fsnotify_destroy_marks+0x2a/0x180
jun 12 15:24:28 user kernel:  ? rcutree_enqueue+0x20/0x120
jun 12 15:24:28 user kernel:  ? __pfx_i_callback+0x10/0x10
jun 12 15:24:28 user kernel:  drm_gem_dmabuf_release+0x49/0x70
jun 12 15:24:28 user kernel:  dma_buf_release+0x3e/0x90
jun 12 15:24:28 user kernel:  __dentry_kill+0x8d/0x190
jun 12 15:24:28 user kernel:  dput+0xeb/0x1c0
jun 12 15:24:28 user kernel:  __fput+0x132/0x2a0
jun 12 15:24:28 user kernel:  task_work_run+0x5d/0x90
jun 12 15:24:28 user kernel:  syscall_exit_to_user_mode+0x1e6/0x210
jun 12 15:24:28 user kernel:  do_syscall_64+0x87/0x160
jun 12 15:24:28 user kernel:  ? set_next_entity+0xe2/0x200
jun 12 15:24:28 user kernel:  ? psi_task_switch+0xb7/0x210
jun 12 15:24:28 user kernel:  ? finish_task_switch.isra.0+0x99/0x2c0
jun 12 15:24:28 user kernel:  ? rseq_get_rseq_cs+0x19/0x220
jun 12 15:24:28 user kernel:  ? rseq_ip_fixup+0x8d/0x1d0
jun 12 15:24:28 user kernel:  ? irqentry_exit_to_user_mode+0x1ca/0x200
jun 12 15:24:28 user kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e
jun 12 15:24:28 user kernel: RIP: 0033:0x7f8fb8fb0aad
jun 12 15:24:28 user 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 0>
jun 12 15:24:28 user kernel: RSP: 002b:00007fff099ec900 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
jun 12 15:24:28 user kernel: RAX: 0000000000000000 RBX: 00000000339ffd40 RCX: 00007f8fb8fb0aad
jun 12 15:24:28 user kernel: RDX: 00007fff099ec990 RSI: 0000000040086409 RDI: 000000000000000f
jun 12 15:24:28 user kernel: RBP: 00007fff099ec950 R08: 0000000033a6efd0 R09: 0000000000000000
jun 12 15:24:28 user kernel: R10: 0000000000000005 R11: 0000000000000246 R12: 00007fff099ec990
jun 12 15:24:28 user kernel: R13: 0000000040086409 R14: 000000000000000f R15: 0000000031cc7aa0
jun 12 15:24:28 user kernel:  </TASK>
jun 12 15:24:28 user kernel: ---[ end trace 0000000000000000 ]---

No other problem, nothing obvious, the display is perfect otherwise and the switch between PC monitor and TV is perfect.

I placed the xrandr command in an alias called tv and I have another one called pc to revert. I prefer using the command line. For me it’s the fastest way to get what I want. To switch displays, I either type tv or pc. I do have arandr installed but clicking is not my preferred method.

System is F42 workstation with cinnamon, GPU is integrated AMD Radeon R7, CPU is A10 7850K. Xorg.

Any idea how to strace or debug / diagnose why it’s happening and hopefully fix it ?

This is a bug in the kernel. Please raise a bug report in the Fedora bug tracker against the kernel. Note the kernel maintainer does read and act on the information, but may not add a reply (they are very very busy).

Adding the output of inxi -Gzxx as well as the whole of the dmesg output will raise the chance that the bug can be worked on.

Hi,

I tried. However this bug tracker has stopped working for me a while ago. No idea what to do:

--- Running report_uReport ---
(« report_uReport » terminé avec succès)

--- collect_GConf ignoré ---
Aucune action correspondante trouvée pour cet évènement.

--- collect_vimrc_system ignoré ---
Aucune action correspondante trouvée pour cet évènement.

--- collect_vimrc_user ignoré ---
Aucune action correspondante trouvée pour cet évènement.

--- collect_xsession_errors ignoré ---
Aucune action correspondante trouvée pour cet évènement.

--- Running analyze_BodhiUpdates ---
Looking for similar problems in bugzilla

--- Running report_Bugzilla ---
Checking for duplicates
Bug search failed.
Server says: 400 Bad Request
Creating a new bug...
Failed to create bug.
Server says: 400 Bad Request
{"error":true,"documentation":"https://bugzilla.redhat.com/docs/en/html/api/index.html","code":32000,"message":"The API key you specified has expired. You will need to create a new API key to continue using the API. The API key was expired in bug https://bugzilla.redhat.com/show_bug.cgi?id=2316365"}
(« report_Bugzilla » a quitté avec code retour 1)

Nevermind.

I updated the API key, restarted abrt and submitted the bug, Repeat was not enough. I had to redo from start.

--- Running report_uReport ---
(« report_uReport » terminé avec succès)

--- collect_GConf ignoré ---
Aucune action correspondante trouvée pour cet évènement.

--- collect_vimrc_system ignoré ---
Aucune action correspondante trouvée pour cet évènement.

--- collect_vimrc_user ignoré ---
Aucune action correspondante trouvée pour cet évènement.

--- collect_xsession_errors ignoré ---
Aucune action correspondante trouvée pour cet évènement.

--- Running analyze_BodhiUpdates ---
Looking for similar problems in bugzilla

--- Running report_Bugzilla ---
Checking for duplicates
Creating a new bug...
Adding External URL to bug 2372681
Adding attachments to bug 2372681
Status: NEW https://bugzilla.redhat.com/show_bug.cgi?id=2372681

--- Running post_report ---
(« post_report » terminé avec succès)

Don’t know which changes I made in the GUI, in /etc/abrt/abrt.conf or in /etc/libreport/events/report_Bugzilla.conf are important! Guess it will stop working again in a year…

1 Like