Zunächst danke fürs verschieben an der richtigen Ort! Sorry. Und danke für die Antwort! Den Artikel kannte ich eigentlich schon, zumindest von früher, aber ich habe mich bei der Installation streng an das gehalten, was Ubuntu mir von sich aus vorschlägt: "Treiberverwaltung" gestart und es stehen "nvidia 430", "nvidia 435" und "XOrg X Server ... nouveau" zur Verfügung. Da bei 435 "(empfohlen)" steht, habe ich diesen installiert. Ich wollte explizit keine Experimente versuchen (auch keine PPAs), da ich nicht mehr so gut in der Materie bin... 18.04 habe ich gewählt wegen LTS natürlich und wollte v.a. Stabilität ohne zu riskieren, dass ich irgendwann mal was reparieren muss. Den DRI_PRIME=1 Teil habe ich wahrscheinlich aus Verzweifelung probiert, da ich trotz eigentlich recht vieler Webseiten hierzu keine Lösung finden kann... :/ Aber auch ohne sieht es so aus, s.u. Nvidia_drv.so wird wohl geladen, 435 und prime ist installiert, agp/status existiert nicht, wird auch nicht geladen, wie es aussieht; Xorg.conf existiert nicht und AMD wird verwendet für direct rendering
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RAVEN (DRM 3.33.0, 5.3.0-28-generic, LLVM 9.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.2.8
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ grep nvidia_drv.so /var/log/Xorg.0.log
[ 4.901] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ dpkg -l nvidia*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Architektur Beschreibung
+++-=================-=============-=============-=======================================
un nvidia-304 <keine> <keine> (keine Beschreibung vorhanden)
un nvidia-340 <keine> <keine> (keine Beschreibung vorhanden)
un nvidia-384 <keine> <keine> (keine Beschreibung vorhanden)
un nvidia-390 <keine> <keine> (keine Beschreibung vorhanden)
un nvidia-common <keine> <keine> (keine Beschreibung vorhanden)
ii nvidia-compute-ut 435.21-0ubunt amd64 NVIDIA compute utilities
ii nvidia-dkms-435 435.21-0ubunt amd64 NVIDIA DKMS package
un nvidia-dkms-kerne <keine> <keine> (keine Beschreibung vorhanden)
ii nvidia-driver-435 435.21-0ubunt amd64 NVIDIA driver metapackage
un nvidia-driver-bin <keine> <keine> (keine Beschreibung vorhanden)
un nvidia-driver-lib <keine> <keine> (keine Beschreibung vorhanden)
un nvidia-kernel-com <keine> <keine> (keine Beschreibung vorhanden)
ii nvidia-kernel-com 435.21-0ubunt amd64 Shared files used with the kernel modul
un nvidia-kernel-sou <keine> <keine> (keine Beschreibung vorhanden)
ii nvidia-kernel-sou 435.21-0ubunt amd64 NVIDIA kernel source package
un nvidia-legacy-340 <keine> <keine> (keine Beschreibung vorhanden)
un nvidia-opencl-icd <keine> <keine> (keine Beschreibung vorhanden)
un nvidia-persistenc <keine> <keine> (keine Beschreibung vorhanden)
ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
ii nvidia-settings 390.77-0ubunt amd64 Tool for configuring the NVIDIA graphic
un nvidia-settings-b <keine> <keine> (keine Beschreibung vorhanden)
un nvidia-smi <keine> <keine> (keine Beschreibung vorhanden)
un nvidia-utils <keine> <keine> (keine Beschreibung vorhanden)
ii nvidia-utils-435 435.21-0ubunt amd64 NVIDIA driver support binaries
un nvidia-vdpau-driv <keine> <keine> (keine Beschreibung vorhanden)
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ dpkg --status nvidia-current-updates | grep Version
dpkg-query: Paket »nvidia-current-updates« ist nicht installiert und es ist keine Information verfügbar
Verwenden Sie dpkg --info (= dpkg-deb --info) zum Untersuchen von Archiven
und dpkg --contents (= dpkg-deb --contents) zum Auflisten ihres Inhalts.
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ cat /proc/driver/nvidia/agp/status
cat: /proc/driver/nvidia/agp/status: Datei oder Verzeichnis nicht gefunden
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 435.21 Sun Aug 25 08:17:57 CDT 2019
GCC version: gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ lsmod | grep agp
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Datei oder Verzeichnis nicht gefunden
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ glxinfo | grep direct
direct rendering: Yes
GL_AMD_gpu_shader_int64, GL_AMD_multi_draw_indirect,
GL_ARB_depth_clamp, GL_ARB_derivative_control, GL_ARB_direct_state_access,
GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect,
GL_ARB_indirect_parameters, GL_ARB_instanced_arrays,
GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect,
GL_AMD_multi_draw_indirect, GL_AMD_performance_monitor,
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
GL_ARB_half_float_vertex, GL_ARB_indirect_parameters,
GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ lspci -nnk | grep -A3 "\[03..\]:"
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1f91] (rev a1)
Subsystem: Hewlett-Packard Company Device [103c:86d5]
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
--
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c2)
Subsystem: Hewlett-Packard Company Device [103c:86d5]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
Ergänzung, v.a. durch ein Majaro Forum, https://forum.manjaro.org/t/ryzen-7-with-gtx1660ti-driver-problem-black-screen-before-login/107633: Ich habe einfach mal eine xorg.conf erstellt mit dem Inhalt von /usr/share/X11/xorg.conf.d/10-nvidia.conf:
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection
Leider ohne Erfolg:
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RAVEN (DRM 3.33.0, 5.3.0-28-generic, LLVM 9.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.2.8
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Und der Vollständigkeit halber noch die Kommandozeile von nvidia tools:
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ nvidia-detector
none
felix@felix-HP-Pavilion-Gaming-Laptop-15-ec0xxx:~$ nvidia-settings
ERROR: Error querying enabled displays on GPU 0 (Missing Extension).
ERROR: Error querying connected displays on GPU 0 (Missing Extension).
** Message: 20:40:08.929: PRIME: No offloading required. Abort
** Message: 20:40:08.929: PRIME: is it supported? no
ERROR: nvidia-settings could not find the registry key file. This file should
have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
prepopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.