amonakov / primus

Low-overhead client-side GPU offloading
ISC License
216 stars 20 forks source link

primus with minecraft #87

Closed gsgatlin closed 11 years ago

gsgatlin commented 11 years ago

Hello,

I tried building a package based off of primus from I think Saturday, 4/20. When I try to start minecraft. I get this error:

---- Minecraft Crash Report ---- // Hi. I'm Minecraft, and I'm a crashaholic.

Time: 4/22/13 7:06 AM Description: Failed to start game

org.lwjgl.LWJGLException: Could not get VisualInfo from GLX 1.3 config at org.lwjgl.opengl.LinuxDisplay.nCreateWindow(Native Method) at org.lwjgl.opengl.LinuxDisplay.createWindow(LinuxDisplay.java:413) at org.lwjgl.opengl.Display.createWindow(Display.java:311) at org.lwjgl.opengl.Display.create(Display.java:856) at org.lwjgl.opengl.Display.create(Display.java:784) at org.lwjgl.opengl.Display.create(Display.java:765) at net.minecraft.client.Minecraft.a(SourceFile:235) at avv.a(SourceFile:56) at net.minecraft.client.Minecraft.run(SourceFile:507) at java.lang.Thread.run(Thread.java:722) A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details -- Details: Minecraft Version: 1.5.1 Operating System: Linux (amd64) version 2.6.32-358.2.1.el6.x86_64 Java Version: 1.7.0_17, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 945938912 bytes (902 MB) / 1056309248 bytes (1007 MB) up to 3203792896 bytes (3055 MB) JVM Flags: 7 total; -Xmx3072M -Xms1024M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: No suspicious classes found. IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 LWJGL: 2.4.2 OpenGL: ERROR NullPointerException: null Is Modded: Probably not. Jar signature remains and client brand is untouched. Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: ERROR NullPointerException: null /home/gsgatlin/.minecraft/crash-reports/crash-2013-04-22_07.06.57-client.txt (END)

Any ideas? primusrun glxgears works with the newer version. I downgraded back to the version from 02252013 and it started working again. Thanks so much for any ideas. My OS is CentOS 6.4. I will try to test it on fedora 18/19alpha late tonight.

ArchangeGabriel commented 11 years ago

Seems that 3057e142740027e661c47da556c71f3ef71f5b6a causes some more troubles, in addition to those from cdec51b66c918f3c1478ee65e89cea571e9f5103...

amonakov commented 11 years ago

Saturday, 4/20

Please try latest git (updates Sunday/Monday).

gsgatlin commented 11 years ago

I couldn't see any difference. I guess I was using the latest version already. I download the zip file from the download page last night but just now I tried

git clone https://github.com/amonakov/primus.git

and after renaming primus to primus-master and deleting .git within the newest primus-master the diff command shows no differences.

Seems to crash with the exact same error. Let me know if there is a different older version you would want me to try? Or any other commands I should run? Thanks a lot.

amonakov commented 11 years ago

@ArchangeGabriel probably got it right, this must be a fallout from fixes for #27; you'll probably find that b4abd5d3ef is the last working revision.

gsgatlin commented 11 years ago

When I build with a version made after:

git reset --hard b4abd5d

minecraft starts up ok with that version. So I will name that rpm primus-0.2.04122013-1. Let me know if there is a newer version you would want me to test out when its ready? I will probably push this one out in my repo soonish if my other games work ok. (Mainly play minecraft so its the first thing I noticed...)

Thanks a lot.

amonakov commented 11 years ago

Please update and test again, should be fixed now.

gsgatlin commented 11 years ago

Ok. Its working now. I will call this version primus-0.2.04222013-1. Thanks so much for your help with this issue.