Game doesn't launch with dedicated gpu
With the new launcher the way to launch the game with my dedicated amd gpu( instead of the intergrated intel one) has changed. It used to be that all I had to do was to pass DRI_PRIME=1 before the launch command. Now the launcher doesn't pass these arguments to the game so I have made this script instead.
#! /bin/sh
export DRI_PRIME=1
exec java "$@"
and use the custom java executable to launch with it.
Now, something is happening because the game doesn't launch at all when I use this. The error from the launcher log is this
[0422/190550:WARNING:x11_util.cc(1404)] X error received: serial 773, error_code 180 (GLXBadWindow), request_code 154, minor_code 32 (X_GLXDestroyWindow)
[0422/190550:WARNING:x11_util.cc(1404)] X error received: serial 779, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
Keep in mind, the game launches just fine with the integrated gpu. Also the game is still running in the background as the launcher gives me a warning about it if I try to launch it again. I also assume this is a launcher bug as the error appears on launcher_log.txt
2019-04-22, 07:11 PM
2022-03-23, 07:10 PM
2022-03-23, 07:10 PM
0
2
crash, load, rendering, windowcreation
2.1.1462 (Windows) / 2.1.1433 (Mac OS) / 2.1.1431 (Linux), 2.1.2480-2.1.2482
-