Comments (6)
[author="charles", created="Mon, 22 Sep 2014 10:41:31 +0200"]
I had a similar problem that came form an invalid specular intensity in material file (>128), glGetError not called, so a wrong error is reported after...
from ogre-next.
[author="dark_sylinc", created="Mon, 22 Sep 2014 16:28:49 +0200"]
Is GL3 also affected by the issue? (GL doesn't exist in 2.0)
Is there a quick way to repro the problem?
What are the machines showing these behavior (Hardware and driver versions + OS). This last item is very important, as I can't repro the problem but probably depends on the drivers.
from ogre-next.
[author="charles", created="Mon, 22 Sep 2014 16:37:22 +0200"]
for my problem, it is under archlinux with nvidia drivers, loading a material with specular intensity more than 128. GlError is not catch, and is detected in another GLSL program. Didn't try GL3 (I think it is not build by default under linux, is it ?)
EDIT: confirm this issue with RederSystem_GL on linux with nvidia 340.32, tried GL3Plus, but my big app doesn't work :/ and the small app I use shows only a black screen. which is weird as sampleBrowser displays things... but unrelated to this bug
On a small app the error msg is " GLHardwareVertexBuffer::lock - Error: failed to Discard the buffer. Try to recreate the buffer", triggered with "specular 0 0 0 0 129"
from ogre-next.
[author="dark_sylinc", created="Mon, 22 Sep 2014 16:51:33 +0200"]
Yes, you have to explicitly enable it in CMake.
Thanks for the info. When I get time I'll have to setup Linux in the only NVIDIA machine I have.
If you happen to have the driver version that would be also great.
from ogre-next.
[author="hhyyrylainen", created="Tue, 23 Sep 2014 11:30:02 +0200"]
(I couldn't actually verify whether this actually affects GL3+ as it failed to start due to missing symbol in RenderSystem_GL3Plus.so)
Drivers wise I was using at the time Catalyst 14.6 Beta with an amd radeon 5800-series card.
This issue happened while I was trying to make CEGUI work with Ogre 2.0. I had to use HardwareVertexBuffer and custom shaders for rendering which would spam the error every frame.
I just found out that there's an option in the cmake file to build render system gl3 plus, which I haven't tried... I'm going to build that and test how that works.
If the GL rendersystem is no longer supported shouldn't the GL3+ be enabled by default? (It might already be as my local copy is a few months behind the 2.0 branch)
from ogre-next.
[author="dark_sylinc", created="Tue, 23 Sep 2014 16:41:33 +0200"]
It repros in AMD? Awesome.
Now I think I know what you mean. I remember seeing the log being spammed once or twice, but I thought it was a feature to remind you that something was going terribly wrong.
I'll investigate into it.
"If the GL rendersystem is no longer supported shouldn't the GL3+ be enabled by default?"
In the CTP GL still is the recommended version. On the Hlms and Azdo branch, GL has been removed in favour of GL3+; but I'd admit my CMake-fu has failed me; probably even in those branches it still selects GL even though it no longer exists. I still have to do some cleanup.
from ogre-next.
Related Issues (20)
- Build error for NEON HOT 10
- EmptyProject script is broken for macOS
- Build script fails on Ubuntu 23.10 with error: ISO C++17 does not allow dynamic exception specifications HOT 3
- Investigate Vulkan commit b85e1a64bbb9d539042a08924990235aaa5e825f HOT 21
- Rendering different videos at different frame rates in multiple windows
- [Urgent security issue] FreeImage arbitrary code execution vulnerability HOT 1
- Camera rendering specified visible mask object crash HOT 1
- Pose Animation not working correctly with Skeleton Animation HOT 2
- [Question] Billboards2 HOT 9
- HLMS Unlit Datablock HLMS OgreTextureAnimationController
- The Metal rendering API is 120FPS regardless of whether vsync is set. HOT 2
- Multiple Leaks
- Multi window rendering of different texts? HOT 1
- Sample_Tutorial02_VariableFramerate not rendering correctly on VM with OpenGL 4.3 support HOT 1
- compiling on a Raspberry Pi 5 HOT 3
- Terrain with Decal not work HOT 1
- fragment shader compile errors when using transparency HOT 5
- Shadow artifacts with point light and transparency HOT 3
- Build on Ubuntu HOT 1
- Inspect Terrain's Minimap issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ogre-next.