Skip to content

Instantly share code, notes, and snippets.

View lostgoat's full-sized avatar

Andres Rodriguez lostgoat

View GitHub Profile
"driver_null" : {
"enable" : true
},
"steamvr" : {
"forcedDriver" : "null",
}
#!/bin/bash
sudo bash -c 'echo s > /proc/sysrq-trigger'
sudo bash -c 'echo u > /proc/sysrq-trigger'
sudo bash -c 'echo s > /proc/sysrq-trigger'
sudo bash -c 'echo b > /proc/sysrq-trigger'
RDOC 013556: [00:20:24] core.cpp( 312) - Log - RenderDoc v1.3 64-bit Development (2ec0096bc27c288c2f76f4201b68db667da0de2d) loaded in replay application
QTRD 013556: [00:20:24] qrenderdoc.cpp( 88) - Log - QRenderDoc initialising.
RDOC 013556: [00:22:36] target_control.cpp( 560) - Log - Got remote handshake: vrcompositor [14571]
RDOC 013556: [00:22:36] posix_network.cpp( 462) - Debug - ECONNREFUSED: A connection was refused.
RDOC 013556: [00:22:36] posix_network.cpp( 462) - Debug - ECONNREFUSED: A connection was refused.
RDOC 013556: [00:22:36] posix_network.cpp( 474) - Debug - Failed to connect to localhost:38921
RDOC 013556: [00:22:36] posix_network.cpp( 462) - Debug - ECONNREFUSED: A connection was refused.
RDOC 013556: [00:22:36] posix_network.cpp( 462) - Debug - ECONNREFUSED: A connection was refused.
RDOC 013556: [00:22:36] posix_network.cpp( 474) - Debug - Failed to connect to localhost:38922
RDOC 013556: [00:22:36] posix_network.cpp( 462
andres@andres-vr:~/git/mesa$ git diff
diff --git a/src/amd/vulkan/radv_query.c b/src/amd/vulkan/radv_query.c
index cdff336f8a3..a8e214f7c50 100644
--- a/src/amd/vulkan/radv_query.c
+++ b/src/amd/vulkan/radv_query.c
@@ -1133,7 +1133,7 @@ VkResult radv_GetQueryPoolResults(
if (flags & VK_QUERY_RESULT_WAIT_BIT) {
while (*(volatile uint64_t *)src == TIMESTAMP_NOT_READY)
;
- available = *(uint64_t *)src != TIMESTAMP_NOT_READY;
andres@andres-dev:~$ cat bin/deadead.sh
#!/bin/bash
sudo sync
sudo bash -c '
echo s > /proc/sysrq-trigger;
echo u > /proc/sysrq-trigger;
echo s > /proc/sysrq-trigger;
echo b > /proc/sysrq-trigger;
'
([vega10]) (sample @ 10ms, report @ 1000ms) -- Tue Sep 24 13:40:36 2019
GRBM Bits:
TA => 0 % | GDS => 0 %
WD_NO_DMA => 0 % | VGT => 0 %
IA_NO_DMA => 0 % | IA => 0 %
SX => 0 % | WD => 0 %
SPI => 0 % | BCI => 0 %
SC => 0 % | PA => 0 %
DB => 0 % | CP_COHERENCY => 0 %
CP => 0 % | CB => 0 %