Hello, I’m new to Linux. I think I uninstalled the Intel driver, so I can’t use my laptop screen and an external monitor. I have to use nvidia-prime-ui, lets me choose NVIDIA or Intel, but I can’t use both. My NVIDIA GPU is running, as shown by nvidia-smi.
❯ nvidia-smi
Mon Nov 11 22:39:04 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.127.05 Driver Version: 550.127.05 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| 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 GTX 1060 Off | 00000000:01:00.0 Off | N/A |
| N/A 49C P8 3W / 88W | 7MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 2552 G /usr/libexec/Xorg 4MiB |
+-----------------------------------------------------------------------------------------+
Using xrandr
outputs me this
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096
None-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1920x1080 60.00*+
I have an Acer Predator Helios 300 ph315-51 laptop if that helps
lsmod | grep i915
doens’t show anything while lsmod | grep nvidia
Shows
❯ lsmod | grep nvidia
nvidia_uvm 6811648 0
nvidia_drm 135168 2
nvidia_modeset 1605632 3 nvidia_drm
nvidia 60641280 28 nvidia_uvm,nvidia_modeset
drm_ttm_helper 16384 1 nvidia_drm
video 81920 2 acer_wmi,nvidia_modeset
and last thing to add up is my inxi -Fzx
$ inxi -Fzx
System:
Kernel: 6.11.7-300.fc41.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.43.1-2.fc41
Desktop: KDE Plasma v: 6.2.3 Distro: Fedora Linux 41 (Workstation Edition)
Machine:
Type: Laptop System: Acer product: Predator PH315-51 v: V1.26
serial: <superuser required>
Mobo: CFL model: Sienta_CFS v: V1.26 serial: <superuser required>
UEFI: Insyde v: 1.26 date: 03/27/2019
Battery:
ID-1: BAT1 charge: 32.0 Wh (100.0%) condition: 32.0/48.9 Wh (65.4%)
volts: 16.3 min: 15.2 model: LG PABAS0241231 status: full
ID-2: hidpp_battery_0 charge: 100% condition: N/A volts: 4.2 min: N/A
model: Logitech G903 LIGHTSPEED Wireless Gaming Mouse w/ HERO status: full
CPU:
Info: 6-core model: Intel Core i7-8750H bits: 64 type: MT MCP
arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 9 MiB
Speed (MHz): avg: 3900 min/max: 800/4100 cores: 1: 3900 2: 3900 3: 3900
4: 3900 5: 3900 6: 3900 7: 3900 8: 3900 9: 3900 10: 3900 11: 3900 12: 3900
bogomips: 52799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630]
vendor: Acer Incorporated ALI driver: N/A arch: Gen-9.5 bus-ID: 00:02.0
Device-2: NVIDIA GP106M [GeForce GTX 1060 Mobile]
vendor: Acer Incorporated ALI driver: nvidia v: 550.127.05 arch: Pascal
bus-ID: 01:00.0
Device-3: Sunplus Innovation 2K Camera driver: snd-usb-audio,uvcvideo
type: USB bus-ID: 1-2.3:4
Device-4: Quanta HD Webcam driver: uvcvideo type: USB bus-ID: 1-5:11
Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4 driver: X:
loaded: modesetting,nvidia dri: swrast gpu: nvidia
resolution: 1920x1080~60Hz
API: EGL v: 1.5 drivers: kms_swrast,nvidia,swrast platforms:
active: gbm,x11,surfaceless,device inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 24.2.6 glx-v: 1.4
direct-render: yes renderer: llvmpipe (LLVM 19.1.0 256 bits)
API: Vulkan v: 1.3.296 drivers: N/A surfaces: xcb,xlib devices: 2
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Acer Incorporated ALI
driver: N/A bus-ID: 00:1f.3
Device-2: NVIDIA GP106 High Definition Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel bus-ID: 01:00.1
Device-3: Sunplus Innovation 2K Camera driver: snd-usb-audio,uvcvideo
type: USB bus-ID: 1-2.3:4
API: ALSA v: k6.11.7-300.fc41.x86_64 status: kernel-api
Server-1: JACK v: 1.9.22 status: off
Server-2: PipeWire v: 1.2.6 status: active
Network:
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000
bus-ID: 07:00.1
IF: enp7s0f1 state: down mac: <filter>
IF-ID-1: ham0 state: unknown speed: 10000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
v: 0.8 type: USB bus-ID: 1-14:8
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.1
lmp-v: 10
Drives:
Local Storage: total: 1.14 TiB used: 479.86 GiB (41.0%)
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKKW256G8 size: 238.47 GiB
temp: 36.9 C
ID-2: /dev/sda vendor: Seagate model: ST1000LM048-2E7172 size: 931.51 GiB
Partition:
ID-1: / size: 236.87 GiB used: 146.62 GiB (61.9%) fs: btrfs dev: /dev/dm-0
mapped: luks-914901be-e1e4-4602-ae01-21c4d7312a64
ID-2: /boot size: 973.4 MiB used: 463.2 MiB (47.6%) fs: ext4
dev: /dev/nvme0n1p2
ID-3: /boot/efi size: 598.8 MiB used: 24.4 MiB (4.1%) fs: vfat
dev: /dev/nvme0n1p1
ID-4: /home size: 236.87 GiB used: 146.62 GiB (61.9%) fs: btrfs
dev: /dev/dm-0 mapped: luks-914901be-e1e4-4602-ae01-21c4d7312a64
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
System Temperatures: cpu: 72.0 C pch: 61.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 15.33 GiB used: 7.06 GiB (46.0%)
Processes: 404 Uptime: 8m Init: systemd target: graphical (5)
Packages: 37 note: see --rpm Compilers: clang: 19.1.0 gcc: 14.2.1
Shell: Bash v: 5.2.32 inxi: 3.3.36
Thank you in advance!