Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
nvidia [30/01/2018 - 15:48] – ↷ Seitename wurde von spreed.me auf nvidia geändert thommie2 | nvidia [17/08/2024 - 07:06] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Quellen ====== | + | ===== Display Status prüfen |
- | https://github.com/ | + | < |
+ | thommie@odysseus3:~> xrandr | ||
+ | xrandr: Failed to get size of gamma for output default | ||
+ | Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080 | ||
+ | default connected primary 1920x1080+0+0 0mm x 0mm | ||
+ | | ||
- | We maintain a repository for Ubuntu for easy installation of Spreed WebRTC. | + | </ |
- | $ sudo apt-add-repository ppa: | ||
- | $ sudo apt-get update | ||
- | $ sudo apt-get install spreed-webrtc | ||
- | | ||
- | After installation you should modify the configuration at / | ||
- | Logs can be found in / | + | **Bildschirmeinstellungen zurücksetzen** |
- | The server listens on http:// | + | < |
+ | xrandr -s 0 | ||
+ | </code> | ||
- | ====== Spreed.ME | + | Analyse mit inxi (zypper |
+ | < | ||
+ | odysseus3:~ # inxi -Fxz | ||
+ | System: | ||
+ | | ||
+ | Machine: | ||
+ | Mobo: Dell model: 03RV2M v: A00 serial: < | ||
+ | Battery | ||
+ | CPU: Hexa core Intel Core i7-8750H (-HT-MCP-) arch: Skylake rev.10 cache: 9216 KB | ||
+ | | ||
+ | clock speeds: max: 4100 MHz 1: 2200 MHz 2: 2200 MHz 3: 2200 MHz 4: 2200 MHz 5: 2200 MHz 6: 2200 MHz | ||
+ | 7: 2200 MHz 8: 2200 MHz 9: 2200 MHz 10: 2200 MHz 11: 2200 MHz 12: 2200 MHz | ||
+ | Graphics: | ||
+ | | ||
+ | | ||
+ | tty size: 130x35 Advanced Data: N/A for root out of X | ||
+ | Audio: | ||
+ | Network: | ||
+ | IF: em1 state: down mac: < | ||
+ | | ||
+ | IF: wlan0 state: up speed: N/A duplex: N/A mac: < | ||
+ | Drives: | ||
+ | ID-1: / | ||
+ | Partition: ID-1: / size: 150G used: 23G (15%) fs: btrfs dev: / | ||
+ | ID-2: /var size: 150G used: 23G (15%) fs: btrfs dev: / | ||
+ | ID-3: /opt size: 150G used: 23G (15%) fs: btrfs dev: / | ||
+ | ID-4: /tmp size: 150G used: 23G (15%) fs: btrfs dev: / | ||
+ | ID-5: /home size: 120G used: 59G (50%) fs: xfs dev: /dev/dm-0 | ||
+ | ID-6: swap-1 size: 38.65GB used: 0.00GB (0%) fs: swap dev: / | ||
+ | Sensors: | ||
+ | Info: Processes: 351 Uptime: 0:53 Memory: 2537.2/ | ||
+ | | ||
- | # Spreed.ME ownCloud app | + | </code> |
- | - This app can only be used in conjunction with a [Spreed WebRTC server](https: | + | |
- | You will not be able to use this app without such a server, but it's **easy to set up** one – The whole process only takes about 5-10 minutes – 2 minutes if you are fast ;). | + | |
- | - The latest version of this app can be found in the ownCloud app store or at [github.com/ | + | |
- | ## Features | + | ===== Nvidia Treiber patchen ===== |
- | - Securely communicate with your friends and family using rich audio-, video- and text chat right from your ownCloud installation – in your browser | + | |
- | - Share presentations and other documents and save them to your ownCloud | + | |
- | - Share your ownCloud presentations and other documents | + | |
- | - Share your computer screen | + | |
- | - Share YouTube videos | + | |
- | - Much, much more :) | + | |
- | ## Preparations | + | Download the following NVIDIA Driver Compiler/ |
- | Before setting up this app (+ Spreed WebRTC) you need to ask yourself a few questions: | + | |
- | 1. Do you want to run ownCloud and Spreed WebRTC on the same origin (i.e. on the same domain+port combination)? | + | Go into CLI/Terminal, |
- | (e.g. access ownCloud at https:// | + | |
- | 2. Do you want to run ownCloud and Spreed WebRTC on two different origins? | + | |
- | (e.g. access ownCloud at https:// | + | |
- | **Note:** We recommend using option **1.** as it's much easier | + | Completely Exit Xorg Server: The command " |
- | ## Installation / Setup of this app | + | < |
- | First off, here's a little encouragement: | + | systemctl isolate multi-user.target |
- | This list of steps might seem a bit long, but it's really easy to follow – we promise. You only have to set up this app once :) | + | |
- | 1. Place this app in the **apps/** folder of your ownCloud installation. | + | </code> |
- | 2. Set up a Spreed WebRTC server and continue with the next step. | + | |
- | An easy-to-follow installation guideline can be found further below, see **Installation / Setup of a Spreed WebRTC server** | + | |
- | 3. You now should have a running Spreed WebRTC server. | + | |
- | 4. This app requires you to change some settings in the `server.conf` of the Spreed WebRTC server (`webrtc.conf` if you use the packaged version), namely: | + | |
- | 1. In the **[http]** section: | + | |
- | - **ONLY do this step if your basePath is not empty (see Preparations above): | + | |
- | Enable (= uncomment) **basePath** and set it to the basePath you determined above, e.g. **/ | + | |
- | (e.g. `basePath = / | + | |
- | 2. In the **[app]** section: | + | |
- | - Enable **authorizeRoomJoin** and set it to **true** | + | |
- | (`authorizeRoomJoin = true`) | + | |
- | - Enable **extra** and set it to the full absolute path of the **spreedme/ | + | |
- | (e.g. `extra = / | + | |
- | - Enable **plugin** and set it to **extra/ | + | |
- | (`plugin = extra/ | + | |
- | 3. In the **[users]** section: | + | |
- | - Enable **enabled** and set it to **true** | + | |
- | (`enabled = true`) | + | |
- | - Enable **mode** and set it to **sharedsecret** | + | |
- | (`mode = sharedsecret`) | + | |
- | - Enable **sharedsecret_secret** and set it to a random 64-character HEX string | + | |
- | **Please note:** Do **NOT** use the string given below. Generate your own random 64-character HEX string! | + | |
- | You can generate your own 64-character HEX string by running `xxd -ps -l 32 -c 32 / | + | |
- | (e.g. `sharedsecret_secret = bb04fb058e2d7fd19c5bdaa129e7883195f73a9c49414a7eXXXXXXXXXXXXXXXX`) | + | |
- | 4. Restart the Spreed WebRTC server for it to reload its configuration | + | |
- | 5. Head over to the **apps/ | + | |
- | 1. Set `SPREED_WEBRTC_ORIGIN` to the origin of your WebRTC server | + | |
- | (e.g. `const SPREED_WEBRTC_ORIGIN = ' | + | |
- | **NOTE:** If you chose option **1.** in the Preparations step above, you can set `SPREED_WEBRTC_ORIGIN` to an empty string: `const SPREED_WEBRTC_ORIGIN = ''; | + | |
- | 2. Set `SPREED_WEBRTC_BASEPATH` to the same **basePath** you already set in the `server.conf` file | + | |
- | 3. Set `SPREED_WEBRTC_SHAREDSECRET` to the same **sharedsecret_secret** you already set in the `server.conf` file | + | |
- | 6. Head over to the **apps/ | + | |
- | 1. Set `OWNCLOUD_ORIGIN` to the origin of your ownCloud server | + | |
- | (e.g. `OWNCLOUD_ORIGIN: | + | |
- | **NOTE:** If you chose option **1.** in the Preparations step above, you can set `OWNCLOUD_ORIGIN` to an empty string: `OWNCLOUD_ORIGIN: | + | |
- | 7. Enable this ownCloud app by browsing to **/ | + | |
- | 8. **That' | + | |
- | For debugging, simply append `?debug` to that URL. | + | |
- | ## Limiting access to this app | + | In CLI, go into root then provide execution permissions: |
- | - By default, all users who can log in to your ownCloud installation can also use this app (and spreed-webrtc) | + | |
- | - If you want to limit access to this app (and spreed-webrtc) only to a selected user-group, open ownCloud' | + | |
- | - Create a new group there (e.g. " | + | |
- | - Now go to ownCloud' | + | |
- | - All users not in a group specified in the step above, will neither be able to use this app nor spreed-webrtc. | + | |
- | ## Access by non-ownCloud users | + | < |
- | - If you want to use spreed-webrtc with users who do not have an ownCloud account, you can enable the " | + | chmod 755 NVIDIA-Linux-x86_64-340.102.run |
- | - This allows them to use spreed-webrtc with a " | + | |
- | **[1]**: Admins are either ownCloud admins or Spreed.ME group admins. Create a group " | + | |
- | ## Upgrading this app | + | </code> |
- | 1. Save the `config/config.php` and the `extra/ | + | |
- | 2. Download a newer version of this app | + | |
- | 3. Replace the old folder with the new folder you just downloaded | + | |
- | 4. Copy back the two files (step 1) to the appropriate folders | + | |
- | 5. Consult CHANGELOG.md for changes you might need to follow | + | |
- | ## Debugging this app | + | Extract the Nvidia Driver Compiler/Installer Contents & Source Files: "./NVIDIA-Linux-x86_64-340.102.run –extract-only" |
- | - If you're having trouble getting this app and Spreed WebRTC server to run, simply open **/index.php/apps/ | + | |
- | It might contain information which can help to debug the issue. | + | |
- | ## Installation / Setup of a Spreed WebRTC server | + | Copy [cp] Patch File " |
- | 1. Head over to [github.com/ | + | |
- | For a packaged version (preferred) see [github.com/ | + | |
- | | + | |
- | You certainly want to adjust your [nginx](https:// | + | |
- | See `./ | + | |
- | 2. **Don' | + | |
+ | Go into [cd] " | ||
+ | |||
+ | Apply Patch in that directory: | ||
+ | |||
+ | < | ||
+ | patch -p0 < | ||
+ | |||
+ | </ | ||
+ | |||
+ | Proceed with NVIDIA Driver Compilation & Installation by running " | ||
+ | |||
+ | Note: You may wish to test out the patch first by executing a Dry-Run with: | ||
+ | |||
+ | < | ||
+ | patch –dry-run -p0 < | ||
+ | |||
+ | </ | ||
+ | |||
+ | ====== Nvidia & Bumblebee ====== | ||
+ | |||
+ | Prüfen, welche Karten eingebaut sind (mit zypper in lshw) | ||
+ | |||
+ | < | ||
+ | odysseus3:~ # lshw -c video | ||
+ | *-display UNCLAIMED | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | bus info: pci@0000: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | *-display UNCLAIMED | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | bus info: pci@0000: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | </ |