valvesoftware / steamos_mesa Goto Github PK
View Code? Open in Web Editor NEWPatched branches of Mesa used in SteamOS
Patched branches of Mesa used in SteamOS
Team Fortress is crashing on linux-grsec. In the past, the only flag I had enabled for hl2_linux was "m" (disabled mprotect), but now I have to do "em" otherwise TF2 will crash the entire system.
[amarildo@amarildo ~]$ journalctl | grep /usr/lib32/mesa/libGL.so.1.2.0
Mar 25 14:36:30 amarildo kernel: grsec: denied RWX mmap of /usr/lib32/mesa/libGL.so.1.2.0 by /home/amarildo/.local/share/Steam/steamapps/common/Team Fortress 2/hl2_linux[hl2_linux:1902] uid/euid:1000/1000 gid/egid:100/100, parent /home/amarildo/.local/share/Steam/steamapps/common/Team Fortress 2/hl2.sh[hl2.sh:1899] uid/euid:1000/1000 gid/egid:100/100
Please fix this.
I notice a workaround for llvm.12833:
https://github.com/ValveSoftware/steamos_mesa/blob/4d8013e2b0914bfb0472778ebf15e27faa0d39fb/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
/*
* Workaround http://llvm.org/bugs/show_bug.cgi?id=12833
*/
StringRef MArch = "";
StringRef MCPU = "";
Triple TT(unwrap(M)->getTargetTriple());
JIT = builder.create(builder.selectTarget(TT, MArch, MCPU, MAttrs));
This compiler bug is already fixed: https://bugs.llvm.org/show_bug.cgi?id=12833
Shall this workaround be removed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.