I cannot manage to have my second screen recognized by my laptop (Lenovo Legion 5). It has Nvidia RTX 3060 and a second card :
❯ lspci -nnk | grep "VGA\|'Kern'\|3D\|Display" -A2
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2560] (rev a1)
Subsystem: Lenovo GA106M [GeForce RTX 3060 Mobile / Max-Q] [17aa:3a81]
Kernel driver in use: nvidia
--
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c6)
Subsystem: Lenovo Cezanne [17aa:3a81]
Kernel driver in use: amdgpu
In update-alternatives, the "current" is used:
❯ sudo update-alternatives --config nvidia
Il existe 2 choix pour l'alternative nvidia (qui fournit /usr/lib/nvidia/nvidia).
Sélection Chemin Priorité État
0 /usr/lib/nvidia/tesla-510 510 mode automatique
- 1 /usr/lib/nvidia/current 470 mode manuel
2 /usr/lib/nvidia/tesla-510 510 mode manuel
Hashcat detect correctly CUDA:
❯ hashcat -I
hashcat (v6.2.5) starting in backend information mode
CUDA Info:
CUDA.Version.: 11.4
Backend Device ID #1 (Alias: #2)
Name...........: NVIDIA GeForce RTX 3060 Laptop GPU
Processor(s)...: 30
Clock..........: 1425
Memory.Total...: 5946 MB
Memory.Free....: 5838 MB
PCI.Addr.BDFe..: 0000:01:00.0
OpenCL Info:
OpenCL Platform ID #1
Vendor..: NVIDIA Corporation
Name....: NVIDIA CUDA
Version.: OpenCL 3.0 CUDA 11.4.231
Backend Device ID #2 (Alias: #1)
Type...........: GPU
Vendor.ID......: 32
Vendor.........: NVIDIA Corporation
Name...........: NVIDIA GeForce RTX 3060 Laptop GPU
Version........: OpenCL 3.0 CUDA
Processor(s)...: 30
Clock..........: 1425
Memory.Total...: 5946 MB (limited to 1486 MB allocatable in one block)
Memory.Free....: 5824 MB
OpenCL.Version.: OpenCL C 1.2
Driver.Version.: 470.129.06
PCI.Addr.BDF...: 01:00.0
OpenCL Platform ID #2
Vendor..: The pocl project
Name....: Portable Computing Language
Version.: OpenCL 2.0 pocl 1.8 Linux, None+Asserts, RELOC, LLVM 11.1.0, SLEEF, DISTRO, POCL_DEBUG
Backend Device ID #3
Type...........: CPU
Vendor.ID......: 1
Vendor.........: AuthenticAMD
Name...........: pthread-AMD Ryzen 5 5600H with Radeon Graphics
Version........: OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-generic
Processor(s)...: 12
Clock..........: 3300
Memory.Total...: 11857 MB (limited to 2048 MB allocatable in one block)
Memory.Free....: 5896 MB
OpenCL.Version.: OpenCL C 1.2 pocl
Driver.Version.: 1.8
I do not have any /etc/X11/xorg.conf file. If I generated one with nvidia-xconfig, I get a blinking cursor on reboot.
Switchable Graphics is enabled in BIOS.
When I connect the screen in HDMI, nothing happens ... And hotkeys Win+P or Fn+F7 does nothing.
Any idea ?