Mailinglist Archive: opensuse-bugs (4790 mails)

< Previous Next >
[Bug 1046962] radeonsi: 3D engines causing frequent GPU lockups
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 24 Jul 2017 12:48:13 +0000
  • Message-id: <bug-1046962-21960-vOf1BSydQ1@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1046962
http://bugzilla.opensuse.org/show_bug.cgi?id=1046962#c13

--- Comment #13 from Max Staudt <mstaudt@xxxxxxxx> ---
Hmm, if it's statically showing 2GB, then that's not useful...

Looking at your screenshot (thanks!):
How about these:
- clients
- gem_names
- radeon_gem_names
- radeon_gtt_mm
- radeon_vram_mm
- ttm_dma_page_pool
- ttm_page_pool

At least one of them should show a list the allocated objects (BOs), either
summed up per process or in full. Since it's probably more than fits on one
screen, you'd want to sum that up. Maybe something like:

while true ; do clear ; echo $(( $(cat FILENAME | tail -c +3 | cut -c 6-12 |
sed "s/$/ + ") 0 )) ; sleep 1 ; done

You'd have to trim the values to tail (which lines to skip, as the debugfs file
probably prints some table headers) and to cut (to catch only the numbers of
the column you're interested in).

What the above line does is:
- it takes the contents of FILENAME
- then throws away the first few lines
- then only selects characters 6 to 12 of each line
- then adds a " + " to each end of line
- then sums it all up using Bash's built-in arithmetic $(( ))
- then prints the result with echo

Hope this helps!

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References