Support Board
Date/Time: Wed, 10 Dec 2025 07:23:07 +0000
OpenGL issues in v2826 not present in v2813
View Count: 34
| [2025-12-10 01:09:23] |
| User719512 - Posts: 342 |
|
Hi Sierra Chart Engineering, I have a few custom studies on my chart that display text using DrawTextAt, and my chartbook works perfectly in v2813. With v2826, I get a ton of errors like 2025-12-09 16:21:41.297 | OpenGL error in allocate Bitmap/glTexImage2D from raw returns error: INVALID VALUE Number in queue: 0 2025-12-09 16:21:41.297 | OpenGL: cannot allocate texture * 2025-12-09 16:21:41.311 | OpenGL error in allocate Bitmap/glTexImage2D from raw returns error: INVALID VALUE Number in queue: 0 2025-12-09 16:21:41.311 | OpenGL: cannot allocate texture * 2025-12-09 16:21:41.313 | OpenGL error in BindFrameBufferObjectAndViewport returns error: INVALID VALUE Number in queue: 0 With OpenGL disabled, all text works as expected. Enable OpenGL enabled, the text does not show. What's even stranger, is that if I change the font size within my study, the text will show. Change it back to the original value, it doesn't. Save chart, exit, restart, it doesn't show. Change font size back to previously non-working size...the text shows. It's like once Sierra fails to use/create a certain font/size in DrawTextAt, that font/size combo will never work. Occasionally, one of the failing studies will work and another will not. Almost l like a race condition or some factor where after X font/size selections, OpenGL fails and will not recover. I have even set all the studies to use the same font, but different sizes - and the problem persists. My desired usage is some info messages from custom studies in Arial or Tahoma, and most all chart settings are Segoe UI...so just a few fonts. I bring this up since a long while ago Sierra used to hang with this support request: 4 Fonts and 5 Sizes hangs Sierra with sc.Graphics.DrawTextAt() Sierra no longer hangs, but this test study does demonstrate a problem that I am hoping you will investigate that I believe is related/same as my real issue with my custom studies. Running this test and debugging the "OpenGL error in allocate..." messages will hopefully lead to understanding the root cause. Building the sample study from that previous thread should be easy. Repro environment: 2025-12-09 16:41:08.194 | Software version: 2826 64-bit 2025-12-09 16:41:08.195 | OpenGL enabled (NVIDIA Corporation/NVIDIA GeForce RTX 5070 Ti/PCIe/SSE2) See attached for screenshots of the working/non-OpenGL study, the same study with OpenGL enabled and the errors. Appreciate your efforts with the recent MDI windows, title bars, etc. If this issue can be fixed, I think the next revision/evolution of Sierra will be a great release for Current Version. |
| |
| [2025-12-10 02:03:03] |
| Sierra_Chart Engineering - Posts: 21761 |
|
Give us some time to get this resolved.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
| [2025-12-10 03:51:15] |
| Sierra_Chart Engineering - Posts: 21761 |
|
Would we be able to get the chart, and the relevant portion of the custom study code that is leading to the problem.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account:
