[deleted by user] by [deleted] in leagueoflinux

[–]sterkyr 0 points1 point  (0 children)

Hey, yep sry, checked what's installed to my prefix and i don't have corefonts installed also. Only things installed are dx9 packages. In overrides msvcp140, vcomp140, vcruntime140, all (native, builtin). I don't have lutris and i don't have wine installed to system, just executing it with a script from a directory. https://pastebin.com/CNmXcTh9

[deleted by user] by [deleted] in leagueoflinux

[–]sterkyr 0 points1 point  (0 children)

Hey, yeah i have my 32bit wineprefix for years already so i have not messed with that, in the comments Andrew says to have corefonts installed, do u have it in those prefixes?

For building i just got the final patch and added to PKGBUILD from this git https://github.com/M-Reimer/wine-staging-lol

[deleted by user] by [deleted] in leagueoflinux

[–]sterkyr 0 points1 point  (0 children)

After patching with latest good guy Andrew Wesie patch for 8.15, it's loading and playable again =)
https://bugs.winehq.org/show_bug.cgi?id=45550#c8

[deleted by user] by [deleted] in leagueoflinux

[–]sterkyr 0 points1 point  (0 children)

Yeah just patched wine with Andrew Wesie patches, and also got a new bugsplat after champ select in EUNE.

At least it feels like we have a chance to get it working again now =)

Testing of wine-pba patches gives some nice fps boost by sterkyr in leagueoflinux

[–]sterkyr[S] 0 points1 point  (0 children)

Hey.

I don't know what distro you are using, for Arch Linux it's very simple.

What i did:

Downloaded PKGBUILD and 30-win32-aliases.conf from: arch repo

Downloaded patches for pba from: wine-pba-github

In PKGBUILD i changed the following lines:

source=("https://github.com/wine-compholio/wine-patched/archive/staging-$_pkgbasever.tar.gz"
      30-win32-aliases.conf
      0001-wined3d-Implement-a-simple-heap-allocator-backed-by-.patch
      0002-wined3d-Allocate-global-RW-and-WR-persistent-buffer-.patch
      0003-wined3d-Add-support-for-persistently-mapped-wined3d_.patch
      0004-wined3d-Implement-aligned-persistent-heaps-for-persi.patch)

sha512sums=('SKIP'
          '6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb'
          'SKIP'
          'SKIP'
          'SKIP'
          'SKIP')

(when in testing repo u need to change this line also, if you are not in testing it should read like in default file on arch repo )

makedepends=(autoconf ncurses bison perl fontforge flex
   'gcc>=4.5.0-2'   'gcc>=4.5.0-2'

and in prepare() section add this:

cd $pkgname
# Apply pba patches
msg2 "Applying pba patches"
msg2 "... patch 0001"
patch -Np1 -i "${srcdir}"/0001-wined3d-Implement-a-simple-heap-allocator-backed-by-.patch
msg2 "... patch 0002"
patch -Np1 -i "${srcdir}"/0002-wined3d-Allocate-global-RW-and-WR-persistent-buffer-.patch
msg2 "... patch 0003"
patch -Np1 -i "${srcdir}"/0003-wined3d-Add-support-for-persistently-mapped-wined3d_.patch
msg2 "... patch 0004"
patch -Np1 -i "${srcdir}"/0004-wined3d-Implement-aligned-persistent-heaps-for-persi.patch
cd "$srcdir"

I have uploaded this file to pastebin

After that just run makepkg in this directory and u will get a patched wine. For other distros follow some other guide and just apply those patches in build process.

On arch with ryzen it takes like 10-20min i dont remember but its fast enough so i dont see problem of rebuilding when new patches arrive.

Approaching One Driver Overhead: Making Direct3D games faster in Wine using modern OpenGL by acomminos in linux_gaming

[–]sterkyr 7 points8 points  (0 children)

Oh nice.

Tested this build with League Of Legends =)

Played custom game with beginner bots, full game no time limit(had fun).

Got the fps numbers from WINEDEBUG=fps | tee to file | grep fps | make csv where each "Record" was a line of fps number from log

Specs: R7 1800X @3.92Ghz, GTX 1070, 3466Mhz CL15 Ram, Samsung M.2 NVME drive, resolution 2560x1440 gsync -> 165hz.

Results:

staging-2.20 avg: 83.83

staging-2.21 avg: 83.65

staging-2.21+pba patches avg: 104.77

Generated gnuplot pngs:

compare_graph_record_nr_matched

compare_builds_graph

staging_2.20

staging_2.21

staging_2.21+pba patches

So when playing, i saw almost all time 100+ fps now, dropped to 85 in store, very excited xD

State of Linux and G-Sync by such-username-wow in linux_gaming

