Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
CEF not working in CoolVLViewer1.32.0.24 (macOS 10.15) http://sldev.free.fr/forum/viewtopic.php?f=6&t=2509 |
Page 1 of 2 |
Author: | linyifei [ 2024-05-27 23:21:17 ] | ||
Post subject: | CEF not working in CoolVLViewer1.32.0.24 (macOS 10.15) | ||
Since building and upgrading to 1.32.0.24 from 1.32.0.23, the in-viewer web-browser seems to have stopped working. The Media browser floater opens but then just sits indefinitely displaying a "Loading..." message. I only use this feature to check whether I am running the latest release of Cool VL Viewer using Help/Latest version check, but the problem prevents access to all the URLs I have tested.
|
Author: | Henri Beauchamp [ 2024-05-27 23:49:46 ] |
Post subject: | Re: In-viewer web browser not working in CoolVLViewer1.32.0. |
For macOS, v1.32.0.24 saw the adoption of CEF 118. Catten tested it and told me it was working fine for him... You may however still compile the viewer against the (super) old CEF 91 that has been in use so far, by changing the USE_OLD_CEF build option to ON, line 56 of linden/indra/cmake/00-BuildOptions.cmake Since there is nothing wrong in the log, I'm afraid I cannot help more, for macOS... Catten will have to investigate your issue. |
Author: | linyifei [ 2024-05-28 00:48:52 ] |
Post subject: | Re: In-viewer web browser not working in CoolVLViewer1.32.0. |
On further investigation, I think this is a macOS release-level issue. The browser doesn't work under Mojave or Catalina, but does under Monteray. Obviously I need to update my "fun" machine. ![]() |
Author: | Henri Beauchamp [ 2024-05-28 08:24:54 ] |
Post subject: | Re: In-viewer web browser not working in CoolVLViewer1.32.0. |
Ah... Yes, IIRC LL raised the requirement on macOS' version for their builds following the adoption of a new Xcode version, and since we reuse LL's CEF build... ![]() It looks like I will have to keep that "USE_OLD_CEF" option around for a while, so that people with Catalina (which is not that old) can still compile the viewer with a compatible CEF plugin... |
Author: | Gwyneth Llewelyn [ 2024-08-11 15:03:10 ] | ||||||||||||||||||
Post subject: | Re: CEF not working in CoolVLViewer1.32.0.24 (macOS 10.15) | ||||||||||||||||||
Ah, that should explain my own issues, too. I'm using Catalina's successor, Big Sur (11.7.9), also deprecated by Apple. 1.32.0.24 (and the yet-experimental 1.32.1.7) both crash-upon-launch, and the only thing in the logs that really stands out is, on cef_log.txt:
This seems, indeed, to be related to CEF, although I don't really understand where that error currently comes from — much less how this can be fixed. I'm assuming, since this is a C# file, that it belongs to the Google-provided Chromium code — not part of the viewer code! — right? I also wonder... is there a way to launch the Cool VL Viewer without CEF support, with parameters on the command line? I'm just asking this because there are a lot of options there for the command line, but I couldn't pinpoint the one that turns CEF completely off. You can also selectively change the debug settings using the --set argument, but, alas, in my case, I see absolutely no difference — Cool VL Viewer just launches and crashes when trying to open the CEF-enabled "splash screen". My hope was that, by supplying the avatar name & password, it would ignore the "splash screen" and log in directly to SL, but I'm afraid this is not how it works... unless, as said, there is a setting somewhere that I've completely overlooked! Note that, in over 99% of the cases, I don't need MoaP — except when debugging something which does use it! — and so I can live happily without it, at least until this specific issue is fixed or gets a workaround. In other words: sure, I'm more than fine to forfeit the in-world browser & MoaP in exchange for the ability to log in ![]() Also, for future reference, I'm enclosing some selected tidbits on my startup logs; essentially what caught my attention. Besides CEF, it seems that my ancient Mac is struggling with loading the advanced shaders — no surprises there, especially because Cool VL Viewer seems to be launching OpenGL 2.1 out of caution, even though my Nvidia card is more than eager to deal with 4.1 — but it is unusual. The rest is mostly related to MoaP, CEF, etc. Notice the very clean shutdown which finally ends with a memory segmentation fault after everything else was properly disposed with! (very nicely coded!)
|
Author: | Henri Beauchamp [ 2024-08-11 16:52:17 ] | |||||||||
Post subject: | Re: CEF not working in CoolVLViewer1.32.0.24 (macOS 10.15) | |||||||||
Also, make sure to wipe out the old settings files. At the very least, the viewer will start in OpenGL v2.1 compatibility mode, and then you will be able to switch to "Core GL profile" from the graphics settings which, after a restart, will enable OpenGL v4.1... After the restart, you will be able to switch to PBR. See this thread, where I already explained it all... Do not try and force OpenGL v4 on the viewer via macOS !!! |
Author: | Gwyneth Llewelyn [ 2024-08-12 17:24:47 ] |
Post subject: | Re: CEF not working in CoolVLViewer1.32.0.24 (macOS 10.15) |
@Henri I know, I'm well aware of your detailed explanations and I thank you for that. Regarding 1.32.1.7, I just tested it out because, well, 1.32.0.24 wasn't working; in fact, both give the same errors; I went back to 1.32.0.24, but, of course, the issue (whatever it might be) remains. At the time of writing, 1.32.0.24 is the latest version for macOS. The 1.32.2 series is still being hammered on the forge by Catten ![]() Thanks for your ongoing work & outstanding support; I know I'm stubborn and love to live dangerously with my configurations, but, alas, that doesn't mean I don't appreciate the Cool VL Viewer any less because of that! |
Author: | Henri Beauchamp [ 2024-08-12 20:54:21 ] | |||||||||
Post subject: | Re: CEF not working in CoolVLViewer1.32.0.24 (macOS 10.15) | |||||||||
On "old" macOS machines you would simply need to recover Xcode 12, for example from here, then follow the instructions given in linden/doc/macOSBuildHowto.txt to install the other prerequisites (Python and cmake), and launch the build script to build your own binary from the current sources... |
Author: | Gwyneth Llewelyn [ 2024-08-14 01:55:40 ] |
Post subject: | Re: CEF not working in CoolVLViewer1.32.0.24 (macOS 10.15) |
Heh. I will consider your suggestion regarding self-compiling my own version... it's been a long time since I did that, and the last time was for the official SL Viewer 1.17 (!) (note: after ±17 hours of compilation, it worked slower than the official build —but it had mirrors!). I've been avoiding to install Xcode on my Mac like the plague, though. *sighs* Oh well... Oh, and for the sake of completeness — aye, following your instructions (removing the settings files and letting Cool VL Viewer regenerate them from scratch) continues to work flawlessly, after I did that, things worked again, exactly as before. Fun fact: Cool VL Viewer is the only viewer that allows us to selectively turn on the Advanced Lighting System, or the PBR-enabled system, or turn both off. To the best of my knowledge, other viewers haven't this ability, or, if they do, it requires some deep digging into the debug settings. Also, no other viewer makes it so easy for Mac users to switch from the "basic" OpenGL 2.1 to whatever more recent OpenGL versions their graphic cards support. |
Author: | Henri Beauchamp [ 2024-08-14 07:16:39 ] | |||||||||
Post subject: | Re: CEF not working in CoolVLViewer1.32.0.24 (macOS 10.15) | |||||||||
![]() Compiling the Cool VL Viewer takes just a few minutes on a PC (less than 3 minutes on my main PC), and 30 minutes on an ARM64 SBC (with a RK3588 CPU). |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |