Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2020-08-10 11:49:37



Reply to topic  [ 15 posts ]  Go to page Previous  1, 2
Observations on framerate 
Author Message

Joined: 2020-07-08 23:18:37
Posts: 24
Reply with quote
Henri Beauchamp wrote:
KJ_Eno wrote:
"__GL_THREADED_OPTIMIZATIONS=auto" has an equivalent function in Mesa called "__mesa_glthread=true". The result appears to cause the frame rate to be more stable. I didn't notice any loss in frame rate, but it wasn't more than a 1 or 2 fps improvement at best.
I found no reference whatsoever about a "__mesa_glthread" environment variable for Mesa, but I found multiple references on the Web to "mesa_glthread"... But only for Wine games !... Be careful about placebo effects (which would be the case with__mesa_glthread) ! :lol:

See the Mesa environment variables chapter from its official documentation.

I'm glad you caught my mistake. I looked at the information available again, tested with and without "export mesa_glthread=true". I had to come to the conclusion that there was no difference either way. And that is how we learn sometimes! :)


2020-07-27 12:08:22
Profile

Joined: 2020-07-08 23:18:37
Posts: 24
Reply with quote
KJ_Eno wrote:
Henri Beauchamp wrote:
Please be aware that whatever the viewer in use under Linux, they all are X11 applications, not Wayland ones (and AFAIK Gnome 3+ is fond of Wayland)... Be also wary of compositors, that are known to ruin OpenGL drivers (it's best not using one at all !).

I logged into a Wayland session for Ubuntu (Gnome). It was a different experience. I may need to experiment more with it [...]

KDE's Plasma has a Wayland session option. The version of Plasma in Open Mandriva Lx 4.1 is rather recent and more representative of the current state of the technology than Ubuntu 18.04 (Gnome) was. Nvidia users have no way to confirm this, but Cool VL Viewer (and Second Life viewers in general) run under Wayland just fine. I'm using Cool VL Viewer right now, without any issues.


2020-07-31 22:33:37
Profile

Joined: 2009-03-17 18:42:51
Posts: 4310
Reply with quote
KJ_Eno wrote:
KJ_Eno wrote:
Cool VL Viewer (and Second Life viewers in general) run under Wayland just fine. I'm using Cool VL Viewer right now, without any issues.
I doubt the primary clipboard (left-click and drag on text to "copy" and middle-click to paste) would work under Wayland (it's a Xlib protocol that, AFAIK, Wayland does not emulate). I also doubt Xlib would be successfully initialized in a thread-safe state (easy to check with the Cool VL Viewer since there is a log message for it), meaning NVIDIA drivers would fail to run in multi-threaded mode, causing a 20-30% frame rate loss compared with genuine X11, supposing you would be at all able to use OpenGL under Wayland with NVIDIA drivers...


2020-07-31 23:10:13
Profile WWW

Joined: 2020-07-08 23:18:37
Posts: 24
Reply with quote
Middle-click paste only works within an application. However, CTRL-c & v work between applications. For example, I click the button "Copy this information to the clipboard" in Cool VL Viewer and CTRL-v here:

Cool VL Viewer v1.28.0.3, 64 bits, Jul 19 2020 11:25:08
RestrainedLove viewer v2.09.27.23
Release Notes

You are at 156845.5, 318114.9, 21.7 in Alexanderia located at
sim10084.agni.lindenlab.com (216.82.48.150:13000)
Second Life Server 2020-07-10T18:46:54.544832
Release Notes

CPU: AMD Ryzen 3 1300X Quad-Core Processor (3336.55 MHz)
Memory: 16026MB
OS version: Linux-x86_64 v5.5.12-desktop-1omv4001 #1 SMP Fri Mar 27 17:10:50 UTC 2020
Memory manager: jemalloc v5.2.1-20200716
Graphics card vendor: X.Org
Graphics card: Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.5.12-desktop-1omv4001, LLVM 9.0.1)
OpenGL version: 4.6 (Compatibility Profile) Mesa 20.0.7
Detected VRAM: 7596MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.01.02 (PulseAudio)
Networking backend: libcurl/7.47.0 OpenSSL/1.0.2u zlib/1.2.11
Embedded browser: CEF3 plugin v74.1.19+gb62bacf+chromium-74.0.3729.157
Packets lost: 0/12962 (0.0%)

Built with: GCC v9.3.0
Compiler-generated maths: AVX2.

Compile flags used for this build:
-O3 -fno-delete-null-pointer-checks -falign-functions=16 -falign-jumps=16 -fno-align-labels -fno-align-loops -fno-ipa-cp-clone -fsched-pressure -frename-registers -fweb -fira-hoist-pressure -DNDEBUG -march=native -std=c++11 -fPIC -pipe -g -gdwarf-2 -gstrict-dwarf -fno-var-tracking-assignments -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -fno-stack-protector -Wall -Wno-reorder -Wno-unused-local-typedefs -Wno-deprecated-declarations -Wno-unused-variable -Wno-placement-new -Wno-parentheses -DLL_LINUX=1 -D_REENTRANT -D_GLIBCXX_USE_CXX11_ABI=0 -DXML_STATIC -DLL_USE_JEMALLOC=1 -DLL_ELFBIN=1 -DLL_LUA=1 -DOV_EXCLUDE_STATIC_CALLBACKS -DLL_FMOD=1 -DLL_OPENAL=1 -DLL_SDL=1 -DLIB_NDOF=1 -DLL_X11=1

And no, I wouldn't expect Nvidia drivers to work with Wayland. I was simply saying that the current state of open source has reached a point where viewers for Second Life can work with XWayland.


2020-08-01 02:25:38
Profile

Joined: 2009-03-17 18:42:51
Posts: 4310
Reply with quote
KJ_Eno wrote:
Middle-click paste only works within an application. However, CTRL-c & v work between applications. For example, I click the button "Copy this information to the clipboard" in Cool VL Viewer and CTRL-v
This is the secondary clipboard (akin do Windows' clipboard), and it is normal that it works ! As for the "only works within an application" primary clipboard, it is probably because the Cool VL Viewer is automatically falling back to a pseudo-primary clipboard (that only works within the viewer text areas), that I precisely implemented for OSes without a genuine primary clipboard...

Having two independent clipboards under Linux (and one that works with just the mouse) is an immense advantage that I'm using dozens of times every single day (and of course, between applications, not just within each single application) !... Not having it available would be an unacceptable impairment to my workflow.

Quote:
And no, I wouldn't expect Nvidia drivers to work with Wayland. I was simply saying that the current state of open source has reached a point where viewers for Second Life can work with XWayland.
XWayland is still, far, far, far away from an even acceptable status... In any case, I won't provide any support for bugs found while running the viewer under it, for they would likely be XWayland bugs !


2020-08-01 08:14:11
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 15 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.