Bugs and Crashes (UBUNTU LINUX)

jaméss·11/22/2017, 2:48:10 AM·1 votes·1,924 views

League on linux was working fine, until now

After the patch, the client was not loading due to a 'unknown directx error' due to my graphics driver not 'up to date'

I googled it and found out that this was an issue among some patches when the gamecfg file has to be updated, so I deleted the game file as instructed and accessed the game, after it loaded the updated version of the config file

However the thing is I'm not using Directx at all, as a linux user with integrated graphics I was recommended OpenGL as used on Mac's OSX(I think), and it worked flawlessly before this patch.

Now I get the bug that I got when I tried to get DirectX version work on my computer. After editing few things, I fixed the font bug but the fog of war was glitched, which made the whole map be darker. I was able to see what should be in my vision, but my range of vision was not indicated (not lighted up). There were some minor problems with the hub and the settings screen as well. (This happened after i deleted the x3d_platform line, which game me an idea)

I really don't know what is going on, but I experimented a bit with the config file, and apparently x3d value = 1 used to be load OpenGL but its now Directx, and value = 0 is OpenGL, since it loads when I add the line itself (x3d_platform = 0 well it would be as same as deleting it just like the new config file does)

However the fog of war glitch still remained.

Hey I sound confusing as heck, but pardon me I am a scatterbrain, I explained as best I am able to.

Hope to hear back from you, rito!

2 Comments

codeYeTi11/22/2017, 3:15:00 AM1 votes

Setting x3d_platform=0 makes you fall back to using wine's directx implementation, which is why it loads even though you haven't installed directx in that wine prefix.

with x3d_platform=1, the reason you see directx errors is that when league starts, it attempts to load the opengl renderer, fails, then tries to load the DirectX one as a fallback.

I'm also getting this error. Unsure how to fix it at the moment, but I'm working on it. There's a relevant thread on /r/leagueoflinux on reddit if you're interested.

codeYeTi11/22/2017, 5:00:28 PM1 votes

After some further research, this is happening on Windows as well with x3d_platform=1, so Riot basically just broke the OpenGL renderer in this update. Short of making some shitty patches to Wine to specifically support League's broken behavior, you're toasted until Riot fixes it.

Luckily for you, the DirectX renderer still kinda works in Wine, albeit with pretty piss poor performance.