README-linux.txt 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. NOTE: by lack of time, this file is not accuratelty maintained and rarely ever
  2. updated; as a result it got some outdated and no more relevant parts. If you do
  3. not find an answer to your problem in it, do search the Cool VL Viewer forum
  4. for one: http://sldev.free.fr/forum/
  5. The "FAQ and general help" sub-forum, especially, is a mine of information, and
  6. a handy search feature is available for the whole forum:
  7. http://sldev.free.fr/forum/search.php
  8. 1.- Cool VL Viewer - Linux README - INTRODUCTION
  9. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  10. This document contains information about the Cool VL Viewer Linux client, and
  11. is not meant to serve as an introduction to Second Life itself (for that
  12. purpose, please see: https://support.secondlife.com/ ).
  13. 1. Introduction (this chapter)
  14. 2. System Requirements
  15. 3. Installing & Running
  16. 4. Troubleshooting
  17. 4.1. Error creating window.
  18. 4.2. Failure to detect the (i)GPU (V)RAM amount.
  19. 4.3. Blank window after minimizing it.
  20. 4.4. Audio issues.
  21. 4.5. 'ALT' key for camera controls does not work.
  22. 4.6. In-world streaming movie/music playback issues.
  23. 5. Advanced Troubleshooting
  24. 5.1. Audio
  25. 5.2. OpenGL
  26. 6. Getting more help and reporting problems
  27. Appendix A: Voice issues
  28. Appendix B: Joystick issues.
  29. 2. SYSTEM REQUIREMENTS
  30. -=-=-=-=-=-=-=-=-=-=-=
  31. Minimum requirements:
  32. * Internet connection: DSL, cable, or optical fiber.
  33. * Computer processor: 64 bits x86 CPU, or 64 bits ARM CPU for custom ARM
  34. builds. A quad-core is the recommended minimum.
  35. * Computer memory: 4GB minimum (recommended: 8GB and more).
  36. * Linux operating system: a reasonably modern 64 bits Linux environment is
  37. required. To use voice, you will also need your distribution's 32 bits
  38. compatibility environment installed, or Wine (the latter is recommended
  39. since it allows to run an up to date voice client, while the 32 bits
  40. Linux voice client is outdated).
  41. * Screen Resolution: 1280x1024 pixels or more.
  42. * Video/Graphics card: NVIDIA GeForce 8800 GT or better (with proprietary
  43. drivers; NVIDIA Open Source drivers are too slow and incomplete), or an
  44. AMD Radeon R5 or better, or Intel UHD Graphics or better, both AMD and
  45. Intel GPUs with latest Mesa OpenGL drivers. A GTX 460 or better graphics
  46. card is highly recommended.
  47. For ARM custom builds, the GPU part of the SoC must have proper OpenGL
  48. v2.1 or better support under your Linux distribution.
  49. **NOTE**: Second Life viewers absolutely require you to have recent,
  50. correctly configured OpenGL 3D drivers for your hardware; the graphics
  51. drivers that came with your operating system are likely not good enough !
  52. See the TROUBLESHOOTING section if you encounter problems starting the
  53. Cool VL Viewer.
  54. 3. INSTALLING & RUNNING
  55. -=-=-=-=-=-=-=-=-=-=-=-
  56. The Cool VL Viewer Linux client entirely runs out of the directory you have
  57. installed it into.
  58. Run ./cool_vl_viewer from the installation directory to start the Cool VL
  59. Viewer, or use the menu launcher that got installed (if you so chose at
  60. installation time).
  61. You need to have the compatibility 32 bits support system libraries installed
  62. if you want to be able to use the Voice feature.
  63. You may easily check for any missing library by pointing a terminal window into
  64. the Cool VL Viewer installation directory and typing:
  65. ./cool_vl_viewer --check-libs
  66. For in-world MOVIE and MUSIC PLAYBACK, you will need gstreamer v1.0 installed
  67. on your system. This is optional (i.e. it is not required for general client
  68. functionality). If you have gstreamer installed, the selection of in-world
  69. movies you can successfully play will depend on the gstreamer plugins and
  70. CODECs you have installed; if you cannot play a certain in-world movie then
  71. you are probably missing the appropriate gstreamer plugin/CODEC on your system;
  72. you may be able to install it (see TROUBLESHOOTING).
  73. User data is stored in the hidden directory ~/.secondlife by default; you may
  74. override this location with the SECONDLIFE_USER_DIR environment variable if
  75. you wish.
  76. 4. TROUBLESHOOTING
  77. -=-=-=-=-=-=-=-=-=
  78. The client prints a lot of diagnostic information to the console it was run
  79. from. Most of this (plugins are a notable exception and only log to the error
  80. console, which is not duplicated in the log file) is also replicated in
  81. ~/.secondlife/logs/CoolVLViewer.log
  82. - this is helpful to read when troubleshooting, especially 'WARNING' and
  83. 'ERROR' lines.
  84. VOICE PROBLEMS ?
  85. See Appendix A for Voice troubleshooting information.
  86. SPACENAVIGATOR OR JOYSTICK PROBLEMS ?
  87. See Appendix B for configuration information.
  88. PROBLEM 1: the Cool VL Viewer fails to start up, with a warning on the console
  89. like:
  90. 'Error creating window.' or
  91. 'Unable to create window, be sure screen is set at 32 bits color' or
  92. 'SDL: Could not find matching GLX visual.'
  93. SOLUTION: Usually this indicates that your graphics card does not meet the
  94. minimum requirements, or that your system's OpenGL 3D graphics driver is not
  95. updated and configured correctly. If you believe that your graphics card DOES
  96. meet the minimum requirements then you likely need to install the official
  97. so-called 'non-free' NVIDIA or AMD graphics drivers; we suggest one of the
  98. following options:
  99. * Consult your Linux distribution's documentation for installing these
  100. official drivers. For example, Ubuntu provides documentation here:
  101. https://help.ubuntu.com/community/BinaryDriverHowto
  102. * If your distribution does not make it easy, then you can (and in fact,
  103. should) download the required Linux drivers straight from your graphics
  104. card manufacturer (with great benefits for both speed and stability):
  105. - NVIDIA cards: http://www.nvidia.com/Download/index.aspx
  106. - AMD cards: http://support.amd.com/en-us/download
  107. PROBLEM 2: The viewer fails to detect my (i)GPU (V)RAM amount and limits the
  108. texture memory to 128Mb.
  109. SOLUTION: Some GPUs (most often, iGPUs that do not have any VRAM but use the
  110. system RAM instead) do not allow Xorg to report the available memory amount
  111. available to them, causing a failure by viewers to detect the said amount
  112. (which then defaults to the lowest supported setting). You may bbypass the
  113. viewer detection algorithm by editing the cool_vl_viewer.conf file and
  114. uncommenting the "#export LL_VRAM_MB=512" line to read:
  115. ----------
  116. ## - If the viewer fails to properly detect the amount of VRAM on your graphics
  117. ## card, you may specify it (in megabytes) via this variable.
  118. export LL_VRAM_MB=512
  119. ----------
  120. You can of course change 512 for anything fancying you, as long as your
  121. graphics driver and GPU can handle it, and you got enough RAM to fit it.
  122. PROBLEM 3: After I minimize the Cool VL Viewer window, it is just blank when it
  123. comes back.
  124. SOLUTION: Some Linux desktop 'Visual Effects' features are incompatible with
  125. Second Life viewers. One reported solution is to use your desktop configuration
  126. program to disable such effects. For example, on Ubuntu 7.10, use the desktop
  127. toolbar menu to select System -> Preferences -> Appearance, then change
  128. 'Visual Effects' to 'None'.
  129. PROBLEM 4: Music and sound effects are silent or very stuttery.
  130. SOLUTION: This may be a conflict between sound backends.
  131. See the chapter 5 below, "Audio" section for sound backend selections.
  132. PROBLEM 5: Using the 'ALT' key to control the camera does not work or just
  133. moves the Cool VL Viewer window.
  134. SOLUTION: Some window managers eat the ALT key for their own purposes; you can
  135. configure your window manager to use a different key instead (for example, the
  136. 'Windows' key) which will allow the ALT key to function properly with mouse
  137. actions in the Cool VL Viewer and other applications.
  138. PROBLEM 6: In-world movie and/or music playback doesn't work for me.
  139. SOLUTION: You need to have a working installation of gstreamer; this is usually
  140. an optional package for most versions of Linux. If you have installed gstreamer
  141. and you can play some music/movies but not others then you need to install a
  142. wider selection of gstreamer plugins, either from your vendor or an appropriate
  143. third party.
  144. 5. ADVANCED TROUBLESHOOTING
  145. -=-=-=-=-=-=-=-=-=-=-=-=-=-
  146. * Audio - You may configure which sound backend (OpenAL or FMOD and for the
  147. latter ALSA, OSS, Pulseaudio) you wish to use or disable, by checking the
  148. corresponding options in the "Advanced -> "Media" menu (shown while logged in)
  149. and restarting the sound engine with the corresponding entry in that same menu.
  150. 6. GETTING MORE HELP AND REPORTING PROBLEMS
  151. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  152. Support for the Cool VL Viewer is provided *exclusively* through its dedicated
  153. forum (http://sldev.free.fr/forum/).
  154. For general help and support with Second Life:
  155. http://secondlife.com/community/support.php
  156. *******************************************************************************
  157. APPENDIX A: VOICE ISSUES
  158. *******************************************************************************
  159. WHAT IS IT ?
  160. -=-=-=-=-=-=
  161. Second Life viewers allow to participate in voice-chat with other residents and
  162. groups inside Second Life, with an appropriate headset/microphone.
  163. The Linux Voice client is no more supported by Vivox or Linden Lab.
  164. The Cool VL Viewer comes bundled with the "last known good" version of the
  165. Linux voice client, but there is no guarantee whatsoever that it is still
  166. working properly knowadays (in fact, as of September 2020, it is largely broken
  167. with, for example, slow or non-updating speakers list).
  168. If you wish to use SL Voice with this viewer, it is recommended that you
  169. install Wine on your system and use the provided install-wine-SLVoice.sh script
  170. which will itself care to install the up to date Windows SLVoice.exe client and
  171. setup everything for the viewer to use it. Simply execute the script from a
  172. terminal and follow its instructions. The installation needs to be performed
  173. only once per Linux user account (and can be repeated anytime, for example to
  174. update the SLVoice.exe client to a newer version). You do not need to reinstall
  175. the SLVoice.exe client when updating the viewer to a new version.
  176. REQUIREMENTS
  177. -=-=-=-=-=-=
  178. * A headset/microphone supported by your chosen version of Linux
  179. * ALSA,or Pulseaudio sound.
  180. TROUBLESHOOTING
  181. -=-=-=-=-=-=-=-
  182. PROBLEM 1: I don't see a white dot over the head of my avatar or other
  183. Voice-using avatars.
  184. SOLUTION:
  185. a. Ensure that "Enable voice chat" box is checked in the "Voice chat" tab of
  186. the "Preferences" window and that you are in a voice-enabled area (areas
  187. without voice support got a barred voice icon in the menu-bar).
  188. b. Sometimes, the voice client fails to connect after a login or TP: restarting
  189. it (by un-checking and, after a couple seconds, re-checking the "Enable
  190. voice chat" box in the "Voice chat" tab of the "Preferences" window) should
  191. solve such an issue.
  192. IMPORTANT NOTE: OUTDATED/UNVERIFIED solutions below with regard to ALSA
  193. (especially if you are using the Windows voice client via Wine, like you should
  194. be doing):
  195. PROBLEM 2: I have a white dot over my head but I never see (or hear!) anyone
  196. except myself listed in the Active Speakers dialog when I'm sure that other
  197. residents nearby are active Voice users.
  198. SOLUTION: this is an incompatibility between the Voice support and your
  199. system's audio (ALSA) driver version/configuration.
  200. a. Back-up and remove your ~/.asoundrc file, re-test.
  201. b. Check for updates to your kernel, kernel modules and ALSA-related
  202. packages using your Linux distribution's package-manager - install these,
  203. reboot and re-test.
  204. c. Update to the latest version of ALSA manually. For a guide, see the
  205. 'Update to the Latest Version of ALSA' section of this page:
  206. <https://help.ubuntu.com/community/HdaIntelSoundHowto> or the official
  207. documentation on the ALSA site: <http://www.alsa-project.org/> - reboot
  208. and re-test.
  209. PROBLEM 3: I can hear other people, but they cannot hear me.
  210. SOLUTION:
  211. a. Ensure that you have the 'Talk' button activated while you are trying to
  212. speak.
  213. b. Ensure that your microphone jack is inserted into the correct socket of your
  214. sound card, where appropriate.
  215. c. Use your system mixer-setting program or the 'alsamixer' program to ensure
  216. that microphone input is set as the active input source and is not muted.
  217. d. Verify that audio input works in other applications, i.e. Audacity
  218. PROBLEM 4: Other people just hear bursts of loud noise when I speak.
  219. SOLUTION:
  220. a. Use your system mixer-setting program or the 'alsamixer' program to ensure
  221. that microphone Gain/Boost is not set too high.
  222. *******************************************************************************
  223. APPENDIX B: JOYSTICK ISSUES
  224. *******************************************************************************
  225. WHAT IS IT ?
  226. -=-=-=-=-=-=
  227. This feature allows the use of a joystick or other supported multi-axis device
  228. for controlling your avatar and camera.
  229. REQUIREMENTS
  230. -=-=-=-=-=-=
  231. * A joystick or other generic multi-axis input device supported by your chosen
  232. version of Linux
  233. - OR -
  234. * A SpaceNavigator device (additional configuration may be required, see below)
  235. CONFIGURATION
  236. -=-=-=-=-=-=-
  237. SPACE NAVIGATOR: *Important* - do not install the Linux SpaceNavigator drivers
  238. from the disk included with the device - these are problematic. Some Linux
  239. distributions (such as Ubuntu or Gentoo) might need some system configuration
  240. to make the SpaceNavigator usable by applications such as a Second Life viewer.
  241. Please, see the https://github.com/janoc/libndofdev readme for a list of
  242. supported devices.
  243. * Ubuntu or Gentoo Linux configuration:
  244. For a quick start, you can simply paste the following line into a terminal
  245. before plugging in your SpaceNavigator - this only needs to be done once:
  246. sudo bash -c 'echo KERNEL==\"event[0-9]*\", SYSFS{idVendor}==\"046d\", SYSFS{idProduct}==\"c626\", SYMLINK+=\"input/spacenavigator\", GROUP=\"plugdev\", MODE=\"664\" >> /etc/udev/rules.d/91-spacenavigator.rules'
  247. JOYSTICKS: These should be automatically detected and configured on all modern
  248. distributions of Linux.
  249. ALL: Your joystick or SpaceNavigator should be plugged-in before you start the
  250. Cool VL Viewer, so that it may be detected. If you have multiple input devices
  251. attached, only the first detected SpaceNavigator or joystick device will be
  252. available.
  253. Once your system recognises your joystick or SpaceNavigator correctly, you can
  254. go into the Cool VL Viewer's Preferences dialog, click the 'Input & Camera' tab,
  255. and click the 'Joystick Setup' button. From here you may enable and disable
  256. joystick support and change some configuration settings such as sensitivity.
  257. SpaceNavigator users are recommended to click the 'SpaceNavigator Defaults'
  258. button.
  259. KNOWN PROBLEMS
  260. -=-=-=-=-=-=-=
  261. * If your chosen version of Linux treats your joystick/SpaceNavigator as if it
  262. were a mouse when you plug it in (i.e. it is automatically used to control your
  263. desktop cursor), then the viewer may detect this device *but* will be unable to
  264. use it properly.