Originally posted by shmerl
View Post
Announcement
Collapse
No announcement yet.
Mesa OpenGL Threading Now Ready For Community Testing, Can Bring Big Wins
Collapse
X
-
Originally posted by marek View Post
No. Just build Mesa and you can create symlinks in /usr/lib... pointing to your built .so files in your Mesa tree. Then just "make" and you don't have to install.
I just tried that, but glxgears crashed (glinfo as well):
Code:libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver: r600 libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver: r600 libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 156 (GLX) Minor opcode of failed request: 3 (X_GLXCreateContext) Value in failed request: 0x0 Serial number of failed request: 45 Current serial number in output stream: 47
Comment
-
Originally posted by M@yeulC View PostIsn't there a way to just set LD_LIBRARY_PATH to point to the lib/ folder after a build? I would like to avoid touching the current (working) setup as much as possible.
$ LD_LIBRARY_PATH="/usr/local/lib" LIBGL_DRIVERS_PATH="/usr/local/lib/dri" <your_game>
It must match what you've set up in your build, in this case I've used "--libdir=/usr/local/lib --prefix=/usr/local" to build mesa.
Originally posted by M@yeulC View PostDo I need to start the X server in a way that it is linked against those llibraries?
- Likes 1
Comment
-
So I was testing ATS and ETS2 (amtrucks and eurotrucks2 respectively) to send Marek the names of the executables, and after much testing I discovered that these 2 games do not engage mesa_glthread via drirc. Both Borderlands games and The Witcher 2 worked without problems. These two truck simulators only engage mesa_glthread putting the command "mesa_glthread=true %command%" on Steam.
- Likes 1
Comment
-
Originally posted by M@GOid View PostSo I was testing ATS and ETS2 (amtrucks and eurotrucks2 respectively) to send Marek the names of the executables, and after much testing I discovered that these 2 games do not engage mesa_glthread via drirc. Both Borderlands games and The Witcher 2 worked without problems. These two truck simulators only engage mesa_glthread putting the command "mesa_glthread=true %command%" on Steam.
Comment
-
Originally posted by bug77 View Post
I'm not sure I understand the question.
OpenGL's problem is that even with rules in place, devs like to implement their own paths. Vulkan does away with rules and says "here's a lower level API, do whatever you want". I'm having a hard time seeing how that's not going to lead to games optimized half-way or even for one of the major players. Professional software (which is where Vulkan can do the most good) will probably be treated better, but games? I think they'll just get the short stick.
Fwiw, I don't have a problem with Vulkan. Between OpebGL and Vulkan, I think now is a great time for open rendering frameworks. It's just that I don't agree with those that see Vulkan taking the world by storm and changing how we do rendering from the ground up.
It shoves the hacks out of the kernel/driver though, if developers want to do whatever they want, there's no silly .drirc conf madness needed for Vulkan...
Comment
-
Originally posted by marek View Post
It looks like the executable name in drirc is wrong then. You can find out the real executable name by running "ps -A" while the game is running.
ETS2 has a demo on steam. I doubt the executable is the same version of the full game, but maybe you can give it a shot:
http://store.steampowered.com/app/22...k_Simulator_2/Last edited by M@GOid; 10 July 2017, 04:43 PM.
Comment
-
Originally posted by M@GOid View PostETS2 has a demo on steam. I doubt the executable is the same version of the full game, but maybe you can give it a shot:
http://store.steampowered.com/app/22...k_Simulator_2/
However, I have issues running Mesa git master on Fedora 26 (using che/mesa copr). Xorg is crashing:
Has anyone seen the same issue and resolved it?
Comment
-
Originally posted by spstarr View PostIt shoves the hacks out of the kernel/driver though, if developers want to do whatever they want, there's no silly .drirc conf madness needed for Vulkan...
- Likes 1
Comment
Comment