unable to start game if run with optirun (discrete nvidia card)
While I was writing the bug report I found a workaround. I choose to report it anyway as it uses a rather obscure prime-select tool that I never knew about it even though I used optirun for years.
I had already played a few times on this setup using optirun to trigger the discrete card. Now it doesn't work anymore and I don't know what changed. Without optirun it runs fine on Intel but it's way slower.
If I try to run minecraft through optirun in either launchers (2.1.5965 or 1.6 jar version) I get the following error, before the game window shows up:
17:44:23.692 Checking installations. 17:44:23.693 Minecraft client 1.14.4 is ready to start. 17:44:23.693 Starting! 17:44:23.693 Nothing to download! 17:44:23.693 Extracting 7 files! 17:44:23.717 Using default game log configuration client-1.12.xml (outputs XML) 17:44:23.717 Installing versions! 17:44:25.837 Setting user: rber 17:44:32.047 LWJGL Version: 3.2.2 build 10 17:44:33.001 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 72 (X_PutImage) Serial number of failed request: 46 Current serial number in output stream: 54 17:44:33.001 Process crashed with exit code 1
The workaround I found was to explicitly select the nvidia card through the "prime-select" tool. I just ran prime-select nvidia and the game was able to run again.
I'll say again that prime-select is an obscure tool I've never heard of. Also after rebooting it broke the graphical terminal which rendered the system at least seemingly broken until I ran prime-select unset
I would love If I'm able to help making the game work out of the box in opensuse even in laptops with two graphic cards
Please close this bug.
2019-07-28, 12:07 AM
2022-07-26, 06:42 PM
2022-07-26, 06:42 PM
0
0
-