Lol not starting linux mint 19.1

LeagueClient.exe(00000009): ALWAYS| Application Version: - CL:2618667 - Build Date:Jan 31 2019 - Build Time:11:23:42
libGL error: No matching fbConfigs or visuals found
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: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 231
Current serial number in output stream: 235
Running /home/hastrup/.local/share/lutris/runners/wine/staging-3.18-x86_64/bin/wine /home/hastrup/Games/league-of-legends/drive_c/Riot Games/League of Legends/LeagueClient.exe

i got the newest nvidia driver. and the newest wine-staging can anyone point me in the right direction