Comments (7)
Sure? Try running cmake again to reconfigure, it works for me. I fixed it after the PR was merged.
from fossilize.
After installing, I get
{
"file_format_version" : "1.0.0",
"layer" : {
"name": "VK_LAYER_fossilize",
"type": "GLOBAL",
"library_path": "libVkLayer_fossilize.so",
"api_version": "1.1.98",
"implementation_version": "1",
"description": "Fossilize capture layer"
}
}
the JSON file in the build directory however has:
{
"file_format_version" : "1.0.0",
"layer" : {
"name": "VK_LAYER_fossilize",
"type": "GLOBAL",
"library_path": "./libVkLayer_fossilize.so",
"api_version": "1.1.98",
"implementation_version": "1",
"description": "Fossilize capture layer"
}
}
from fossilize.
Yes, I have the latest commit from master, and I just installed it. I got the exact same thing as you, and it doesn't work. From reading https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/blob/master/loader/LoaderAndLayerInterface.md#layer-manifest-file-format more closely, it seems that when "library_path" doesn't start with . or / it tries to find it on the library search path (i.e. LD_LIBRARY_PATH
). I hadn't added /usr/local/lib
to my LD_LIBRARY_PATH
(and at least on Fedora it isn't on the library search path by default), which is probably why it happens to work for you and not me. The path in the json file should be absolute, so that once the json file is found you know that it's going to correctly find the library. This is what every other Vulkan json file that I know of does.
from fossilize.
Hm, the validation layers do not do this on Arch at least, but I guess I can force absolute paths.
from fossilize.
At least renderdoc and steam also use an absolute path. The validation layers are installed by the OS and are part of the base Vulkan system, so it's probably ok to assume that the library file is in the system path, but that's not a good assumption to make by any third-party thing. What if someone has a non-standard install prefix?
from fossilize.
Pushed a PR which uses absolute paths, please try it.
from fossilize.
Works for me, thanks!
from fossilize.
Related Issues (20)
- Steam seems to never finish shader pre-compiling in the background for A Hat in Time HOT 8
- default log level in journalctl
- Compiling Vulkan shaders with less than 50% of free memory leads to OOM situation and system freeze HOT 4
- CPU instability when compiling shaders. HOT 15
- Build of -m32 fossilize terminating with errors
- Launching Steam immediately caused `fossilize_replay` to consume all available memory HOT 9
- fossilize_replay causing OOM (but only in Deep Rock Galatic) HOT 4
- [steam] fossilize_replay stops processes and fails to resume them HOT 4
- Use after free when compiling GPL pipelines HOT 2
- Setting fossilize environment for steam games HOT 2
- 100 GB shadercache folder
- Extremely long Vulkan Shaders processing just with Nvidia GPU HOT 2
- Fossilize_replay vulkan bug, arch proton
- `fossilize-disasm --target isa` crash
- Launching Steam freezes my system because of fossilize_replay taking whole memory HOT 1
- Why is this CPU bound? HOT 1
- Missing cstdint include HOT 2
- Why is fossilize always running? HOT 2
- Please make fossilize_replay ramp in a performant way HOT 6
- Support `VK_STRUCTURE_TYPE_PIPELINE_ROBUSTNESS_CREATE_INFO_EXT`/`1000068000` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fossilize.