Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2017-11-20 07:38:28



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
SpaceNavigator on Fedora 25 (x86_64) 
Author Message

Joined: 2016-06-19 21:33:37
Posts: 88
Location: San Francisco bay area, CA, USA
Reply with quote
I have recently rebuilt my Fedora rig, including a fresh install of the Workstation 25 distro in 64-bit.

I have downloaded and installed the pre-built binaries of Cool VL Viewer which results in the following configuration:
Code:
Cool VL Viewer v1.26.20.4, 64 bits, Jan 14 2017 10:32:26
Release Notes

CPU: AMD A4-7300 APU with Radeon HD Graphics (3800 MHz)
Memory: 16073MB
OS version: Linux-x86_64 v4.9.3-200.fc25.x86_64 #1 SMP Fri Jan 13 01:01:13 UTC 2017
Memory manager: OS native
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTS 450/PCIe/SSE2
OpenGL version: 4.5.0 NVIDIA 375.26
Detected VRAM: 1024MB
J2C decoder: OpenJPEG: 1.4.0.635d
Audio driver: OpenAL v1.1 ALSOFT 1.17.2 (OpenAL Soft: OpenAL Soft)
Networking backend: libcurl/7.47.0 OpenSSL/1.0.1i zlib/1.2.8
Embedded browser: CEF3 plugin v1.5.3c-(CEF-LIN-3.2526.1371-64)

Built with: GCC v4.6.4

Compile flags used for this build:
-O3 -fno-delete-null-pointer-checks -fno-align-labels -fno-align-loops -fno-ipa-cp-clone -fsched-pressure -frename-registers -fweb -DNDEBUG -pipe -g -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -fno-stack-protector -Wall -Wno-reorder -Werror -DLL_LINUX=1 -D_REENTRANT -DXML_STATIC -DLL_ELFBIN=1 -DLL_LUA=1 -DOV_EXCLUDE_STATIC_CALLBACKS -DLL_FMODEX=1 -DLL_OPENAL=1 -DLL_SDL=1 -DLIB_NDOF=1 -DLL_X11=1

The SpaceNavigator appears to be recognized (the built-in blue LED illuminates upon launch of Cool VL Viewer) and I can select 'Enable joystick:' with 3Dconnexion SpaceNavigator appearing after the checkbox. I have selected the SpaceNavigator defaults but no matter what I try the Joystick monitor shows no change in the axes and the joystick doesn't perform navigation in-world though the buttons function.

I see the following in the log (which I have attached):
Code:
2017-01-19T01:34:39Z INFO: LLViewerJoystick::init: ndof: mDriverState=1; mNdofDev=0x62bfba0; libinit=1

implying joystick initialization.

I have downloaded and built the libndofdev project and used the resulting ndofdev_test app to prove that the joystick functions outside of the viewer.

Not sure what else I could/should try. This device has worked solidly with both pre-built and self-built 32-bit viewers prior to my machine rebuild. Any suggestions would be greatly appreciated.


Attachments:
CoolVLViewer.zip [5.85 KiB]
Downloaded 13 times
2017-01-19 01:54:32
Profile

Joined: 2009-03-17 18:42:51
Posts: 3649
Reply with quote
The Cool VL Viewer is using Firestorm's libndofdev pre-compiled library: does Firestorm 64 bits work for you with your joystick ? If not, I'd suggest you report a bug to the Firestorm team, since it's probably a bug in the pre-built library.

Since I don't have a joystick myself, I'm afraid I can't help you...


2017-01-19 08:47:45
Profile WWW

