So, ( noob here) my laptop has dual graphics (GTX 1050 and UHD Graphics 630), I installed the drivers through the instructions on Howto/NVIDIA - RPM Fusion, but I get the same amount of FPS on Minecraft with my 1050 as with my UHD Grpahics 630 (sometimes even less)! On the kernel boot-up, it says that it failed to start nvidia-powerd.service. If I check systemctl status nvidia-powerd.service, it says the following :
nvidia-powerd.service - nvidia-powerd service
** Loaded: loaded (/usr/lib/systemd/system/nvidia-powerd.service; enabled; vendor preset: enabled)**
** Active: failed (Result: exit-code) since Sat 2022-06-18 21:43:18 CEST; 18min ago**
** Process: 852 ExecStart=/usr/bin/nvidia-powerd (code=exited, status=1/FAILURE)**
** Main PID: 852 (code=exited, status=1/FAILURE)**
** CPU: 7ms**
Jun 18 21:43:18 fedora systemd[1]: Starting nvidia-powerd.service - nvidia-powerd serviceā¦
Jun 18 21:43:18 fedora /usr/bin/nvidia-powerd[852]: nvidia-powerd version:1.0(build 1)
Jun 18 21:43:18 fedora /usr/bin/nvidia-powerd[852]: SBIOS support not found for NVPCF GET_SUPPORTED function
Jun 18 21:43:18 fedora /usr/bin/nvidia-powerd[852]: No matching GPU found
Jun 18 21:43:18 fedora /usr/bin/nvidia-powerd[852]: Failed to initialize RM Client
Jun 18 21:43:18 fedora systemd[1]: nvidia-powerd.service: Main process exited, code=exited, status=1/FAILURE
Jun 18 21:43:18 fedora systemd[1]: nvidia-powerd.service: Failed with result āexit-codeā.
Jun 18 21:43:18 fedora systemd[1]: Failed to start nvidia-powerd.service - nvidia-powerd service.
I am 100% sure there is a GTX 1050 in my laptop, and it is enabled in BIOS, so I donāt see why it doesnāt work.
install inxi
$ sudo dnf install inxi
run
$ inxi -zSb
paste the output using preformatted text (``
)
also run
$ lsmod | egrep "nouveau|nvidia|vesa"
$ lspci -k | grep -A 2 -i "VGA"
$ cat /proc/driver/nvidia/version
$ modinfo nvidia
$ lshw -c video
$ rpm -qa | grep nvidia
and paste the output using preformatted text (``
)
next time provide the info of your system, that way we could help better
Sorry, hereās neofetch (hope thatās what you wanted):
daniel@fedora
OS: Fedora Linux 36 (Workstation Edition) x86_64
Host: 81FK Lenovo ideapad 330-15ICH
Kernel: 5.17.14-300.fc36.x86_64
Uptime: 52 mins
Packages: 2281 (rpm), 27 (flatpak)
Shell: bash 5.1.16
Resolution: 1920x1080
DE: GNOME 42.2
WM: Mutter
WM Theme: Adwaita
Theme: adw-gtk3-dark [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i5-8300H (8) @ 2.300GHz
GPU: NVIDIA GeForce GTX 1050 Mobile
GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]
Memory: 3216MiB / 7596MiB
inxi:
$ inxi -zSb
System:
Kernel: 5.17.14-300.fc36.x86_64 arch: x86_64 bits: 64 Desktop: GNOME
v: 42.2 Distro: Fedora release 36 (Thirty Six)
Machine:
Type: Laptop System: LENOVO product: 81FK v: Lenovo ideapad 330-15ICH
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN
serial: <superuser required> UEFI: LENOVO v: 7ZCN37WW date: 11/27/2020
Battery:
ID-1: BAT0 charge: 10.0 Wh (23.8%) condition: 42.1/45.0 Wh (93.5%)
volts: 10.3 min: 11.3
CPU:
Info: quad core Intel Core i5-8300H [MT MCP] speed (MHz): avg: 899
min/max: 800/4000
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia
v: 510.68.02
Device-3: Acer EasyCamera type: USB driver: uvcvideo
Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.2 driver:
X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
v: 4.6 Mesa 22.1.1
Network:
Device-1: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
Device-3: Intel Bluetooth wireless interface type: USB driver: btusb
Drives:
Local Storage: total: 238.47 GiB used: 47.89 GiB (20.1%)
Info:
Processes: 394 Uptime: 49m Memory: 7.42 GiB used: 3.41 GiB (45.9%)
Shell: Bash inxi: 3.3.16
The other commands you mentionned:
$ lsmod | egrep "nouveau|nvidia|vesa"
nvidia_drm 69632 2
nvidia_modeset 1167360 2 nvidia_drm
nvidia_uvm 1204224 0
nvidia 39153664 82 nvidia_uvm,nvidia_modeset
$ lspci -k |grep -A 2 -i "VGA"
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
Subsystem: Lenovo Device 38ec
Kernel driver in use: i915
$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 510.68.02 Wed Apr 20 21:10:34 UTC 2022
GCC version: gcc version 12.1.1 20220507 (Red Hat 12.1.1-1) (GCC)
$ modinfo nvidia
filename: /lib/modules/5.17.14-300.fc36.x86_64/extra/nvidia/nvidia.ko.xz
firmware: nvidia/510.68.02/gsp.bin
alias: char-major-195-*
version: 510.68.02
supported: external
license: NVIDIA
rhelversion: 9.99
srcversion: E05B43E3B72B9F6317D8E2C
alias: pci:v000010DEd*sv*sd*bc06sc80i00*
alias: pci:v000010DEd*sv*sd*bc03sc02i00*
alias: pci:v000010DEd*sv*sd*bc03sc00i00*
depends:
retpoline: Y
name: nvidia
vermagic: 5.17.14-300.fc36.x86_64 SMP preempt mod_unload
sig_id: PKCS#7
signer: fedora-2848697106
sig_key: 30:74:C6:C2:F2:97:0E:AD:02:99:61:E6:D3:2B:17:F9:9B:06:4C:EA
sig_hashalgo: sha256
signature: 8D:4C:A2:22:7E:68:6A:81:D1:46:82:9B:C1:37:16:28:24:11:43:5E:
B7:1B:6F:BF:78:34:1A:97:8F:F4:92:F8:B2:01:E2:8B:7E:FE:12:70:
14:9E:7C:9A:EB:D3:A2:30:B5:34:75:A1:E2:1A:06:E3:86:92:EE:00:
CA:4A:69:3B:04:81:96:96:6E:87:84:97:E7:8B:FC:48:4D:84:9F:74:
08:9D:7C:34:34:F8:9A:F2:B2:BE:31:20:88:9E:7D:D0:4E:69:F1:8A:
D1:7B:03:BC:A2:EA:82:DC:9C:9F:78:F0:6C:B5:F4:CE:5B:63:D7:70:
64:90:D8:2E:C8:EC:F4:96:34:D6:07:B3:B9:F7:78:97:25:37:E4:34:
4E:BD:CF:89:3E:B6:EF:E9:1D:51:E8:90:07:C0:7C:A4:6D:7B:D7:6E:
C6:68:C4:EA:16:07:F2:25:0E:5A:48:B6:DD:1A:89:17:8F:00:7A:4A:
46:FF:3A:B5:06:6F:A3:51:4F:8F:50:8E:C6:C4:11:9C:07:E0:32:D3:
F0:7E:56:97:33:F8:59:2F:B0:B4:86:1E:28:4C:D9:9E:E8:91:2B:4E:
FE:7B:D0:09:D0:CC:F9:A0:13:0D:8C:5B:1D:53:3F:14:55:05:BC:68:
82:5A:BF:C1:60:43:17:7D:54:D2:D0:55:C8:3E:2B:F8:F2:38:94:83:
A0:0D:94:14:07:6E:9B:27:3B:E0:63:64:F3:88:94:DA:8F:91:FE:EA:
D3:D1:DC:66:6E:49:B6:9E:15:96:73:61:EA:E3:D3:B1:73:60:DC:F0:
F9:98:69:4C:76:7E:5F:D5:21:76:89:ED:E8:41:B0:98:E0:61:73:96:
EF:7B:C4:17:58:8B:58:2B:08:75:35:EF:DB:1D:EE:A1:F3:4D:77:F3:
0E:F9:33:DD:A9:BF:F7:E1:AC:A6:42:24:89:93:02:8C:57:1D:87:C0:
46:EF:FF:4E:38:92:0D:FC:F2:E0:8C:6C:00:35:02:6D:FB:79:03:C8:
9C:D5:E8:66:F1:46:5F:22:BF:66:85:A7:F1:87:ED:E3:AA:EB:1C:E2:
E1:87:59:D7:35:B7:D8:82:2B:68:87:93:92:44:0A:A3:04:70:37:1C:
38:80:1B:B3:3E:8B:BA:B9:61:E2:B4:72:46:E4:1E:7D:9E:9C:88:4D:
BB:89:BC:97:38:B0:A2:C4:D7:77:06:8A:97:65:2C:88:52:57:A3:0A:
1E:99:74:4B:D5:45:57:8E:15:3D:BE:67:F7:92:05:F9:89:FE:DF:7C:
2B:90:29:AC:45:B5:16:56:D6:B6:DF:90:15:30:CB:8E:16:C5:C5:4D:
98:D3:59:01:A5:1A:A5:7A:A5:10:A9:7A
parm: NvSwitchRegDwords:NvSwitch regkey (charp)
parm: NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid...] (charp)
parm: NVreg_ResmanDebugLevel:int
parm: NVreg_RmLogonRC:int
parm: NVreg_ModifyDeviceFiles:int
parm: NVreg_DeviceFileUID:int
parm: NVreg_DeviceFileGID:int
parm: NVreg_DeviceFileMode:int
parm: NVreg_InitializeSystemMemoryAllocations:int
parm: NVreg_UsePageAttributeTable:int
parm: NVreg_RegisterForACPIEvents:int
parm: NVreg_EnablePCIeGen3:int
parm: NVreg_EnableMSI:int
parm: NVreg_TCEBypassMode:int
parm: NVreg_EnableStreamMemOPs:int
parm: NVreg_RestrictProfilingToAdminUsers:int
parm: NVreg_PreserveVideoMemoryAllocations:int
parm: NVreg_EnableS0ixPowerManagement:int
parm: NVreg_S0ixPowerManagementVideoMemoryThreshold:int
parm: NVreg_DynamicPowerManagement:int
parm: NVreg_DynamicPowerManagementVideoMemoryThreshold:int
parm: NVreg_EnableGpuFirmware:int
parm: NVreg_EnableUserNUMAManagement:int
parm: NVreg_MemoryPoolSize:int
parm: NVreg_KMallocHeapMaxSize:int
parm: NVreg_VMallocHeapMaxSize:int
parm: NVreg_IgnoreMMIOCheck:int
parm: NVreg_NvLinkDisable:int
parm: NVreg_EnablePCIERelaxedOrderingMode:int
parm: NVreg_RegisterPCIDriver:int
parm: NVreg_EnableDbgBreakpoint:int
parm: NVreg_RegistryDwords:charp
parm: NVreg_RegistryDwordsPerDevice:charp
parm: NVreg_RmMsg:charp
parm: NVreg_GpuBlacklist:charp
parm: NVreg_TemporaryFilePath:charp
parm: NVreg_ExcludedGpus:charp
parm: rm_firmware_active:charp
$ sudo lshw -c video
*-display
description: 3D controller
product: GP107M [GeForce GTX 1050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:147 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128)
*-display
description: VGA compatible controller
product: CoffeeLake-H GT2 [UHD Graphics 630]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:143 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:5000(size=64) memory:c0000-dffff
$ rpm -qa | grep nvidia
nvidia-settings-510.68.02-1.fc36.x86_64
xorg-x11-drv-nvidia-kmodsrc-510.68.02-2.fc36.x86_64
xorg-x11-drv-nvidia-cuda-libs-510.68.02-2.fc36.x86_64
xorg-x11-drv-nvidia-libs-510.68.02-2.fc36.i686
xorg-x11-drv-nvidia-libs-510.68.02-2.fc36.x86_64
akmod-nvidia-510.68.02-2.fc36.x86_64
xorg-x11-drv-nvidia-power-510.68.02-2.fc36.x86_64
xorg-x11-drv-nvidia-510.68.02-2.fc36.x86_64
kmod-nvidia-5.17.13-300.fc36.x86_64-510.68.02-2.fc36.x86_64
kmod-nvidia-5.17.11-300.fc36.x86_64-510.68.02-2.fc36.x86_64
nvidia-persistenced-510.68.02-1.fc36.x86_64
xorg-x11-drv-nvidia-cuda-libs-510.68.02-2.fc36.i686
xorg-x11-drv-nvidia-cuda-510.68.02-2.fc36.x86_64
kmod-nvidia-5.17.14-300.fc36.x86_64-510.68.02-2.fc36.x86_64
Hope this helps you!
ok now you have established that the driver is installed and the module loaded, thatās good
but the NVIDIA gpu isnāt showing in lspci
could be related to >this< ? ā¦maybe
check please in the BIOS if thereās something like āOptimus disabledā or āiGPU onlyāā¦ should be āOptimus enabledā or ādGPU and iGPUā (dGPU is discrete GPU = NVIDIA, iGPU is internal GPU = INTEL in your case)
also you should check the manual, because there are some laptops that if you use a specific M2 slot, it disables PCIE4.
another question (I donāt play minecraft so I do not know), how you run minecraft in linux? do you use lutris/bottles? or a native client exists?
something to testā¦ execute this and paste the output
$ __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep -iE 'vendor:|device:|version:|OpenGL renderer'
and
$ lspci -k
nvidia-powerd failing is not important, it just means your mainboard/GPU combinaison cannot handle some dedicated power optimisation.
To run minecraft on the dGPU, you need right click on the minecraft icon when using gnome.
Or you can use this commande line:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia minecraft
Yeah, I thoroughly checked the BIOS and the option to switch to the iGPU entirely was disabled (tried enabling it and that really turned off my dGPU).
Maybe, yes, except the program mentioned in that post (asusd) is meant for ASUS laptops, and also Windows has been wiped off of my drive for a long time now. Maybe I might try what tbg said: Nvidia graphics card not showing up in lspci - #15 by tbg - Unsupported Software (AUR & Other) - Garuda Linux Forum
I doubt that frankly, since Iāve never changed the drive (an SSD) since I bought the laptop.
No, I run Minecraft in a native client.
Here are the outputs:
$ __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep -iE 'vendor:|device:|version:|OpenGL renderer'
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 156 (NV-GLX)
Minor opcode of failed request: 6 ()
Value in failed request: 0x0
Serial number of failed request: 96
Current serial number in output stream: 96
$ lspci -k
00:00.0 Host bridge: Intel Corporation 8th Gen Core 4-core Processor Host Bridge/DRAM Registers [Coffee Lake H] (rev 07)
Subsystem: Lenovo Device 3803
Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
Subsystem: Lenovo Device 38ec
Kernel driver in use: i915
Kernel modules: i915
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
Subsystem: Lenovo Device 384f
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
Subsystem: Lenovo Device 3806
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
Subsystem: Lenovo Device 3804
Kernel driver in use: xhci_hcd
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
Subsystem: Lenovo Device 3802
00:15.0 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
Subsystem: Lenovo Device 3807
Kernel driver in use: intel-lpss
00:15.1 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
Subsystem: Lenovo Device 3808
Kernel driver in use: intel-lpss
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
Subsystem: Lenovo Device 380c
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller (rev 10)
Subsystem: Lenovo Device 380b
Kernel driver in use: ahci
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
Kernel driver in use: pcieport
00:1d.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #13 (rev f0)
Kernel driver in use: pcieport
00:1d.5 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #14 (rev f0)
Kernel driver in use: pcieport
00:1e.0 Communication controller: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller (rev 10)
Subsystem: Lenovo Device 380d
Kernel driver in use: intel-lpss
00:1f.0 ISA bridge: Intel Corporation HM470 Chipset LPC/eSPI Controller (rev 10)
Subsystem: Lenovo Device 380e
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: Lenovo Device 3810
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
Subsystem: Lenovo Device 3811
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
Subsystem: Lenovo Device 3802
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
Subsystem: Lenovo Device 38ec
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
06:00.0 Non-Volatile memory controller: SK hynix PC401 NVMe Solid State Drive 256GB
Subsystem: SK hynix PC401 NVMe Solid State Drive 256GB
Kernel driver in use: nvme
Kernel modules: nvme
07:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth (rev 99)
Subsystem: Intel Corporation Dual Band Wireless-AC 3165
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
Subsystem: Lenovo Device 38aa
Kernel driver in use: r8169
Kernel modules: r8169
run this pls and paste the output
$ find /sys/bus/pci/devices/0000\:01\:00.0/ -type f -exec printf '____\n\n%s\n' {} \; -exec cat {} \;
(that line finds every file inside that directory - NVIDIAās Device directory - recursively and print the filename and the content. The ID comes from the lspci output in your last reply)
do you have the command nvidia-smi
? if you do please post the output
about the garuda forum, yeah I read thatā¦ but actually now youāve proven that yours shows in lspci
either way it looks like is disabled in some way, I hope I can help you because your problem is pretty weird
I would recommend you to search for better help in NVIDIAās forum board
Here are the results of the commands:
$ find /sys/bus/pci/devices/0000\:01\:00.0/ -type f -exec printf '____\n\n%s\n' {} \; -exec cat {} \;
____
/sys/bus/pci/devices/0000:01:00.0/uevent
DRIVER=nvidia
PCI_CLASS=30200
PCI_ID=10DE:1C8D
PCI_SUBSYS_ID=17AA:38EC
PCI_SLOT_NAME=0000:01:00.0
MODALIAS=pci:v000010DEd00001C8Dsv000017AAsd000038ECbc03sc02i00
____
/sys/bus/pci/devices/0000:01:00.0/resource3_wc
cat: '/sys/bus/pci/devices/0000:01:00.0/resource3_wc': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/resource5
cat: '/sys/bus/pci/devices/0000:01:00.0/resource5': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/power_state
D0
____
/sys/bus/pci/devices/0000:01:00.0/resource3
cat: '/sys/bus/pci/devices/0000:01:00.0/resource3': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/broken_parity_status
0
____
/sys/bus/pci/devices/0000:01:00.0/subsystem_device
0x38ec
____
/sys/bus/pci/devices/0000:01:00.0/rom
cat: '/sys/bus/pci/devices/0000:01:00.0/rom': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/dma_mask_bits
47
____
/sys/bus/pci/devices/0000:01:00.0/vendor
0x10de
____
/sys/bus/pci/devices/0000:01:00.0/resource1
cat: '/sys/bus/pci/devices/0000:01:00.0/resource1': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/local_cpus
ff
____
/sys/bus/pci/devices/0000:01:00.0/power/runtime_active_time
15990556
____
/sys/bus/pci/devices/0000:01:00.0/power/wakeup
disabled
____
/sys/bus/pci/devices/0000:01:00.0/power/wakeup_count
____
/sys/bus/pci/devices/0000:01:00.0/power/wakeup_abort_count
____
/sys/bus/pci/devices/0000:01:00.0/power/wakeup_expire_count
____
/sys/bus/pci/devices/0000:01:00.0/power/wakeup_total_time_ms
____
/sys/bus/pci/devices/0000:01:00.0/power/wakeup_active_count
____
/sys/bus/pci/devices/0000:01:00.0/power/runtime_status
active
____
/sys/bus/pci/devices/0000:01:00.0/power/autosuspend_delay_ms
cat: '/sys/bus/pci/devices/0000:01:00.0/power/autosuspend_delay_ms': Input/output error
____
/sys/bus/pci/devices/0000:01:00.0/power/runtime_suspended_time
0
____
/sys/bus/pci/devices/0000:01:00.0/power/wakeup_max_time_ms
____
/sys/bus/pci/devices/0000:01:00.0/power/wakeup_active
____
/sys/bus/pci/devices/0000:01:00.0/power/control
auto
____
/sys/bus/pci/devices/0000:01:00.0/power/wakeup_last_time_ms
____
/sys/bus/pci/devices/0000:01:00.0/class
0x030200
____
/sys/bus/pci/devices/0000:01:00.0/reset
cat: '/sys/bus/pci/devices/0000:01:00.0/reset': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/numa_node
-1
____
/sys/bus/pci/devices/0000:01:00.0/resource
0x00000000a3000000 0x00000000a3ffffff 0x0000000000040200
0x0000000090000000 0x000000009fffffff 0x000000000014220c
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00000000a0000000 0x00000000a1ffffff 0x000000000014220c
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000004000 0x000000000000407f 0x0000000000040101
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000
____
/sys/bus/pci/devices/0000:01:00.0/rescan
cat: '/sys/bus/pci/devices/0000:01:00.0/rescan': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/max_link_width
16
____
/sys/bus/pci/devices/0000:01:00.0/msi_bus
1
____
/sys/bus/pci/devices/0000:01:00.0/device
0x1c8d
____
/sys/bus/pci/devices/0000:01:00.0/aer_dev_nonfatal
Undefined 0
DLP 0
SDES 0
TLP 0
FCP 0
CmpltTO 0
CmpltAbrt 0
UnxCmplt 0
RxOF 0
MalfTLP 0
ECRC 0
UnsupReq 0
ACSViol 0
UncorrIntErr 0
BlockedTLP 0
AtomicOpBlocked 0
TLPBlockedErr 0
PoisonTLPBlocked 0
TOTAL_ERR_NONFATAL 0
____
/sys/bus/pci/devices/0000:01:00.0/current_link_width
16
____
/sys/bus/pci/devices/0000:01:00.0/max_link_speed
8.0 GT/s PCIe
____
/sys/bus/pci/devices/0000:01:00.0/local_cpulist
0-7
____
/sys/bus/pci/devices/0000:01:00.0/driver_override
(null)
____
/sys/bus/pci/devices/0000:01:00.0/d3cold_allowed
1
____
/sys/bus/pci/devices/0000:01:00.0/irq
147
____
/sys/bus/pci/devices/0000:01:00.0/revision
0xa1
____
/sys/bus/pci/devices/0000:01:00.0/current_link_speed
2.5 GT/s PCIe
____
/sys/bus/pci/devices/0000:01:00.0/reset_method
bus
____
/sys/bus/pci/devices/0000:01:00.0/resource1_wc
cat: '/sys/bus/pci/devices/0000:01:00.0/resource1_wc': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/i2c-9/uevent
____
/sys/bus/pci/devices/0000:01:00.0/i2c-9/delete_device
cat: '/sys/bus/pci/devices/0000:01:00.0/i2c-9/delete_device': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/i2c-9/new_device
cat: '/sys/bus/pci/devices/0000:01:00.0/i2c-9/new_device': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/i2c-9/name
NVIDIA i2c adapter 1 at 1:00.0
____
/sys/bus/pci/devices/0000:01:00.0/aer_dev_correctable
RxErr 0
BadTLP 0
BadDLLP 0
Rollover 0
Timeout 0
NonFatalErr 0
CorrIntErr 0
HeaderOF 0
TOTAL_ERR_COR 0
____
/sys/bus/pci/devices/0000:01:00.0/consistent_dma_mask_bits
47
____
/sys/bus/pci/devices/0000:01:00.0/resource0
cat: '/sys/bus/pci/devices/0000:01:00.0/resource0': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/config
ļæ½ļæ½ļæ½ļæ½
ļæ½
ļæ½@ļæ½ļæ½8`ļæ½____
/sys/bus/pci/devices/0000:01:00.0/ari_enabled
0
____
/sys/bus/pci/devices/0000:01:00.0/msi_irqs/147
msi
____
/sys/bus/pci/devices/0000:01:00.0/remove
cat: '/sys/bus/pci/devices/0000:01:00.0/remove': Permission denied
____
/sys/bus/pci/devices/0000:01:00.0/aer_dev_fatal
Undefined 0
DLP 0
SDES 0
TLP 0
FCP 0
CmpltTO 0
CmpltAbrt 0
UnxCmplt 0
RxOF 0
MalfTLP 0
ECRC 0
UnsupReq 0
ACSViol 0
UncorrIntErr 0
BlockedTLP 0
AtomicOpBlocked 0
TLPBlockedErr 0
PoisonTLPBlocked 0
TOTAL_ERR_FATAL 0
____
/sys/bus/pci/devices/0000:01:00.0/enable
1
____
/sys/bus/pci/devices/0000:01:00.0/link/clkpm
0
____
/sys/bus/pci/devices/0000:01:00.0/link/l0s_aspm
0
____
/sys/bus/pci/devices/0000:01:00.0/link/l1_aspm
0
____
/sys/bus/pci/devices/0000:01:00.0/modalias
pci:v000010DEd00001C8Dsv000017AAsd000038ECbc03sc02i00
____
/sys/bus/pci/devices/0000:01:00.0/subsystem_vendor
0x17aa
____
/sys/bus/pci/devices/0000:01:00.0/drm/card1/uevent
MAJOR=226
MINOR=1
DEVNAME=dri/card1
DEVTYPE=drm_minor
____
/sys/bus/pci/devices/0000:01:00.0/drm/card1/power/runtime_active_time
0
____
/sys/bus/pci/devices/0000:01:00.0/drm/card1/power/runtime_status
unsupported
____
/sys/bus/pci/devices/0000:01:00.0/drm/card1/power/autosuspend_delay_ms
cat: '/sys/bus/pci/devices/0000:01:00.0/drm/card1/power/autosuspend_delay_ms': Input/output error
____
/sys/bus/pci/devices/0000:01:00.0/drm/card1/power/runtime_suspended_time
0
____
/sys/bus/pci/devices/0000:01:00.0/drm/card1/power/control
auto
____
/sys/bus/pci/devices/0000:01:00.0/drm/card1/dev
226:1
____
/sys/bus/pci/devices/0000:01:00.0/drm/renderD129/uevent
MAJOR=226
MINOR=129
DEVNAME=dri/renderD129
DEVTYPE=drm_minor
____
/sys/bus/pci/devices/0000:01:00.0/drm/renderD129/power/runtime_active_time
0
____
/sys/bus/pci/devices/0000:01:00.0/drm/renderD129/power/runtime_status
unsupported
____
/sys/bus/pci/devices/0000:01:00.0/drm/renderD129/power/autosuspend_delay_ms
cat: '/sys/bus/pci/devices/0000:01:00.0/drm/renderD129/power/autosuspend_delay_ms': Input/output error
____
/sys/bus/pci/devices/0000:01:00.0/drm/renderD129/power/runtime_suspended_time
0
____
/sys/bus/pci/devices/0000:01:00.0/drm/renderD129/power/control
auto
____
/sys/bus/pci/devices/0000:01:00.0/drm/renderD129/dev
226:129
[daniel@daniels-ideapad-330 ~]$ nvidia-smi
Tue Jun 21 17:07:10 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.68.02 Driver Version: 510.68.02 CUDA Version: 11.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 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 43C P8 N/A / N/A | 49MiB / 2048MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2046 G /usr/bin/gnome-shell 1MiB |
| 0 N/A N/A 15012 G /usr/libexec/Xorg 4MiB |
| 0 N/A N/A 15429 C+G ...ome-remote-desktop-daemon 40MiB |
+-----------------------------------------------------------------------------+
I really donāt know what to say to you. The one thing you should try is to remove the driver entirely and then reinstall itā¦ just the driver not cuda and the other stuff.
Okay, thanks for the help anyways, I hope I can get help on the Nvidia Forum, otherwiseā¦ well, maybe Iāll need to reconsider Windows
One more thing to consider and check.
Some apps do not run on the nvidia card when the desktop is using wayland.
Try switching to xorg when you log in and see if the performance is different. That is achieved with the little gear icon in the lower right corner of the screen where you enter the password.
Also, it is possible to set the system when using xorg so it uses the nvidia card exclusively as instructed here. I used that process, but in step #8 I added the Option "PrimaryGPU" "yes"
to both stanzas in the nvidia.conf file and have never had an issue.
Note also that with my system, when using an external monitor and wanting both the laptop screen and the external monitor to display properly, the nvidia.conf file needs to be copied as noted in step #8 even if you do not do the edit to make the nvidia card primary. It seems the dGPU is unable to properly manage the internal laptop screen without the options in that file so everything on the internal screen is managed by the IGP and everything on the external monitor is managed by the dGPU by default.
Hi,
So first off, I was using X11 when testing Minecraft, so the issue isnāt linked to Wayland. Iāll try making my system exclusively use the dGPU (when I can), but then that would mean having to always edit some .conf files when wanting to switch between iGPU and dGPU, of which Iām not a huge fan frankly , but if itās the only solution then Iāll just have to live with it I suppose. Also thanks for the advice on external monitors, could be useful during the rare times I use two monitors!
So, I still get little FPS on Minecraft (like less than 100, sometimes around 30, while according to benchmarks I should get something like 160 at least), even while using Nvidia as my main GPU. One weird thing I notice is that the PCIe Bandwidth Utilisation is only at 4-5%, which may be bottlenecking my dGPU.
Is your GPU properly boosting its clocks? Are fans ramping up during gameplay? It seems that your GPU is not putting the effort it should. Or maybe there is another bottleneck
Yes, fans do ramp up, and my laptop does heat up.
Can you try a game other than minecraft? Also run some benchmarks to check if your GPU performance is on par with other GPUs of the same model.
One thing I have noticed is that glxgears which tests the video performance only displays a frame rate at the refresh frequency of the monitor. I do not understand why but maybe you are seeing a similar restriction.
# glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
295 frames in 5.0 seconds = 58.884 FPS
299 frames in 5.0 seconds = 59.604 FPS
294 frames in 5.0 seconds = 58.602 FPS
This is on my desktop which has a monitor with 60 Hz refresh. My laptop which has 144 Hz refresh runs glxgears at ~144 FPS.
Did some benchmarks, and my GPU performs HORRIBLY, like worse than a GTX 760 and a 480, even if the benchmarks said they were using the Nvidia GPU. In Unigine Superposition I got a score of about 2500, and here are the systems that got similar scores to it: UNIGINE Benchmarks
Tried glxgears, and the FPS did indeed approximately match my laptopās screen refresh rate (60 Hz) but they often went a bit higher, so I donāt think I have that restriction, especially since Minecraft does sometimes go higher than 60
the issue here is glxinfo (check his answer above)
should be something like this
āÆ glxinfo | grep renderer
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_NV_float_buffer,
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: AMD RENOIR (LLVM 14.0.0, DRM 3.46, 5.18.6-200.fc36.x86_64)
~
āÆ prime-run glxinfo | grep renderer
OpenGL renderer string: NVIDIA GeForce RTX 2060/PCIe/SSE2
~
but he got an error when he forced the dGPU
ps: prime-run is a script I have and is located in ~/.local/bin, In the past was a command that came with NVIDIAās driver but they removed it (thanks to Carl James Omandam @ nvidia - Prime-run command not found - Ask Ubuntu)
āÆ cat .local/bin/prime-run
#!/bin/bash
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
exec "$@"
~