Code Monkey home page Code Monkey logo

Comments (13)

Anarchid avatar Anarchid commented on September 2, 2024

A hack to obtain the log:

cd Flove.app
./Contents/MacOS/spring > ~/flove.log

I'm not sure it will actually save the log in flove.log but at least you'll probably be able to see the log output in the CLI and grep it for renderer.

I'd suspect this is it failing to use the nvidia gpu: i get the same on a mac which doesn't have a discrete card.

from flove.

RedwanFox avatar RedwanFox commented on September 2, 2024

It seems Spring used NVIDIA GPU. Also, only central structures on map are broken. Trees on the map borders and newly grown flowers are fine.

Grep results:

MacBook-Pro-Redwan:~ redwan$ grep -e "[R|r]end" flove.log
AllowDeferredMapRendering = 1
AllowDeferredModelRendering = 1
Available log sections: KeyBindings, AutohostInterface, GameServer, Net, Font, VFS, Path, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, DecalsDrawerGL4, FarTextureHandler, Shader, Piece, Model, ModelDrawer, OBJParser, WorldObjectModelRenderer, Texture, CregSerializer, ArchiveScanner, CrashHandler, Sound, LuaSocket, GroundMoveType, UnitScript
GL renderer:  NVIDIA GeForce GT 650M OpenGL Engine
[f=0000000] [Sound]   Renderer:       Software
[f=0000000] Switching to ROAM Mesh Rendering
[f=0000000] [LuaUI] Loading widget:      Deferred rendering     <gfx_deferred_rendering.lua>
[f=0000000] Removing deferred rendering widget: failed to use GLSL shader
[f=0000808] [KillRendering][1]
MacBook-Pro-Redwan:~ redwan$ grep -e "renderer" flove.log

ScreenShot:

Screenshot

from flove.

Anarchid avatar Anarchid commented on September 2, 2024

Flowers don't receive any shaders, so that's why they're fine.

Hypothesis: this is an issue specifically with the outline shader?

from flove.

RedwanFox avatar RedwanFox commented on September 2, 2024

Yup, according to log thats the problem. Most of the log file consists of failed to use GLSL shader messages.

from flove.

Anarchid avatar Anarchid commented on September 2, 2024

The real question, is it outline, or do all shaders fail to compile?

Try modifying the archive Content/share/games/spring/games/flove.sd7 by removing files similar to LuaUI/Widgets/*outline*.lua from said archive.

from flove.

RedwanFox avatar RedwanFox commented on September 2, 2024

Removed the only file gfx_outline.lua and reconstructed the archive. Game doesn't start now, saying that it can't find flove 1.1 archive.

from flove.

Anarchid avatar Anarchid commented on September 2, 2024

Possible reasons: archive no longer having sd7 suffix, or archive being solid.

from flove.

Anarchid avatar Anarchid commented on September 2, 2024

Ah, nevermind. The outline hypothesis was stupid anyway: everything would have been affected by that.

Can you post the full log?

from flove.

gajop avatar gajop commented on September 2, 2024

From the screenshot it seems that the mushroom and treeshaders are failing: https://github.com/SpringCabal/LD34/tree/master/ModelMaterials as well as the wisp one: https://github.com/SpringCabal/LD34/blob/master/LuaRules/Gadgets/wisp_animation.lua
It may be prudent to raise this with the engine if you could provide an infolog?

Raise @abma @rtri

from flove.

abma avatar abma commented on September 2, 2024

Spring engine doesn't generate any log.

no, you are looking in the wrong directories. try ~/.config/spring/

without infolog.txt its not really possible to help.

from flove.

RedwanFox avatar RedwanFox commented on September 2, 2024

Full log has arrived.
flove.log.txt

from flove.

abma avatar abma commented on September 2, 2024

tons of shader errors in the log file, i guess devs now have something to work now :-)

thanks!

from flove.

Anarchid avatar Anarchid commented on September 2, 2024

Looks like mac nvidia drivers are for some reason much more strict than both nvidia linux/windows ones as well as those for ATI!

from flove.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.