nvidia

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
nvidia [30/01/2018 - 15:48] – ↷ Seitename wurde von spreed.me auf nvidia geändert thommie2nvidia [27/09/2021 - 15:33] thommie4
Zeile 1: Zeile 1:
-====== Quellen ======+===== Display Status prüfen =====
  
-https://github.com/strukturag/spreed-webrtc/wiki/Ubuntu-Repository+<code> 
 +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 
 +   1920x1080     77.00*
  
-We maintain a repository for Ubuntu for easy installation of Spreed WebRTC.+</code>
  
-  $ sudo apt-add-repository ppa:strukturag/spreed-webrtc 
-  $ sudo apt-get update 
-  $ sudo apt-get install spreed-webrtc 
-   
-After installation you should modify the configuration at /etc/spreed/webrtc.conf to your needs. At the very last you should generate your own secrets in the [app] section. 
  
-Logs can be found in /var/log/spreed/webrtc/server.log+**Bildschirmeinstellungen zurücksetzen**
  
-The server listens on http://127.0.0.1:8080per default.+<code> 
 +xrandr -s 0 
 +</code>
  
-====== Spreed.ME in Owncloud ======+Analyse mit inxi (zypper in inxi)
  
 +<code>
 +odysseus3:~ # inxi -Fxz
 +System:    Host: odysseus3 Kernel: 4.12.14-lp151.27-default x86_64 bits: 64 gcc: 7.4.0 Console: tty 0
 +           Distro: openSUSE Leap 15.1
 +Machine:   Device: laptop System: Dell product: Precision 7530 serial: <filter>
 +           Mobo: Dell model: 03RV2M v: A00 serial: <filter> UEFI: Dell v: 1.6.0 date: 12/25/2018
 +Battery    BAT0: charge: 60.4 Wh 100.0% condition: 60.4/64.0 Wh (94%) model: BYD DELL GHXKY8B status: Full
 +CPU:       Hexa core Intel Core i7-8750H (-HT-MCP-) arch: Skylake rev.10 cache: 9216 KB
 +           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 26496
 +           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:  Card-1: Intel Device 3e9b bus-ID: 00:02.0
 +           Card-2: NVIDIA Device 1cba bus-ID: 01:00.0
 +           Display Server: X.org 1.20.3 drivers: fbdev (unloaded: modesetting,vesa)
 +           tty size: 130x35 Advanced Data: N/A for root out of X
 +Audio:     Card Intel Device a348 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.12.14-lp151.27-default
 +Network:   Card-1: Intel Ethernet Connection (7) I219-LM driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
 +           IF: em1 state: down mac: <filter>
 +           Card-2: Intel Device 2526 driver: iwlwifi bus-ID: 6f:00.0
 +           IF: wlan0 state: up speed: N/A duplex: N/A mac: <filter>
 +Drives:    HDD Total Size: 512.1GB (52.0% used)
 +           ID-1: /dev/nvme0n1 model: KXG5AZNV512G_NVMe_SED_TOSHIBA_512GB size: 512.1GB
 +Partition: ID-1: / size: 150G used: 23G (15%) fs: btrfs dev: /dev/nvme0n1p2
 +           ID-2: /var size: 150G used: 23G (15%) fs: btrfs dev: /dev/nvme0n1p2
 +           ID-3: /opt size: 150G used: 23G (15%) fs: btrfs dev: /dev/nvme0n1p2
 +           ID-4: /tmp size: 150G used: 23G (15%) fs: btrfs dev: /dev/nvme0n1p2
 +           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: /dev/nvme0n1p5
 +Sensors:   None detected - is lm-sensors installed and configured?
 +Info:      Processes: 351 Uptime: 0:53 Memory: 2537.2/31919.5MB Init: systemd runlevel: 5 Gcc sys: 7.4.0
 +           Client: Shell (bash 4.4.231) inxi: 2.3.40
  