Joined: 2016-06-19 21:33:37
Posts: 88
Location: San Francisco bay area, CA, USA
Reply with quote
I have downloaded Firestore_x64, installed and tested. The SpaceNavigator works as expected in Firestorm. I have verified the same 'SpaceNavigator Defaults' are configured in both viewers. I have noticed that if I move the SpaceNavigator around too much even though it doesn't move the avatar, Cool VL viewer seems to crash upon exit. The last such crash had this stack trace:
Code:
0   com.secondlife.indra.viewer        0x113da05 LLAppViewerLinux::handleSyncCrashTrace() + 213
1   com.secondlife.indra.viewer        0x190a6ee default_unix_signal_handler(int, siginfo*, void*) + 1198
2   unknown                            0x7f5c5359e5c0 /lib64/libpthread.so.0(+0x115c0) [0x7f5c5359e5c0]
3   com.secondlife.indra.viewer        0x195ddf1 LLSD::asString() const + 49
4   com.secondlife.indra.viewer        0x189f748 LLControlVariable::llsd_compare(LLSD const&, LLSD const&) + 824
5   com.secondlife.indra.viewer        0x189fcd3 LLControlGroup::saveToFile(std::string const&, bool, bool) + 835
6   com.secondlife.indra.viewer        0x709dde LLAppViewer::cleanup() + 670
7   com.secondlife.indra.viewer        0x66198b main + 555
8   unknown                            0x7f5c526fd401 /lib64/libc.so.6(__libc_start_main+0xf1) [0x7f5c526fd401]
9   unknown                            0x67ed79 ./bin/cool_vl_viewer-bin() [0x67ed79]


2017-01-19 19:12:42
Profile

Joined: 2009-03-17 18:42:51
Posts: 3649
Reply with quote
The stack trace is useless here: it just shows the crash handling by the viewer (the crash may happen in a library). What happens if you compile the viewer on a 32 bits system and use it on you 64 bits system: does it work ?


2017-01-19 21:31:27
Profile WWW

Joined: 2016-06-19 21:33:37
Posts: 88
Location: San Francisco bay area, CA, USA
Reply with quote
I happen to have my previous rig's HD, so I pulled the last 32-bit build I made over to the new machine. SpaceNavigator works as expected in the 32-bit, self-built version of the viewer.


2017-01-20 01:24:18
Profile

Joined: 2009-03-17 18:42:51
Posts: 3649
Reply with quote
ZaneZimer wrote:
I happen to have my previous rig's HD, so I pulled the last 32-bit build I made over to the new machine. SpaceNavigator works as expected in the 32-bit, self-built version of the viewer.

So it's not a viewer bug... I'll see if I can compile my own 64 bits version of libndofdev and use it instead of Firestorm's...


2017-01-20 08:15:35
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 3649
Reply with quote
I compiled a new library for the 64 bits build. In the current sources, edit linden/install.xml and in its "<key>ndofdev</key>" section, change lines 1322 to 1328 to read:
Code:
          <key>linux64</key>
          <map>
            <key>md5sum</key>
            <string>f32e4e246251b90bf57b83e2c378b148</string>
            <key>url</key>
            <uri>http://sldev.free.fr/libraries/libndofdev-0.3-linux64-20170120.tar.bz2</uri>
          </map>


Then compile the viewer from scratch, and let me know how it fares.


2017-01-20 09:46:58
Profile WWW

Joined: 2016-06-19 21:33:37
Posts: 88
Location: San Francisco bay area, CA, USA
Reply with quote
Swapping out the ndofdev in the install.xml for your version and building from the 1.26.20.4 sources allowed the SpaceNavigator to function properly in a 64-bit build again. Weird.


2017-01-20 15:40:31
Profile

Joined: 2009-03-17 18:42:51
Posts: 3649
Reply with quote
ZaneZimer wrote:
Swapping out the ndofdev in the install.xml for your version and building from the 1.26.20.4 sources allowed the SpaceNavigator to function properly in a 64-bit build again. Weird.
Not that weird considering Firestorm's version is a different one (v0.6 against v0.3) and that libndofdev is built against SDL (at least the SDL headers), which is also different in Firestorm and in the Cool VL Viewer. I would have caught this issue sooner, if only I had a joystick...


2017-01-20 16:13:54
Profile WWW

Joined: 2016-06-19 21:33:37
Posts: 88
Location: San Francisco bay area, CA, USA
Reply with quote
Ah, well I didn't realize Firestorm was using a newer version. I made an assumption that it was the same. Not having a joystick does make testing difficult. :) I enjoy mine and miss it when it doesn't work as I have learned to nav with both hands, left for SpaceNav...right for mouse/trackball. If you are ever in need of testing for joysticks, I'll be happy to oblige since I am comfortable self-building the viewer.


2017-01-20 16:58:37
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

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