Nvidia RTX 4070 Laptop not detect in linux, issue with external monitor

Hello @generix I have ASUS TUF Gaming F15 FX507 i7 13620H Laptop with RTX 4070 Graphic card, when I had windows 11 on my system, the external Samsung monitor works well.
The issue: I have Qube OS and Debian 12 OS too. non of them detect external monitor. I installed 535 driver in command line. still not works.

nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

nvidia-detect
No NVIDIA GPU detected.

nvidia-driver is already the newest version (535.183.01-1~deb12u1).

NVIDIA-Linux-x86_64-550.107.02.run: manually added and OS freeze when reboot

Secure boot: Disabled

uname -r
6.6.36-1.qubes.fc37.x86_64

inxi -SMCGx
System:
Host: debian-12-xfce Kernel: 6.6.36-1.qubes.fc37.x86_64 arch: x86_64
bits: 64 compiler: gcc v: 2.38-27.fc37 Desktop: N/A Distro: Debian
GNU/Linux 12 (bookworm)
Machine:
Message: No machine data: try newer kernel. Is dmidecode installed? Try -M
–dmidecode.
CPU:
Info: 5-core model: 13th Gen Intel Core i7-13620H bits: 64 type: MCP
smt: disabled arch: Raptor Lake rev: 2 cache: L1: 400 KiB L2: 6.2 MiB
L3: 120 MiB
Speed (MHz): avg: 2918 min/max: N/A cores: 1: 2918 2: 2918 3: 2918 4: 2918
5: 2918 bogomips: 29184
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
Message: No PCI device data found.
Display: x11 server: X.Org v: 1.21.1.7 driver: dri: swrast gpu: N/A
resolution: 1920x1080~46Hz
API: OpenGL v: 4.5 Mesa 22.3.6 renderer: llvmpipe (LLVM 15.0.6 256 bits)
direct-render: Yes

nvidia-bug-report.log.gz (33.3 KB)

UPDATE

I did this steps: GPU passthrough not working on 4.2-rc4 while it worked on 4.2-rc3 · Issue #8631 · QubesOS/qubes-issues · GitHub

manually install: Version: 560.31.02 BETA

sudo nvidia-detect
Detected NVIDIA GPUs:
00:06.0 VGA compatible controller [0300]: NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] [10de:2860] (rev a1)

Checking card: NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] (rev a1)
Your card is supported by the default drivers.
It is recommended to install the
nvidia-driver
package.

sudo nvidia-smi
Thu Aug 8 18:14:07 2024
±----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.31.02 Driver Version: 560.31.02 CUDA Version: 12.6 |
|-----------------------------------------±-----------------------±---------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 4070 … Off | 00000000:00:06.0 Off | N/A |
| N/A 47C P0 16W / 80W | 1MiB / 8188MiB | 0% Default |
| | | N/A |
±----------------------------------------±-----------------------±---------------------+

±----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
±----------------------------------------------------------------------------------------+

xrandr
Screen 0: minimum 64 x 64, current 1920 x 1080, maximum 32767 x 32767
DUMMY0 connected primary 1920x1080+0+0 0mm x 0mm
QB1920x1080 46.10*+
DUMMY1 disconnected
DUMMY2 disconnected
DUMMY3 disconnected
DUMMY4 disconnected
DUMMY5 disconnected
DUMMY6 disconnected
DUMMY7 disconnected
DUMMY8 disconnected
DUMMY9 disconnected
DUMMY10 disconnected
DUMMY11 disconnected
DUMMY12 disconnected
DUMMY13 disconnected
DUMMY14 disconnected
DUMMY15 disconnected

lspci -k
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Subsystem: Red Hat, Inc. Qemu virtual machine
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
Subsystem: Red Hat, Inc. Qemu virtual machine
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
Subsystem: Red Hat, Inc. Qemu virtual machine
Kernel driver in use: ata_piix
Kernel modules: ata_piix, ata_generic
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
Subsystem: Red Hat, Inc. Qemu virtual machine
Kernel modules: i2c_piix4
00:02.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)
Subsystem: XenSource, Inc. Xen Platform Device
Kernel driver in use: xen-platform-pci
00:03.0 VGA compatible controller: Device 1234:1111 (rev 02)
Subsystem: Red Hat, Inc. Device 1100
Kernel driver in use: bochs-drm
Kernel modules: bochs
00:04.0 USB controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 10)
Subsystem: Red Hat, Inc. QEMU Virtual Machine
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:06.0 VGA compatible controller: NVIDIA Corporation AD106M [GeForce RTX 4070 Max-Q / Mobile] (rev a1)
Subsystem: ASUSTeK Computer Inc. AD106M [GeForce RTX 4070 Max-Q / Mobile]
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia

nvidia-bug-report.log.gz (447.9 KB)

New Beta driver 560.35.03 installed but still not works.

nvidia-bug-report.log.gz (503.1 KB)

Try a Distro with newer packages/kernels/drivers like CachyOS. Works without problems on my laptop and external screens work fine too.

Thank you for your reply.

It solved by: https://forum.qubes-os.org/t/qubes-4-2-2-not-detecting-external-monitor-nvidia-rtx-4070/28450/2

sudo qubes-dom0-update kernel-latest

Also check the lspci info about your NVIDIA GPU:

lspci -k

Especially the “Kernel driver in use”.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.