ajmashall
(Aaron Marshall)
August 11, 2024, 4:18am
1
I’m having difficulty getting my dedicated Nvidia GPU to work on my laptop. Under Fedora 39, everything worked with X11, but after upgrading to 40, only the Intel graphic chipset seems to run under Wayland.
I have the Nvidia 555.58.02 drivers installed. I followed the instructions on this page, and everything seems to be in order. Plasma/Wayland/Nvidia - KDE Community Wiki
System info is below. Any assistance is appreciated.
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ASUS TUF Gaming F17 FX706HM_TUF706HM
System Version: 1.0
bigjapka
(Big Japka)
August 11, 2024, 7:15am
2
Have u tried to install the packages that guys at “Asus Linux” have put together for the hybrid GPU Asus systems?
mblasko
(Mike B.)
August 11, 2024, 9:52am
3
Hi there.
Until others join in, could you provide the output from inxi -Fzxx
?
How did you install the nvidia drivers? The preferred way is to follow RPM Fusion’s how-to .
1 Like
We recommend using the rpmfusion drivers not non-fedora integrated code.
1 Like
Your OP does not tell us what additional GPU is installed, only that the mesa drivers are used.
The requested inxi -Fzxx
info would be helpful.
ajmashall
(Aaron Marshall)
August 11, 2024, 8:05pm
6
I was not aware of these. Could you provide more information? From what I’ve found elsewhere, it sounds like I should be able to get it working using just the Nvidia drivers.
I tried several things, so I don’t remember exactly, but I believe that I installed them using dnf from the RPM Fusion for Fedora 40 - Nonfree - Nvidia Driver repository.
I should also add that I’ve tried using envycontrol to set video mode exclusively to Nvidia, but it made no difference.
The output from inxi is below.
System:
Kernel: 6.10.3-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.41-37.fc40
Desktop: KDE Plasma v: 6.1.3 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Fedora Linux 40 (KDE Plasma)
Machine:
Type: Laptop System: ASUSTeK product: ASUS TUF Gaming F17 FX706HM_TUF706HM
v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: FX706HM v: 1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: FX706HM.315 date: 03/03/2023
Battery:
ID-1: BAT1 charge: 69.9 Wh (100.0%) condition: 69.9/90.2 Wh (77.5%)
volts: 16.6 min: 15.9 model: ASUS A32-K55 serial: N/A status: full
Device-1: hidpp_battery_0 model: Logitech MX Ergo Multi-Device Trackball
serial: <filter> charge: 55% (should be ignored) status: discharging
CPU:
Info: 8-core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
arch: Tiger Lake rev: 1 cache: L1: 640 KiB L2: 10 MiB L3: 24 MiB
Speed (MHz): avg: 1139 high: 3193 min/max: 800/4600 cores: 1: 940 2: 2143
3: 800 4: 800 5: 800 6: 892 7: 800 8: 1337 9: 800 10: 3193 11: 800 12: 800
13: 800 14: 1724 15: 800 16: 800 bogomips: 73728
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: ASUSTeK driver: i915
v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
bus-ID: 0000:00:02.0 chip-ID: 8086:9a60
Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK
driver: nvidia v: 555.58.02 arch: Ampere ports: active: none
empty: DP-2,DP-3 bus-ID: 0000:01:00.0 chip-ID: 10de:2520
Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 3-7:3 chip-ID: 322e:202c
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.2
compositor: kwin_wayland driver: N/A display-ID: 0
Monitor-1: eDP-1 res: 1920x1080 size: N/A
API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 1 drv: iris
device: 3 drv: swrast gbm: drv: iris surfaceless: drv: nvidia wayland:
drv: iris x11: drv: iris inactive: device-2
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.5 glx-v: 1.4
direct-render: yes renderer: Mesa Intel UHD Graphics (TGL GT1)
device-ID: 8086:9a60 display-ID: :0.0
API: Vulkan v: 1.3.283 surfaces: xcb,xlib,wayland device: 0
type: integrated-gpu driver: N/A device-ID: 8086:9a60 device: 1
type: discrete-gpu driver: N/A device-ID: 10de:2520 device: 2 type: cpu
driver: N/A device-ID: 10005:0000
Audio:
Device-1: Intel Tiger Lake-H HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus-ID: 0000:00:1f.3 chip-ID: 8086:43c8
Device-2: NVIDIA GA106 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 0000:01:00.1 chip-ID: 10de:228e
API: ALSA v: k6.10.3-200.fc40.x86_64 status: kernel-api
Server-1: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin
Network:
Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
vendor: AzureWave driver: mt7921e v: kernel bus-ID: 0000:2d:00.0
chip-ID: 14c3:7961
IF: wlp45s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel port: 3000 bus-ID: 0000:2e:00.0
chip-ID: 10ec:8168
IF: enp46s0 state: down mac: <filter>
Bluetooth:
Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 3-14:4 chip-ID: 13d3:3563
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
lmp-v: 11
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
v: 0.6 bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b
Drives:
Local Storage: total: 953.87 GiB used: 46.61 GiB (4.9%)
ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM001TD3JX013N
size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 36.9 C
Partition:
ID-1: / size: 952.28 GiB used: 46.13 GiB (4.8%) fs: btrfs
dev: /dev/nvme0n1p3
ID-2: /boot size: 973.4 MiB used: 472.4 MiB (48.5%) fs: ext4
dev: /dev/nvme0n1p2
ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
dev: /dev/nvme0n1p1
ID-4: /home size: 952.28 GiB used: 46.13 GiB (4.8%) fs: btrfs
dev: /dev/nvme0n1p3
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 743 MiB (9.1%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 40.0 C mobo: N/A
Fan Speeds (rpm): cpu: 2800
Info:
Memory: total: 16 GiB note: est. available: 15.35 GiB used: 6.76 GiB (44.0%)
Processes: 443 Power: uptime: 2d 3h 47m wakeups: 1 Init: systemd v: 255
target: graphical (5) default: graphical
Packages: pm: flatpak pkgs: 28 Compilers: gcc: 14.2.1 Shell: Bash
v: 5.2.26 running-in: konsole inxi: 3.3.34
I edited your post to use pre-formatted text markup for the inxi output which is the </>
button.
ajmashall
(Aaron Marshall)
September 1, 2024, 4:01am
8
After more research, I was finally able to solve the issue by creating a file: ~/.config/environment.d/90-nvidia.conf
I added the following content to the file:
__NV_PRIME_RENDER_OFFLOAD=1
__GLX_VENDOR_LIBRARY_NAME=nvidia
__VK_LAYER_NV_optimus=NVIDIA_only
Everything renders with the Nvidia hardware now. Not an ideal solution, as it’s difficult to switch to the integrated GPU, but I’m willing to live with that.