Mythruna

General Category => Tech Support => Topic started by: Freejack on June 04, 2012, 08:54:57 AM



Title: Nvidia with new version on linux.....
Post by: Freejack on June 04, 2012, 08:54:57 AM
Hey haven't been around for a bit. I loaded the latest and I only get 1 fps. Using Ubuntu 12.04 and nvidia's latest drivers for linux. Gonna check a few other things but everything else java based seems to run ok. Anyone know if I am missing something?


Title: Re: Nvidia with new version on linux.....
Post by: pspeed on June 04, 2012, 08:59:48 AM
Hey haven't been around for a bit. I loaded the latest and I only get 1 fps. Using Ubuntu 12.04 and nvidia's latest drivers for linux. Gonna check a few other things but everything else java based seems to run ok. Anyone know if I am missing something?

Did it run better before with an older version of Mythruna?  Does that older version still run better?


Title: Re: Nvidia with new version on linux.....
Post by: Freejack on June 04, 2012, 09:16:30 AM
Found part of the issue, it does not have sun java it is running icetea as default java. Installing sun 7 java and will let you know the results. No java not issue got java 7 running and still 1 fps.


Title: Re: Nvidia with new version on linux.....
Post by: Freejack on June 04, 2012, 10:02:31 AM
Getting 1-2 Fps local and server and no matter what the clip is set for. All 3-D games seem to run fine other than Mythruna.


Title: Re: Nvidia with new version on linux.....
Post by: pspeed on June 04, 2012, 10:40:11 AM
Getting 1-2 Fps local and server and no matter what the clip is set for. All 3-D games seem to run fine other than Mythruna.

Did it run better before with an older version of Mythruna?  Does that older version still run better?

Also, can you post your client.log so that I can see what Mythruna thinks your video settings, etc. are?


Title: Re: Nvidia with new version on linux.....
Post by: Freejack on June 04, 2012, 02:07:07 PM
Here is part of the log:

2012-06-04 11:51:30,238 INFO  [mythruna.client.MainStart] Build version:20120508
2012-06-04 11:51:33,398 WARN  [com.jme3.asset.AssetConfig] Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
2012-06-04 11:51:33,684 INFO  [mythruna.client.MainStart] Application info:
Memory usage:
Working memory: 32% (16726632/51511296)  VM Max: 3% (16726632/477233152)

Rendering caps:
    FrameBuffer
    FrameBufferMRT
    FrameBufferMultisample
    OpenGL20
    OpenGL21
    ARBprogram
    GLSL100
    GLSL110
    GLSL120
    VertexTextureFetch
    FloatTexture
    FloatColorBuffer
    NonPowerOfTwoTextures
    VertexBufferArray

Statistics:
  Vertices = 0
  Triangles = 0
  Uniforms = 0
  Objects = 0
  Shaders (S) = 0
  Shaders (F) = 0
  Shaders (M) = 0
  Textures (S) = 0
  Textures (F) = 0
  Textures (M) = 0
  FrameBuffers (S) = 0
  FrameBuffers (F) = 0
  FrameBuffers (M) = 0
Application settings:
UseInput = true
AudioRenderer = LWJGL
Height = 1200
Renderer = LWJGL-OpenGL2
BitsPerPixel = 24
Fullscreen = true
StencilBits = 0
DepthBits = 24
VSync = false
Frequency = 50
Width = 1920
Samples = 0
DisableJoysticks = true
FrameRate = -1

Display adapter information:
Adapter:null
Driver Version:null
Vendor:NVIDIA Corporation
Version:2.1.2 NVIDIA 295.49
Renderer:GeForce Go 7900 GS/PCIe/SSE2
GLSL Ver:1.20 NVIDIA via Cg compiler