-# Spreed.ME ownCloud app +</code>
-- This app can only be used in conjunction with a [Spreed WebRTC server](https://github.com/strukturag/spreed-webrtc).   +
-  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/strukturag/owncloud-spreedme](https://github.com/strukturag/owncloud-spreedme)+
  
-## 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/Installer file from NVIDIA website for LinuxNVIDIA-Linux-x86_64-340.102.run
-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, and SU into root(#)
-   (e.g. access ownCloud at https://myowncloudserver.com:8443 and Spreed WebRTC at https://myowncloudserver.com:8443/webrtc/) **-->** Then use **/webrtc/** as your **basePath** for the next steps. +
-2. Do you want to run ownCloud and Spreed WebRTC on two different origins?   +
-   (e.g. access ownCloud at https://myowncloudserver.com:8443 and Spreed WebRTC at https://webrtc.myowncloudserver.com:8080**-->** Then use an empty / no **basePath** for the next steps.+
  
-**Note:** We recommend using option **1.** as it's much easier to maintain. Also it seems that you can't use Screensharing in latest browsers when using option **2.**. We're working on a workaround so Screensharing also works with option **2.**, but for now option **1.** seems the way to go.+Completely Exit Xorg ServerThe command "systemctl isolate multi-user.target" usually followed by "CTL+ALT+[F1 to F6]" will do this
  
-## Installation / Setup of this app +<code> 
-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 promiseYou 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. **/webrtc/**   +
-        (e.g. `basePath = /webrtc/`) +
-   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/extra** directory in your **apps** folder of your ownCloud installation   +
-        (e.g. `extra = /absolute/path/to/owncloud/apps/spreedme/extra`) +
-      - Enable **plugin** and set it to **extra/static/owncloud.js**   +
-        (`plugin = extra/static/owncloud.js`) +
-   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 /dev/random` or `openssl rand -hex 32`   +
-        (e.g. `sharedsecret_secret = bb04fb058e2d7fd19c5bdaa129e7883195f73a9c49414a7eXXXXXXXXXXXXXXXX`) +
-   4. Restart the Spreed WebRTC server for it to reload its configuration +
-5. Head over to the **apps/spreedme/config** folder in your ownCloud installation. Copy `config.php.in` to `config.php` and adjust the constants as already done in `server.conf`: +
-   1. Set `SPREED_WEBRTC_ORIGIN` to the origin of your WebRTC server   +
-      (e.g. `const SPREED_WEBRTC_ORIGIN = 'https://webrtc.myowncloudserver.com:8443';`)   +
-      **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/spreedme/extra/static/config** folder in your ownCloud installation. Copy `OwnCloudConfig.js.in` to `OwnCloudConfig.js` and adjust the constants as already done in `server.conf` and `config.php`: +
-   1. Set `OWNCLOUD_ORIGIN` to the origin of your ownCloud server   +
-      (e.g. `OWNCLOUD_ORIGIN: 'https://myowncloudserver.com:8443'`)   +
-      **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 **/index.php/settings/apps** +
-8. **That's it.** You can now start communicating securely with your friends and family by opening **/index.php/apps/spreedme** of your ownCloud host in your browser.   +
-   For debugging, simply append `?debug` to that URL.+
  
-## Limiting access to this app +In CLIgo into root then provide execution permissions:
-- By defaultall 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's user configuration site in your browser**/index.php/settings/users** +
-- Create a new group there (e.g. "spreed.me"). For sure you can also use an existing group (like "admin"+
-- Now go to ownCloud's app configuration page **/index.php/settings/apps**, find this app and check **Enable only for specific groups**. Then add all groups which should be able to use this app. +
-- 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 +<code> 
-If you want to use spreed-webrtc with users who do not have an ownCloud account, you can enable the "Temporary Password" feature in `config/config.php` +chmod 755 NVIDIA-Linux-x86_64-340.102.run
-This allows them to use spreed-webrtc with a "Temporary Password", which admins **[1]** can generate by clicking on the key icon in the room bar of spreed-webrtc or at **/index.php/apps/spreedme/admin/tp**   +
-  **[1]**: Admins are either ownCloud admins or Spreed.ME group adminsCreate a group "Spreed.ME" and add users as a group admin for that group to allow them to generate "Temporary Passwords"+
  
-## Upgrading this app +</code>
-1. Save the `config/config.php` and the `extra/static/config/OwnCloudConfig.js` file of your current **spreedme** apps directory +
-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/spreedme/admin/debug** of your ownCloud host in your browser  +
-  It might contain information which can help to debug the issue.+
  
-## Installation / Setup of a Spreed WebRTC server +Copy [cpPatch File "nv_patch_340.102_linux_kernel_4.11" into "NVIDIA-Linux-x86_64-340.102" directory
-1. Head over to [github.com/strukturag/spreed-webrtc](https://github.com/strukturag/spreed-webrtc) and follow the instructions to install the Spreed WebRTC server  +
-   For a packaged version (preferred) see [github.com/strukturag/spreed-webrtc/wiki/Ubuntu-Repository](https://github.com/strukturag/spreed-webrtc/wiki/Ubuntu-Repository)   +
-   **Please note**: Your Spreed WebRTC server has to be _publicly_ accessible.   +
-   You certainly want to adjust your [nginx](https://github.com/strukturag/spreed-webrtc/blob/master/doc/NGINX.txt) / [Apache](https://github.com/strukturag/spreed-webrtc/blob/master/doc/APACHE.txt) configuration accordingly.   +
-   See `./doc/example-config-nginx.txt` for an example configuration on how to run ownCloud and spreed-webrtc on the same host. +
-2. **Don't forget** to set your own secrets in the **[app]** section of spreed-webrtc's config file. At the very least you should change **sessionSecret** and **encryptionSecret**.+
  
 +Go into [cd] "NVIDIA-Linux-x86_64-340.102" directory where patch file is now located
 +
 +Apply Patch in that directory:
 +
 +<code>
 +patch -p0 <nv_patch_340.102_linux_kernel_4.11
 +
 +</code>
 +
 +Proceed with NVIDIA Driver Compilation & Installation by running "./nvidia-installer". Important: Make sure the Nouveau Driver is disabled-blacklisted and **modeset set to 0 in /etc/modprobe.d **with "blacklist nouveau" & "**options nouveau modeset=0**", and the Initial RAM Disk (initrd) is created prior to compiling, installing & rebooting. Enjoy!
 +
 +Note: You may wish to test out the patch first by executing a Dry-Run with:
 +
 +<code>
 +patch –dry-run -p0 <nv_patch_340.102_linux_kernel_4.11
 +
 +</code>
 +
 +====== Nvidia & Bumblebee ======
 +
 +Prüfen, welche Karten eingebaut sind (mit zypper in lshw)
 +
 +<code>
 +odysseus3:~ # lshw -c video
 +  *-display UNCLAIMED
 +       description: VGA compatible controller
 +       product: GP107GLM [Quadro P2000 Mobile]
 +       vendor: NVIDIA Corporation
 +       physical id: 0
 +       bus info: pci@0000:01:00.0
 +       version: a1
 +       width: 64 bits
 +       clock: 33MHz
 +       capabilities: pm msi pciexpress vga_controller bus_master cap_list
 +       configuration: latency=0
 +       resources: memory:b2000000-b2ffffff memory:70000000-7fffffff memory:b0000000-b1ffffff ioport:3000(size=128) memory:b3000000-b307ffff
 +  *-display UNCLAIMED
 +       description: VGA compatible controller
 +       product: UHD Graphics 630 (Mobile)
 +       vendor: Intel Corporation
 +       physical id: 2
 +       bus info: pci@0000:00:02.0
 +       version: 00
 +       width: 64 bits
 +       clock: 33MHz
 +       capabilities: pciexpress msi pm vga_controller bus_master cap_list
 +       configuration: latency=0
 +       resources: memory:b4000000-b4ffffff memory:60000000-6fffffff ioport:4000(size=64) memory:c0000-dffff
 +
 +</code>
  • nvidia.txt
  • Zuletzt geändert: 05/03/2024 - 10:52
  • von 127.0.0.1