My attempt at documenting getting the dual screens to work on the ASUS UX8402VV.
There are two graphics cards on the laptop: NVIDIA® GeForce RTX™ 4060 Laptop GPU (233 AI TOPs) 8GB GDDR6 Intel® Iris Xe Graphics
Windows information on the graphics cards:
- Primary Screen - 2880x1800
- Secondary Screen - 2880x864
udo lspci -v -s 01:00.00 0000:01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] (rev a1) (prog-if 00 [VGA controller]) DeviceName: VGA Subsystem: ASUSTeK Computer Inc. Device 1723 Flags: bus master, fast devsel, latency 0, IRQ 166, IOMMU group 20 Memory at 87000000 (32-bit, non-prefetchable) [size=16M] Memory at 6000000000 (64-bit, prefetchable) [size=8G] Memory at 6200000000 (64-bit, prefetchable) [size=32M] I/O ports at 4000 [size=128] Expansion ROM at 88000000 [disabled] [size=512K] Capabilities: [60] Power Management version 3 Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [78] Express Legacy Endpoint, IntMsgNum 0 Capabilities: [b4] Vendor Specific Information: Len=14 <?> Capabilities: [100] Virtual Channel Capabilities: [258] L1 PM Substates Capabilities: [128] Power Budgeting <?> Capabilities: [420] Advanced Error Reporting Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?> Capabilities: [900] Secondary PCI Express Capabilities: [bb0] Physical Resizable BAR Capabilities: [c1c] Physical Layer 16.0 GT/s <?> Capabilities: [d00] Lane Margining at the Receiver Capabilities: [e00] Data Link Feature <?> Kernel driver in use: nouveau Kernel modules: nouveauSecondary
sudo lspci -v -s 00:02.00 0000:00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04) (prog-if 00 [VGA controller]) DeviceName: Second VGA Subsystem: ASUSTeK Computer Inc. Device 1723 Flags: bus master, fast devsel, latency 0, IRQ 165, IOMMU group 0 Memory at 624e000000 (64-bit, non-prefetchable) [size=16M] Memory at 4000000000 (64-bit, prefetchable) [size=256M] I/O ports at 5000 [size=64] Expansion ROM at 000c0000 [virtual] [disabled] [size=128K] Capabilities: [40] Vendor Specific Information: Len=0c <?> Capabilities: [70] Express Root Complex Integrated Endpoint, IntMsgNum 0 Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit- Capabilities: [d0] Power Management version 2 Capabilities: [100] Process Address Space ID (PASID) Capabilities: [200] Address Translation Service (ATS) Capabilities: [300] Page Request Interface (PRI) Capabilities: [320] Single Root I/O Virtualization (SR-IOV) Kernel driver in use: i915 Kernel modules: i915, xe
sudo lspci -k | grep -A 2 -E "(VGA|3D)" 0000:00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04) DeviceName: Second VGA Subsystem: ASUSTeK Computer Inc. Device 1723 Kernel driver in use: i915 -- 0000:01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] (rev a1) DeviceName: VGA Subsystem: ASUSTeK Computer Inc. Device 1723 Kernel driver in use: nouveau
-
Removing all current NVidia drivers (reason is that I have tried multiple things so let's start from the beginning.
-
https://linuxcapable.com/how-to-install-nvidia-drivers-on-fedora-linux/
-
From this page use the RPM Method to install the drivers.
-
Add the following commands from the .run method:
echo -e "blacklist nouveau\noptions nouveau modeset=0" | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
And then
sudo dracut --force
sudo reboot
After reboot, when you log in, right before you log in with your password, change the GNOME desktop (gear icon) from GNOME to GNOME Xorg.
Success:
nvidia-smi
Sat Oct 12 07:01:01 2024
+-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 560.35.03 Driver Version: 560.35.03 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 4060 ... Off | 00000000:01:00.0 Off | N/A | | N/A 40C P3 10W / 35W | 15MiB / 8188MiB | 8% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | 0 N/A N/A 2441 G /usr/libexec/Xorg 4MiB | +-----------------------------------------------------------------------------------------+
sudo lspci -k | grep -A 2 -E "(VGA|3D)" 0000:00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04) DeviceName: Second VGA Subsystem: ASUSTeK Computer Inc. Device 1723 Kernel driver in use: i915 -- 0000:01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] (rev a1) DeviceName: VGA Subsystem: ASUSTeK Computer Inc. Device 1723 Kernel driver in use: nvidia
inxi -Fxxxrz 130 ↵ ──(Sat,Oct12)─┘ System: Kernel: 6.10.12-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 2.41-37.fc40 clocksource: tsc Desktop: GNOME v: 46.5 tk: GTK v: 3.24.43 wm: gnome-shell tools: gsd-screensaver-proxy dm: GDM v: 46.2 Distro: Fedora Linux 40 (Workstation Edition) Machine: Type: Laptop System: ASUSTeK product: Zenbook UX8402VV_UX8402VV v: 1.0 serial: <superuser required> Mobo: ASUSTeK model: UX8402VV v: 1.0 serial: <superuser required> uuid: <superuser required> UEFI: American Megatrends LLC. v: UX8402VV.300 date: 04/27/2023 Battery: ID-1: BAT0 charge: 14.1 Wh (18.6%) condition: 75.9/76.0 Wh (99.9%) power: 25.7 W volts: 14.6 min: 15.9 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: discharging cycles: 7 Device-1: hid-0018:04F3:2F29.0002-battery model: ELAN9008:00 04F3:2F29 serial: N/A charge: N/A status: N/A Device-2: hid-0018:04F3:2F2A.0003-battery model: ELAN9009:00 04F3:2F2A serial: N/A charge: N/A status: N/A CPU: Info: 14-core (6-mt/8-st) model: 13th Gen Intel Core i9-13900H bits: 64 type: MST AMCP smt: enabled arch: Raptor Lake rev: 2 cache: L1: 1.2 MiB L2: 11.5 MiB L3: 24 MiB Speed (MHz): avg: 499 high: 1386 min/max: 400/5200:5400:4100 cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 1098 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400 15: 400 16: 1386 17: 400 18: 400 19: 400 20: 700 bogomips: 119807 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: ASUSTeK driver: i915 v: kernel arch: Gen-13 ports: active: DP-1,eDP-1 empty: DP-2,DP-3 bus-ID: 0000:00:02.0 chip-ID: 8086:a7a0 class-ID: 0300 Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] vendor: ASUSTeK driver: nvidia v: 560.35.03 arch: Lovelace ports: active: none empty: HDMI-A-1,eDP-2 bus-ID: 0000:01:00.0 chip-ID: 10de:28a0 class-ID: 0300 Device-3: Sonix USB2.0 FHD UVC WebCam driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-8:2 chip-ID: 3277:0015 class-ID: 0e02 Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 24.1.3 compositor: gnome-shell driver: X: loaded: modesetting,nvidia dri: iris gpu: i915 display-ID: :0 screens: 1 Screen-1: 0 s-res: 5760x1800 s-dpi: 96 s-size: 1524x476mm (60.00x18.74") s-diag: 1597mm (62.86") Monitor-1: DP-1 mapped: DP-1-1 pos: right model: BOE Display 0x0a8d res: 2880x864 hz: 120 dpi: 236 size: 310x90mm (12.2x3.54") diag: 322mm (12.7") modes: max: 2880x864 min: 800x600 Monitor-2: eDP-1 mapped: eDP-1-1 pos: primary,left model: Samsung 0x4190 res: 2880x1800 hz: 120 dpi: 234 size: 312x195mm (12.28x7.68") diag: 368mm (14.5") modes: 2880x1800 API: OpenGL v: 4.6.0 vendor: nvidia v: 560.35.03 glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2 API: EGL Message: EGL data requires eglinfo. Check --recommends. Audio: Device-1: Intel Raptor Lake-P/U/H cAVS vendor: ASUSTeK driver: sof-audio-pci-intel-tgl bus-ID: 0000:00:1f.3 chip-ID: 8086:51ca class-ID: 0401 Device-2: NVIDIA AD107 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 0000:01:00.1 chip-ID: 10de:22be class-ID: 0403 API: ALSA v: k6.10.12-200.fc40.x86_64 status: kernel-api Server-1: JACK v: 1.9.22 status: off Server-2: PipeWire v: 1.0.8 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin Network: Device-1: Intel Raptor Lake PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 0000:00:14.3 chip-ID: 8086:51f1 class-ID: 0280 IF: wlo1 state: up mac: <filter> Bluetooth: Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-10:3 chip-ID: 8087:0033 class-ID: e001 Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.3 lmp-v: 12 class-ID: 6c010c RAID: Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel driver: vmd v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:a77f rev: class-ID: 0104 Drives: Local Storage: total: 953.87 GiB used: 11.33 GiB (1.2%) ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL21T0HCLR-00B00 size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: GXA7801Q temp: 44.9 C scheme: GPT Partition: ID-1: / size: 499 GiB used: 10.88 GiB (2.2%) fs: btrfs dev: /dev/nvme0n1p7 ID-2: /boot size: 973.4 MiB used: 376.2 MiB (38.7%) fs: ext4 dev: /dev/nvme0n1p6 ID-3: /boot/efi size: 256 MiB used: 86.3 MiB (33.7%) fs: vfat dev: /dev/nvme0n1p1 ID-4: /home size: 499 GiB used: 10.88 GiB (2.2%) fs: btrfs dev: /dev/nvme0n1p7 Swap: ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 Sensors: System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 44 C Fan Speeds (rpm): cpu: 3200 Repos: Packages: pm: flatpak pkgs: 15 No active dnf repos in: /etc/dnf/dnf.conf Active yum repos in: /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo 1: copr:copr.fedorainfracloud.org:phracek:PyCharm ~ https://download.copr.fedorainfracloud.org/results/phracek/PyCharm/fedora-$releasever-$basearch/ Active yum repos in: /etc/yum.repos.d/fedora-cisco-openh264.repo 1: fedora-cisco-openh264 ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=$basearch No active yum repos in: /etc/yum.repos.d/fedora-updates-testing.repo Active yum repos in: /etc/yum.repos.d/fedora-updates.repo 1: updates ~ https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch Active yum repos in: /etc/yum.repos.d/fedora.repo 1: fedora ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch Active yum repos in: /etc/yum.repos.d/google-chrome-unstable.repo 1: google-chrome-unstable ~ https://dl.google.com/linux/chrome/rpm/stable/x86_64 Active yum repos in: /etc/yum.repos.d/google-chrome.repo 1: google-chrome ~ https://dl.google.com/linux/chrome/rpm/stable/x86_64 No active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates-testing.repo Active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates.repo 1: rpmfusion-free-updates ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch Active yum repos in: /etc/yum.repos.d/rpmfusion-free.repo 1: rpmfusion-free ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-$releasever&arch=$basearch Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo 1: rpmfusion-nonfree-nvidia-driver ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-$releasever&arch=$basearch Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-steam.repo 1: rpmfusion-nonfree-steam ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-steam-$releasever&arch=$basearch No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates.repo 1: rpmfusion-nonfree-updates ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree.repo 1: rpmfusion-nonfree ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-$releasever&arch=$basearch Info: Memory: total: 32 GiB note: est. available: 30.95 GiB used: 3.27 GiB (10.6%) Processes: 1112 Power: uptime: 3m states: freeze,mem,disk suspend: s2idle wakeups: 0 hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical Compilers: gcc: 14.2.1 Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.34