Use Reddit? Join us on our very own subreddit: https://www.reddit.com/r/Linuxstuff/
You can sign up to get a daily email of our articles, see the Mailing List page!
Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can support us on Paypal and Liberapay!
  Go to:
Wine "PBA" - A new project for better Direct3D over OpenGL
Avehicle7887 commented on 24 February 2018 at 12:26 am UTC

Posting this here for more awareness and contribution: https://www.phoronix.com/scan.php?page=news_item&px=Wine-PBA

The project was started by University student Andrew Comminos which improves Wine performance. A new Staging branch based right off 2.21 has been added which you can find at this link: https://github.com/acomminos/wine-pba

I've tried to build it from source however it aborts a few steps through the process, the error has been reported already, hopefully will be fixed soon.

You can also read more on the author's personal blog: https://comminos.com/posts/2018-02-21-wined3d-profiling.html

Huge thanks to Andrew for his work and to Phoronix for bringing this in the spotlight. :-)

PlutonMaster commented on 24 February 2018 at 7:09 am UTC

I've found this from Phoronix website. Looks promising.

Avehicle7887 commented on 24 February 2018 at 4:27 pm UTC

Post Update -

I gave this patch a spin earlier yesterday morning, Downloaded Base Wine 2.21 > Applied Staging 2.21 patches > Applied Andrew's patch. Didn't have much luck. Games ran, sound audible but with a black screen.

I recompiled it again using latest patches, black screens are gone and there are some serious improvements this time (also a regression):

image

As you can see above, Witcher 3 improved a lot for Nvidia, however all the characters (including Geralt's horse) are invisible. Also noticed an important factor - my GPU usage peaked to about 80%.

Will keep posting with updates


For the moment I can't seem to manage to build a WoW64 Wine build (32+64bit combo) so all my tests will either be a Pure 32bit or 64bit build.

Shmerl commented on 25 February 2018 at 4:53 am UTC

I wonder if there is any work duplication going on, since Wine developers are now also working on fixing buffer pool performance.

GloriousEggroll commented on 25 February 2018 at 6:03 am UTC

This also needs to be tested on AMD gpus. My experience on AMD gpus with these patches was atrocious sadly. My wow framerate droped from 60+ to about 10-20 in sunstrider isle newbie area with dx9 and dx11

sterky commented on 25 February 2018 at 10:55 am UTC

Hey. I also gave these patches a run, but with League Of Legends.

Quick summary here:

staging-2.20 avg: 83.83 staging-2.21 avg: 83.65 staging-2.21+pba patches avg: 104.77

Links to plotted fps graphs etc are in reddit post:
Link to my Reddit post

tpau commented on 25 February 2018 at 10:56 am UTC

ShmerlI wonder if there is any work duplication going on, since Wine developers are now also working on fixing buffer pool performance.

Have you asked the wine developers and the pba guy this? It might make more sense on #winehackers or wine-devel than here to wonder about it.

andda715 commented on 25 February 2018 at 11:19 am UTC

Tested on TW3 w R1700 och GTX1080:

~7 fps wine master latest ~20 fps wine master latest with (new) buffer patch ~20 fps wine staging 2.21 ~13 fps wine staging 2.21 with PBA patches

PBA patches gives invisible Geralt etc as already reported (using 4 from: ae1cb0d Fix constant buffer invalidation).
Not sure why the Nvidia performance improved so much for Avehicle7887 but not for me. :-/

sterky commented on 25 February 2018 at 12:18 pm UTC

Rebuilt wine-pba with latest patches and ran League Of Legends again, same test full bot game.
It was a bit shorter game tho but i did see around 100-130 fps most of the time.

staging-2.20 avg: 83.83 staging-2.21 avg: 83.65 staging-2.21+pba patches avg: 104.77 staging-2.21+pba patches (rebuild with latest) avg: 113.23

link to plot

Avehicle7887 commented on 25 February 2018 at 12:28 pm UTC

I have re-tested Witcher 3 under different CPU cores active, using just the first 4 cores produced almost same performance as running on all 16 threads. GPU load peaked 83% usage in about 10 mins of gameplay. I'm in the process of building the 32bit Wine version atm, so I can do more tests.

jaycee commented on 25 February 2018 at 12:44 pm UTC

To be honest I had no idea up until now that Wine wasnt using things like ARB_buffer_storage. It's one of the first things we added to eON for Bioshock Infinite that made a hell of a difference. Unfortunately we also found out that it was initially broken in fglrx!

  Go to:

Due to spam you need to Register and Login to comment.


Or login with...

Livestreams & Videos
Community Livestreams
  • RPGoodness: „The Dwarves“
  • Date:
See more!
Popular this week
View by Category
Contact
Latest Comments
Latest Forum Posts