This bug is awaiting verification that the linux/6.5.0-16.16 kernel in
-proposed solves the problem. Please test the kernel and update this bug
with the results. If the problem is solved, change the tag
'verification-needed-mantic-linux' to 'verification-done-mantic-linux'.
If the problem still exists, change the tag 'verification-needed-mantic-
linux' to 'verification-failed-mantic-linux'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-mantic-linux-v2 verification-needed-mantic-linux

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2047461

Title:
  drm: Update file owner during use

Status in linux package in Ubuntu:
  In Progress
Status in linux-oem-6.5 package in Ubuntu:
  Invalid
Status in linux source package in Jammy:
  Invalid
Status in linux-oem-6.5 source package in Jammy:
  Fix Committed
Status in linux source package in Mantic:
  Fix Committed
Status in linux-oem-6.5 source package in Mantic:
  Invalid
Status in linux source package in Noble:
  In Progress
Status in linux-oem-6.5 source package in Noble:
  Invalid

Bug description:
  [Impact]
  Our testing tools need to check the app runs on which GPU, and now it only 
shows the processes as Xorg or XWayland

      $ cat /sys/kernel/debug/dri/0/clients
                   command   pid dev master a   uid      magic
                      Xorg  2344   0   y    y     0          0
                      Xorg  2344   0   n    y     0          2
                      Xorg  2344   0   n    y     0          3
                      Xorg  2344   0   n    y     0          4

  [Fix]
  The commit from v6.7-rc1 fixes the issue

      $ cat /sys/kernel/debug/dri/0/clients
                   command  tgid dev master a   uid      magic
                      Xorg   830   0   y    y     0          0
             xfce4-session   880   0   n    y     0          1
                     xfwm4   943   0   n    y     0          2
                 neverball  1095   0   n    y     0          3

  
  [Test case]
  1. check processes by 'cat /sys/kernel/debug/dri/0/clients'
  2. runs glxgears(specify the GPU if needed)
  3. check the precesses again and there should be a 'glxgears' process 

  [Where problems could occur]
  This commit added some protections on read/write and only changes the 
process' pid, the worst case is that the process got the wrong pid as its owner.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2047461/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to