-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.10.2-1.0.0.3] Scan effect does not play #5
Comments
Does it play on the surface? From my experience, in close spaces the effect moves too fast to notice sometimes (I only seen the effect in long caves underground, and barely at the end (about 20 blocks at least) |
No, it's just always a freeze, even on surface. |
Pretty sure all that freezes is the rendering, I'm guessing something doesn't like that I'm swapping the depth buffer for a depth texture while the effect renders. Could you check your log for warnings or errors, just in case? What graphics card do you have? Does it also break if you're in a new world with nothing else equipped (might be an incompatibility with some other mod's rendering logic)? Is this a generally available modpack? Then I could try to reproduce it. |
Log throws tons of GL errors - Graphics card is a GT 750M (laptop card). Fresh world, same problem. It's a private modpack that I'm working on, but I can draw up a list of mods or upload it for you if you need it. |
Thanks! I hope that'll be enough to get me started, I'll grab JourneyMap and see if I can reproduce it. (Though I did throw the mod into All The Mods for a quick compat check, which should have JM, but that was 1.11... will see.) |
Hmm, doesn't appear to be JM itself, at least I can't reproduce with it alone. Probably some mod that renders between Scannable and JM that errors. If it's not too much of a hassle, could you try to boil it down to the one mod/set of mods that causes it? Good old binary search (remove first half of mods, see if it breaks, if it still does it's one in the latter half otherwise vice versa, repeat until minimal set remains). |
(Actually, please try without any other mods first, not that it's just MC lying to me about having an FBO.) |
Also, could you please test again with the latest dev build, I've thrown in some OpenGL error checking, if it's actually coming from within Scannable that would help narrowing it down. |
Using the newest version on its own (with JEI) works. Newest version with the same modpack still doesn't work, but shows the effect over the entire screen now (with freezing). I'll work down the list and try to find out what's causing incompatibilities and report back later. |
Immersive Engineering [0.10-57] is the mod causing the problem. |
Hmm, any other mods still active when switching IE in and out made a change? Because with just Scannable, JEI, IE (and with and without JourneyMap) it still works fine here :( Just to narrow down some more variables: what Forge version are you using? Since it is a shader effect, have you tried updating your drivers? |
I used JEI+Scannable+ImEng together in one instance. My forge version is a bit old, and I'm sure my video card drivers are old too. I'll update and try again when I get home later. |
Just started working with this mod on stream and ran across the same issue: [14:33:16] [Client thread/WARN] [scannable]: [OpenGL Error: 1286] Pre rendering: Invalid framebuffer operation I'm on 1.10.2, Forge: 2281, latest Nvidia Drivers, 980ti card |
Thanks! Let's see if I can reproduce with that version... |
Updated everything, no dice. Forge 2281, Nvidia drivers 382.05, etc. |
@fnuecke What info can I give you help locate where the problem is? |
@SPMoo66 I feared as much, thanks for trying tho! @Darkosto With the current version, that's kinda difficult. It appears that something somewhere tries to interact with the FBO in a way that breaks when I plug in the depth texture; which is odd. The "Pre rendering" means something before my render code runs resulted in that error. Sadly, OpenGL errors aren't very... detailed. I'm throwing some more logging in there and am looking into an alternative rendering method as a worst-case fallback (which would be slower, but at least it'd work...) |
OK, let's see if this does anything. Could you please grab the latest build from Jenkins and see if that fixes itself? Might flicker once in the first scan. If it doesn't, please try setting the config setting |
That version works! It fails the initial render still, but the fallback works. |
Yay!
As in you have to change the config or it's just the first time it renders the effect that doesn't show correctly? Would really like the automatic fallback to work, so in case people want to add it to modpacks they don't have to choose the less performant option just to make sure it works for everyone. |
It fails the initial render as in "Might flicker once in the first scan."
^that pops up in the log on the first scan attempt. |
Okidoke. Thanks for confiming :) Was asking because it should have fixed itself during the first scan already, will see if I can work that out, but if not that'll have to do. Edit: ah, just saw the edit. Hmm, if it got in there... it should have worked. Odd. |
Tried to stabilize that. If it still only starts working on the second scan, oh well. Another time. Thanks again for testing reporting and testing the fallback! |
When I use the scanner the scan effect does not play. The game freezes up until the effect would end, then displays ores like it normally would.
A video of the issue -
https://u.nya.is/uihmaa.mp4
If I can provide any other information that would help with this, ask. I realize that this alone probably doesn't help. :/
The text was updated successfully, but these errors were encountered: