Skip to content

Instantly share code, notes, and snippets.

View lostgoat's full-sized avatar

Andres Rodriguez lostgoat

View GitHub Profile
andres@andres-vr:~/git/vk-samples/bin$ withlocaldisplay withradv ./ssa
Max: 3.075ms Min: 2.517ms MaxH: 3.075ms MinH: 2.517ms Med: 2.789ms Avg: 2.791ms Frames: 494 Cur: 2.690ms
Max: 3.075ms Min: 2.517ms MaxH: 3.075ms MinH: 2.517ms Med: 2.789ms Avg: 2.791ms Frames: 495 Cur: 2.755ms
[...]
andres@andres-vr:~/git/vk-samples/bin$ sudo QUEUE_NUM=0 withlocaldisplay withradv time nice -n 20 ./computeparticles -high-priority
Max: 0.798ms Min: 0.059ms MaxH: 0.798ms MinH: 0.059ms Med: 0.207ms Avg: 0.195ms Frames: 1224 Cur: 0.300ms
Max: 0.798ms Min: 0.059ms MaxH: 0.798ms MinH: 0.059ms Med: 0.207ms Avg: 0.195ms Frames: 1225 Cur: 0.181ms
Max: 0.798ms Min: 0.059ms MaxH: 0.798ms MinH: 0.059ms Med: 0.207ms Avg: 0.195ms Frames: 1226 Cur: 0.254ms
Max: 0.798ms Min: 0.059ms MaxH: 0.798ms MinH: 0.059ms Med: 0.207ms Avg: 0.195ms Frames: 1227 Cur: 0.262ms
gfx-226 [004] .... 621.348545: amdgpu_sched_run_job: sched_job=1174, timeline=gfx, context=529, seqno=762, ring_name=gfx, num_ibs=3
gfx-226 [004] .... 621.348555: dma_fence_signaled: driver=amd_sched timeline=gfx context=528 seqno=762
<idle>-0 [002] d.h. 621.348588: dma_fence_signaled: driver=amdgpu timeline=gfx context=1 seqno=1350
<idle>-0 [002] d.h. 621.351849: dma_fence_signaled: driver=amdgpu timeline=gfx context=1 seqno=1351
<idle>-0 [002] d.h. 621.351853: dma_fence_signaled: driver=amd_sched timeline=gfx context=529 seqno=762
Xorg-1192 [005] .... 622.346013: amdgpu_cs_ioctl: sched_job=1175, timeline=gfx, context=95, seqno=329, ring_name=gfx, num_ibs=3
gfx-226 [004] .... 622.346075: amdgpu_sched_run_job: sched_job=1175, timeline=gfx, context=95, seqno=329, ring_name=gfx, num_ibs=3
gfx-226 [004] .... 622.346088: dma_fence_signaled: driver=amd_sched timeline=gfx context=94 seq
@lostgoat
lostgoat / rfc-priority.txt
Last active December 20, 2016 06:44
[RFC] Mechanism for high priority scheduling in amdgpu
Hi Everyone,
We are interested in feedback for a mechanism to effectively schedule high
priority VR reprojection tasks (also referred to as time-warping) for Polaris10
running on the amdgpu kernel driver.
Brief context:
--------------
The main objective of reprojection is to avoid motion sickness for VR users in
./autogen.sh \
--prefix=/opt/radv \
--enable-dri3 \
--enable-debug=yes \
--enable-glx-tls \
--with-vulkan-drivers="radeon,intel" \
--with-dri-drivers="radeon,i965" \
--with-gallium-drivers="r300,r600,radeonsi" \
--with-llvm-prefix="/opt/radv"
//Note: This command was automatically generated by the create-new-search-command command.
CmdUtils.makeSearchCommand({
name: "dota",
url: "http://www.dota-allstars.com/wiki/Special:Search?search={QUERY}",
icon: "http://www.dota-allstars.com/favicon.ico",
description: "Searches www.dota-allstars.com"
});
@lostgoat
lostgoat / x
Created May 16, 2009 05:00
Search for episode lists in wikipedia using the google I'm feeling lucky option. Based on "quicky" by Royall
makeSearchCommand({
name: "episodes",
icon: "http://www.tv.com/favicon.ico",
url: "http://www.google.com/search?q=list+of+episodes+wikipedia+{QUERY}&btnI=kudos",
description: "Retreive an 'Episode Guide' page from wikipedia",
// Original author: author: { name: "Royall", email: "[email protected]"},
//Thanks to Royall for the "quicky" command code which I used as the base for this code