Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 22:33:09



Reply to topic  [ 5 posts ] 
Rendering bug with OpenGL shared context enabled 
Author Message

Joined: 2020-06-13 09:02:09
Posts: 12
Reply with quote
Henri Beauchamp wrote:
Does changing the "OpenGL worker threads" setting to 0 (i.e. disabling these threads), in the "GPU/GL features" sub-tab, change something ?

Also, please post the logs !
Hi Henry. Yes, setting the "OpenGL worker threads" to zero is a quick fix for that glitch, by lack of better options. You have guessed it, I'm also encountering this bug since I updated to version 1.30.0.21 this morning. But it's not a Radeon related bug apparently : I'm using a Geforce GTX 1060. AA is set to 4X and anisotropic in on, set through viewer's preferences panel.

Here is a screenshot of my (unreadable) UI after the glitch had occured:
Image

Logs attached hereunder, in case it may help. ;)


Attachments:
PLF_logs.zip [51.86 KiB]
Downloaded 30 times
2022-10-16 14:31:44
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
I split your post and made it a new topic, because it is different from Mr.Tach's (where the OpenGL shared contexts do not change a thing, enabled or not, and where the bug is triggered by 2x SSAA, i.e. a driver bug).

I have seen the same bug as yours happening in Windows in the past few weeks, and am now starting to see it under Linux as well with newer NVIDIA drivers...

It looks like (but I am still experimenting/stress testing) a fix consists in re-adding the GL fencing in LLImageGL::syncToMainThread(), like what LL is doing in their viewer (and that I thought was totally superfluous since it worked without it for months for me)...

If that fix proves to be successful, it will be in next release.

In the mean time, disable the GL worker threads if you are affected by that bug...


2022-10-16 18:39:14
Profile WWW

Joined: 2020-06-13 09:02:09
Posts: 12
Reply with quote
OK Henri, I should have made it into a new topic after all, cause Mr Tach was on experimental branch. Sorry, I misread. :oops:

So, it appears that always chasing the latest graphic driver even for a mildly olg GC is not always a good thing, huh? :lol:
Indeed, I also have Cool VL 1.30.0.21 running on Linux, on my secondary and older PC (Geforce GTX 660 with 470.141.03 drivers). On that one, the viewer reveals rock stable even with GL Worker Thread set to -1 (auto). Quite embarrassing. For my main setup I mean... :roll:


2022-10-17 16:41:28
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Fixed in today's releases.


2022-10-22 09:23:01
Profile WWW

Joined: 2020-06-13 09:02:09
Posts: 12
Reply with quote
Problem solved, Sir. After a few days use, I can confirm the UI is fine, even with OpenGL worker threads set to auto, on both my Windows machines. Still okay even under the 1.30.23 hotfix. 8-)


2022-10-26 18:17:12
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.