ChanServ changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://oftc.irclog.whitequark.org/panfrost - <macc24> i have been here before it was popular
rasterman has quit [Quit: Gettin' stinky!]
pH5 has quit [Ping timeout: 480 seconds]
icecream95 has quit [Quit: leaving]
erle has joined #panfrost
karolherbst_ has joined #panfrost
karolherbst has quit [Remote host closed the connection]
q4a has joined #panfrost
<q4a> hi. I would like to test panvk on rk3288 (32 bit with Mali-T760 MP4). I installed mesa from git and have installed libvulkan_panfrost.so in /usr/lib/arm-linux-gnueabihf. But every time when I run vkcube or vulkaninfo it uses llvmpipe. How can I switch to panvk?
<HdkR> q4a: You need to install the ICD json file to /usr/share/vulkan.icd or something as well
<HdkR> and also you probably need an environment variable
<HdkR> `export PAN_I_WANT_A_BROKEN_VULKAN_DRIVER=1`
<q4a> HdkR: thatnks. I'm using ubuntu 20.04 and this is my /usr/share/vulkan/icd.d/panfrost_icd.armv7l.json : https://pastebin.ubuntu.com/p/qCQHtvNVvF/
<q4a> export PAN_I_WANT_A_BROKEN_VULKAN_DRIVER=1 - looks working.
<q4a> VULKANINFO now has "Devices: count = 6": 3 for Mali-T760 (Panfrost) and 3 for llvmpipe (LLVM 13.0.1, 128 bits)
<HdkR> Smells like the loader is managing to pick up drivers in multiple locations
<HdkR> Maybe `/usr/` `/usr/local/` and some cwdir environment variable magic.
<q4a> Now simple vk app ( https://github.com/q4a/vkcube ) crashes with (panvk), but it was working with llvmpipe. So I think, that I'm using last panvk now
<q4a> is theare any simple app that working with panvk or ony some conformance tests working?
<HdkR> Probably!
q4a has quit [Quit: Page closed]
pjakobsson_ has joined #panfrost
pjakobsson has quit [Ping timeout: 480 seconds]
q4a has joined #panfrost
Daanct12 has joined #panfrost
rcf has quit [Quit: WeeChat 3.6-dev]
rcf has joined #panfrost
rasterman has joined #panfrost
<q4a> I created repo with 4 simple vulkan apps: https://github.com/q4a/VulkanHelloTriangle Here is results: https://github.com/q4a/VulkanHelloTriangle/wiki
<q4a> Looks like only simple checking `vkEnumerateInstanceExtensionProperties` is working booth in llvmpipe and panvk
<q4a> "vktri" works with llvmpipe but fails with `Segmentation fault` using panvk
<q4a> vkcubepp from https://packages.ubuntu.com/focal/vulkan-tools works llvmpipe and panvk, but vkcube getting `Segmentation fault` with llvmpipe and run fine with panvk
q4a has quit [Quit: Page closed]
Daanct12 has quit [Remote host closed the connection]
q4a has joined #panfrost
rasterman has quit [Read error: Connection reset by peer]
rasterman has joined #panfrost
<alyssa> You wanted a broken Vulkan driver, you got a broken Vulkan driver :)
alyssa has quit [Quit: leaving]
spawacz has quit [Quit: WeeChat 3.0]
spawacz has joined #panfrost
rasterman has quit [Quit: Gettin' stinky!]
alpernebbi has quit [Ping timeout: 480 seconds]
alpernebbi has joined #panfrost
nlhowell has joined #panfrost
nlhowell has quit [Ping timeout: 480 seconds]
JulianGro has joined #panfrost
Danct12 has quit [Remote host closed the connection]
<macc24> alyssa: pleaaaaaaaaaaaaaaaaase make that env var break panvk in future when it's usable
nlhowell has joined #panfrost
<urja> lmao yes
<urja> (she's not around tho)
Lyude has quit [Quit: WeeChat 3.4]
Lyude has joined #panfrost
floof58 has quit [Ping timeout: 480 seconds]
<q4a> can somebody test build and run triangle with panvk from https://github.com/q4a/vulkan_hello_triangle/tree/master/01-vulkan-tutorial/15_hello_triangle ?
<q4a> I'm getting good triangle with llvmpipe and black screen with panvk
<HdkR> Sounds like expected behaviour to me
floof58 has joined #panfrost
<q4a> but example with vertex_buffer ( https://github.com/q4a/vulkan_hello_triangle/tree/master/01-vulkan-tutorial/19_vertex_buffer ) works fine with llvmpipe and with panvk. Is that expected?
floof58_ has joined #panfrost
floof58_ has quit []
floof58_ has joined #panfrost
floof58 has quit [Ping timeout: 480 seconds]
floof58_ has quit []
floof58 has joined #panfrost
<HdkR> q4a: The environment variable to enable the driver sets up expectations that anything and everything can be broken
MajorBiscuit has joined #panfrost
nlhowell has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Quit: WeeChat 3.4]
MajorBiscuit has joined #panfrost
MajorBiscuit has quit [Ping timeout: 480 seconds]
icecream95 has joined #panfrost
MajorBiscuit has joined #panfrost
MajorBiscuit has quit [Ping timeout: 480 seconds]