<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - AMDGPU driver keeps reloading on hybrid graphics system causing stuttering."
href="https://bugs.freedesktop.org/show_bug.cgi?id=107955#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - AMDGPU driver keeps reloading on hybrid graphics system causing stuttering."
href="https://bugs.freedesktop.org/show_bug.cgi?id=107955">bug 107955</a>
from <span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span></b>
<pre>(In reply to Mike Lothian from <a href="show_bug.cgi?id=107955#c13">comment #13</a>)
<span class="quote">> hw/xfree86/dri2/dri2.c: if (drmGetDevice(info->fd, &dev) || dev->bustype
> != DRM_BUS_PCI) {
> hw/xfree86/drivers/modesetting/dri2.c: info.deviceName =
> drmGetDeviceNameFromFd(ms->fd);
>
> [...]
>
> src/amdgpu_dri2.c: info->dri2.device_name =
> drmGetDeviceNameFromFd(pAMDGPUEnt->fd);</span >
These are only called during X server startup.
<span class="quote">> va/drm/va_drm_utils.c: name = drmGetDeviceNameFromFd(fd);</span >
This should only be called when a video player using VA-API runs standalone,
not via X (or Wayland), and even then only once.
Try running
sudo perf record -e rpm:rpm_resume --call-graph=dwarf
in a terminal, then do whatever is needed to reproduce the problem, then
interrupt the perf command with Ctrl-C and attach the output of
sudo perf report --header</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>