2012-06-04 11:51:39,944 WARN  [de.lessvoid.nifty.screen.Screen] Possible conflicting id [spacer] detected. Consider making all Ids unique or use #id in control-definitions.
2012-06-04 11:51:59,368 WARN  [mythruna.script.ScriptManager] Script file or directory does not exist:mods/scripts
2012-06-04 11:52:02,638 WARN  [com.jme3.input.InputManager] Attempted to add mapping "WheelDown" twice to trigger.
2012-06-04 11:52:03,157 WARN  [mythruna.script.ScriptManager] Script file or directory does not exist:mods/ui-init
2012-06-04 11:53:34,006 ERROR [com.jme3.util.BufferUtils] {0}
java.lang.NoSuchMethodException: java.nio.DirectFloatBufferU.viewedBuffer()
   at java.lang.Class.getMethod(Class.java:1622)
   at com.jme3.util.BufferUtils.destroyDirectBuffer(BufferUtils.java:1174)
   at mythruna.geom.LeafMesh.deleteBuffers(LeafMesh.java:55)
   at mythruna.client.view.LeafReference.deleteBuffers(LeafReference.java:171)
   at mythruna.client.view.LeafReference.applyUpdates(LeafReference.java:226)
   at mythruna.client.view.GeometryBuilder.applyUpdates(GeometryBuilder.java:100)
   at mythruna.client.view.LocalArea.updateGeometry(LocalArea.java:257)
   at mythruna.client.GameAppState.update(GameAppState.java:470)
   at com.jme3.app.state.AppStateManager.update(AppStateManager.java:255)
   at com.jme3.app.SimpleApplication.update(SimpleApplication.java:241)
   at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
   at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)
   at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
   at java.lang.Thread.run(Thread.java:722)
2012-06-04 11:53:34,023 ERROR [com.jme3.util.BufferUtils] {0}
java.lang.NoSuchMethodException: java.nio.DirectFloatBufferU.viewedBuffer()
   at java.lang.Class.getMethod(Class.java:1622)
   at com.jme3.util.BufferUtils.destroyDirectBuffer(BufferUtils.java:1174)
   at mythruna.geom.LeafMesh.deleteBuffers(LeafMesh.java:55)
   at mythruna.client.view.LeafReference.deleteBuffers(LeafReference.java:171)
   at mythruna.client.view.LeafReference.applyUpdates(LeafReference.java:226)
   at mythruna.client.view.GeometryBuilder.applyUpdates(GeometryBuilder.java:100)
   at mythruna.client.view.LocalArea.updateGeometry(LocalArea.java:257)
   at mythruna.client.GameAppState.update(GameAppState.java:470)
   at com.jme3.app.state.AppStateManager.update(AppStateManager.java:255)
   at com.jme3.app.SimpleApplication.update(SimpleApplication.java:241)
   at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
   at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)
   at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
   at java.lang.Thread.run(Thread.java:722)


Title: Re: Nvidia with new version on linux.....
Post by: pspeed on June 04, 2012, 05:28:10 PM
Quote
java.lang.NoSuchMethodException: java.nio.DirectFloatBufferU.viewedBuffer()

Which Java version were you running for that log?


Title: Re: Nvidia with new version on linux.....
Post by: Moonkey on June 05, 2012, 04:32:58 AM
AHA!! His GPU is Geforce Go 7900? Mine is 7950. Type /flora low. (while it loads) And tadaaa. Also, Press F9 for lights to work if high detail doesn't work. ;D good luck. (Considering our graphics cards are so close I just want to make sure this works since I have 1-2 FPS with wavy grass)


Title: Re: Nvidia with new version on linux.....
Post by: pspeed on June 05, 2012, 07:52:03 AM
I think when you say F9 that you really mean F8 to lower the shader quality.


Title: Re: Nvidia with new version on linux.....
Post by: Freejack on June 05, 2012, 03:35:21 PM
Will give this a try this evening.


Title: Re: Nvidia with new version on linux.....
Post by: Freejack on June 06, 2012, 10:27:00 AM
/flora low gave it 19-25 fps. Is there a way to add this to options so it is set in there?


Title: Re: Nvidia with new version on linux.....
Post by: pspeed on June 06, 2012, 10:53:00 AM
/flora low gave it 19-25 fps. Is there a way to add this to options so it is set in there?

No... because it's a bit of a hack.  a) it makes no sense to me that it makes it faster, b) it makes every bit of grass super ugly.

