Skip to content

Instantly share code, notes, and snippets.

View Triang3l's full-sized avatar
🚀
Never say never!

Triang3l Triang3l

🚀
Never say never!
View GitHub Profile
@Venemo
Venemo / mesa-howto.md
Last active June 3, 2024 19:52
How to build and use mesa from source

Building and using mesa for development and testing

This explains how to build mesa from source, and how to use the custom built mesa to run some apps and games, without needing to replace the mesa libraries that your operating system runs on.

Let's assume that you are using an x86_64 system.

Building mesa

Overview

@bylaws
bylaws / 1.md
Last active March 20, 2024 18:40
Qualcomm Vulkan Driver qgl_config.txt Format

Info

Qualcomm Vulkan drivers on Android store their internal settings in a config file located in /data/{vendor, misc}/gpu/qgl_config.txt. This format is completely undocumented by Qualcomm however it contains many settings that can be useful for developers. Detailed documentation on it can be found below however it should be noted that selinux needs to be disabled for apps running in the Android sandbox to access this file.

Syntax

; is a comment
key{=, \n, \r}value assigns a setting value (all are treated in the same way)

On <SDM845, key is the human-readable setting name but on SDM845 or greater key can also be the hash of the setting name, to enable support for the older behaviour the line 0x0=0x8675309 can be added to the top of the file.

Keys