Bug 497918

Summary: intel_gpu_dump utility reports that /sys/kernel/debug/dri/0 doesn't exist
Product: [Fedora] Fedora Reporter: Mace Moneta <moneta.mace>
Component: xorg-x11-drv-intelAssignee: Kristian Høgsberg <krh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ajax, hez, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-07 21:28:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mace Moneta 2009-04-27 20:36:43 UTC
Description of problem:

The intel_gpu_dump utility reports that /sys/kernel/debug/dri/0 doesn't exist, when it does:

[root@slayer ~]# mount -t debugfs debugfs /sys/kernel/debug
[root@slayer ~]# intel_gpu_dump 
Error opening /sys/kernel/debug/dri/0: No such file or directory

Perhaps your i915 kernel driver has no support for dumping batchbuffer data?
(In kernels prior to 2.6.30 this requires manually-applied patches.)
[root@slayer ~]# ls /sys/kernel/debug/dri/0/
bufs                 i915_gem_flushing    name
clients              i915_gem_hws         page_alloc
gem_names            i915_gem_inactive    queues
gem_objects          i915_gem_interrupt   vm
i915_gem_active      i915_gem_request     vma
i915_gem_fence_regs  i915_gem_seqno       


Version-Release number of selected component (if applicable):

intel-gpu-tools-2.7.0-2.fc11.x86_64

How reproducible:

Always

Steps to Reproduce:
1.mount -t debugfs debugfs /sys/kernel/debug
2.intel_gpu_dump
3.
  
Actual results:

Error

Expected results:

No error

Additional info: GPU is Intel G45/X4500HD

Comment 1 Adam Jackson 2009-05-07 21:28:06 UTC
Fixed in kernel CVS, should be in -133 and later.