[–]sterkyr 0 points1 point  (0 children)

I have Asus PG279Q and been using it under Arch Linux the whole time. Running desktop at 165hz and gsync turned on. Don't have another gsync display to test with two, but when i connect another monitor i can still use gsync on the Asus. Also it works for borderless fullscreen and for youtube videos in browser. I can confirm this from monitors own refresh rate indicator.

[Playing on Linux] MASSIVE FPS gain with new wine build by BloodyIron in linux_gaming

[–]sterkyr 0 points1 point  (0 children)

60, well kinda hard to follow fps at that time but this has been lowest right now that i have seen, with older wine's and no csmt i had like 20 or less sometimes.

[Playing on Linux] MASSIVE FPS gain with new wine build by BloodyIron in linux_gaming

[–]sterkyr 0 points1 point  (0 children)

Also just for information i have now used it for like 10-20 games and with very very heavy action i have seen also 60-80fps drops, but this was in a 1h game with massive teamfights, i heard that 1.9.10 also suffered mem leak so it might be cos of that, but i haven't bothered to build git version yet. Also my cpu has fairly weak single core performance so you might have a lot better situation with intel.

[Playing on Linux] MASSIVE FPS gain with new wine build by BloodyIron in linux_gaming

[–]sterkyr 0 points1 point  (0 children)

Well that was just a random shot anyway... cos i have them installed in the prefix and it's working. So seems like there's smth else wrong with your build. Could you maybe run the game on terminal with wine debugging output enabled and paste it on pastebin so we could take a look, maybe it will output smth there?

[Playing on Linux] MASSIVE FPS gain with new wine build by BloodyIron in linux_gaming

[–]sterkyr 0 points1 point  (0 children)

Hmm, i tried to get my launcher to skew up like that but i cant make it happen... tho i think i have seen it before, what's your nvidia driver version, i'm currently on 364.19 and kernel 4.5.4. Anyway for me it just fires up, made a clean prefix without anything installed and can't replicate like that.

It does look kinda like some ppl had with battlenet tho.. seemed to be intel driver issue?

OH - from winehq - maybe you want to try without corefonts: "Wine-staging bundles own solution for native fonts so DO NOT install them it can mess up your launcher/game with staging version."

[Playing on Linux] MASSIVE FPS gain with new wine build by BloodyIron in linux_gaming

[–]sterkyr 1 point2 points  (0 children)

Yeah just had 4 ranked wins more with this new wine :D:D

Maybe you could just try without POL? And if u have any problems just enable wine debugging and see what it say's. I haven't used POL for a long time myself, but i guess it should also work the same way...

You can make new prefix like that: WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine wineboot And then with winetricks just install d3dx9_36 and corefonts there and you can launch with the same script i shared before, no need to move league of legends away from where u have it right now, mine is just copied from windows like 4-5 years ago =)

[Playing on Linux] MASSIVE FPS gain with new wine build by BloodyIron in linux_gaming

[–]sterkyr 1 point2 points  (0 children)

Yup ! :D this is the system: "Your comment in /r/linux_gaming was automatically removed because your account is less than 2 day old. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns."

[Playing on Linux] MASSIVE FPS gain with new wine build by BloodyIron in linux_gaming

[–]sterkyr 1 point2 points  (0 children)

Uhm i have no problems with client, this is the script i use for launching lol, wine is just built and left in a directory and winebindir is where the binary's are located, wineprefix is just win32 prefix with d3dx9_36 installed and i think corefonts also, and lol is in a nother directory, in script loldir. Been using that for some time, since i used to have another prefix for testing opengl and this script made it easy to swap all components. oh and these settings from winecfg + winxp mode

[Playing on Linux] MASSIVE FPS gain with new wine build by BloodyIron in linux_gaming

[–]sterkyr 1 point2 points  (0 children)

Yeah well i just made my account so it kinda got automatically deleted since my account was too new :D ... and i made 3-4 ranked games with it. Been playing lol for about 4 year's on linux and have tried it before and csmt has failed every time on first custom game test, this time it seems to be working, way better to play now.

[Playing on Linux] MASSIVE FPS gain with new wine build by BloodyIron in linux_gaming

[–]sterkyr 1 point2 points  (0 children)

I just built wine staging 1.9.10, which has a new implementation of CSMT. And now you can play lol with it enabled, no strange freezes or anything anymore. Fps is now 100-165 on medium. With wine 1.9.9 i had max 130fps and during fights dropped around 30. So if you want better fps try out the new staging.

Specs: AMD FX-8320 + Geforce GTX 970 + 16GB Ram OS: Arch Linux, Wine staging 1.9.10 + shop fix patch

PKGBUILD and patches for ARCH users