I'd prefer to find a real fix.


Title: Re: Nvidia with new version on linux.....
Post by: pspeed on June 06, 2012, 10:53:32 AM
Did /trees low show a similar improvement or not really?


Title: Re: Nvidia with new version on linux.....
Post by: Thanos on June 06, 2012, 06:25:25 PM
WoW i wasn't aware of these commands! /trees low really made my day :D It was way too confusing to mess with the normal trees. When i try to remove a block of leaves while at normal trees its like the other leaves are messing around and change their position. It was like i was getting trolled by the tree :P Now im using /trees low when im building and when im finished i switch it back to /trees normal :D I see no difference with /flora low though except the grass that looks like stone slab lol :P

edit: I tried /flora low, /trees low, F8, F9 all together and omg i got 131 FPS with my crappy nvidia gpu how awesome is that :P Everything looks kinda crap but the performance is amazing :D


Title: Re: Nvidia with new version on linux.....
Post by: Moonkey on June 08, 2012, 03:31:14 AM
/flora low gave it 19-25 fps. Is there a way to add this to options so it is set in there?

I used a program called GameGain. I get 50-40 Fps, but if your laptop/comp is prone to overheat, get I8kfangui. It tells you your Cpu temp/Gpu temp in celcius. Using GameGain helps ALOT on low-end laptops/computers. Basically it... I forgot the word... But it helped me. I also use Bandicam to limit my FPS While playing GPU intense games so it doesn't over-heat. Like Burnout Paradise. I have to limit it to 45-60 FPS or it will sit at 100-120 FPS and Melt away my laptop :)


Title: Re: Nvidia with new version on linux.....
Post by: Freejack on August 07, 2012, 11:19:01 AM
Well I now have a new laptop, running the same OS/HD (linux is great) It has a AMD/ATI HD Vision video card Radeon HD 4200. ATI has been stepping up it's drivers lately. I have to do the same on this new card as I did the older Nvidia. Not sure what the deal is.


Title: Re: Nvidia with new version on linux.....
Post by: pspeed on August 07, 2012, 11:33:58 AM
Well I now have a new laptop, running the same OS/HD (linux is great) It has a AMD/ATI HD Vision video card Radeon HD 4200. ATI has been stepping up it's drivers lately. I have to do the same on this new card as I did the older Nvidia. Not sure what the deal is.

Not sure either.

By "same" do you mean run /flora low and /trees low?


Title: Re: Nvidia with new version on linux.....
Post by: Freejack on August 08, 2012, 06:26:09 PM
Yes the same exact situation and this is a AMD Phenom II triple core cpu along with the ATI Radeon HD 4200.


Title: Re: Nvidia with new version on linux.....
Post by: pspeed on August 08, 2012, 06:32:24 PM
Yes the same exact situation and this is a AMD Phenom II triple core cpu along with the ATI Radeon HD 4200.

So, if it's the case that the game runs much faster with /flora low then can you look at this post:
http://mythruna.com/forum/index.php?topic=780.msg4533#msg4533

...and run through those steps with the /grass command?  I'm trying to figure out where the slowdown is because /flora low looks baaaaad.


Title: Re: Nvidia with new version on linux.....
Post by: ahmadsal on August 08, 2012, 08:36:00 PM
I'm guessing Mythruna only uses a single core?


Title: Re: Nvidia with new version on linux.....
Post by: pspeed on August 08, 2012, 08:42:31 PM
I'm guessing Mythruna only uses a single core?

It will use all of them at times.


Title: Re: Nvidia with new version on linux.....
Post by: Moonkey on August 09, 2012, 09:14:44 AM
My new laptop has 8 cores. All ~1.60Ghz. I can run Mythruna at 100-40 Fps ^^.


Title: Re: Nvidia with new version on linux.....
Post by: pspeed on August 09, 2012, 10:18:29 AM
My new laptop has 8 cores. All ~1.60Ghz. I can run Mythruna at 100-40 Fps ^^.

2 cores and above FPS is mostly a function of graphics card.  Paging and other things work faster with multiple cores at their disposal.