Problems with loading nVidia card, intel is always active

lol, I said that I want to activate NVIDIA, but not intel

So, i dont have that option in BIOS, please help, how to activate nVidia?

unknown

Please read this thread and see if the solution there works for you.

no, it doesnt work too( i tried this

So you followed these steps Bumblebee driver not working and it it still gives the same error?

yep, i followed, but it still gives same error

wdfwegwweg

Has it ever worked in the past or is this the first time you try it?

also i activated MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) in /etc/mkinitcpio.conf ;
and GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1" in /etc/default/grub

i try it for the first time

This shouldn’t be necessary, furthermore, there is no such module as nvidia_modeset, so please remove it.

Please run optirun glxinfo, then if it fails, find the latest Xorg log in ~/.local/share/xorg/ or /var/log/ and post it.

Also post the output of ls -lR /etc/X11 /etc/bumblebee.

[    81.340] 
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[    81.340] Build Operating System: Linux Manjaro Linux
[    81.340] Current Operating System: Linux comp 5.8.11-1-MANJARO #1 SMP PREEMPT Wed Sep 23 14:35:40 UTC 2020 x86_64
[    81.340] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 root=UUID=f846ca6e-0d43-4bc2-abbc-02c1e3859d9e rw nvidia-drm.modeset=1
[    81.340] Build Date: 02 September 2020  07:39:17AM
[    81.340]  
[    81.340] Current version of pixman: 0.40.0
[    81.340] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    81.340] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    81.340] (==) Log file: "/var/log/Xorg.8.log", Time: Sun Oct 18 22:52:24 2020
[    81.341] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[    81.341] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[    81.341] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    81.342] (==) ServerLayout "Layout0"
[    81.342] (==) No screen section available. Using defaults.
[    81.342] (**) |-->Screen "Default Screen Section" (0)
[    81.342] (**) |   |-->Monitor "<default monitor>"
[    81.342] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    81.342] (**) |   |-->Device "Device1"
[    81.342] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    81.342] (**) Option "AutoAddDevices" "false"
[    81.342] (**) Not automatically adding devices
[    81.342] (==) Automatically enabling devices
[    81.342] (==) Automatically adding GPU devices
[    81.342] (==) Automatically binding GPU devices
[    81.342] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    81.342] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[    81.342] 	Entry deleted from font path.
[    81.342] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[    81.342] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[    81.342] 	Entry deleted from font path.
[    81.342] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[    81.342] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    81.342] 	Entry deleted from font path.
[    81.342] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    81.342] 	Entry deleted from font path.
[    81.342] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    81.342] 	Entry deleted from font path.
[    81.342] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    81.342] 	Entry deleted from font path.
[    81.342] (==) FontPath set to:
	
[    81.342] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[    81.342] (==) |-->Input Device "<default pointer>"
[    81.342] (==) |-->Input Device "<default keyboard>"
[    81.342] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[    81.342] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[    81.342] (II) Module ABI versions:
[    81.342] 	X.Org ANSI C Emulation: 0.4
[    81.342] 	X.Org Video Driver: 24.1
[    81.342] 	X.Org XInput driver : 24.1
[    81.342] 	X.Org Server Extension : 10.0
[    81.344] (--) using VT number 1

[    81.344] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    81.345] (II) xfree86: Adding drm device (/dev/dri/card0)
[    81.345] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    81.347] (--) PCI: (1@0:0:0) 10de:1051:0000:0000 rev 161, Mem @ 0xdb000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[    81.348] (II) Open ACPI successful (/var/run/acpid.socket)
[    81.348] (II) LoadModule: "glx"
[    81.348] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[    81.445] (II) Module glx: vendor="NVIDIA Corporation"
[    81.445] 	compiled for 4.0.2, module version = 1.0.0
[    81.445] 	Module class: X.Org Server Extension
[    81.446] (II) NVIDIA GLX Module  390.132  Fri Nov  1 04:00:46 PDT 2019
[    81.447] (II) LoadModule: "nvidia"
[    81.447] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    81.456] (II) Module nvidia: vendor="NVIDIA Corporation"
[    81.456] 	compiled for 4.0.2, module version = 1.0.0
[    81.456] 	Module class: X.Org Video Driver
[    81.457] (II) LoadModule: "mouse"
[    81.457] (WW) Warning, couldn't open module mouse
[    81.457] (EE) Failed to load module "mouse" (module does not exist, 0)
[    81.457] (II) LoadModule: "kbd"
[    81.457] (WW) Warning, couldn't open module kbd
[    81.457] (EE) Failed to load module "kbd" (module does not exist, 0)
[    81.458] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[    81.458] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    81.460] (II) Loading sub module "fb"
[    81.460] (II) LoadModule: "fb"
[    81.460] (II) Loading /usr/lib/xorg/modules/libfb.so
[    81.462] (II) Module fb: vendor="X.Org Foundation"
[    81.462] 	compiled for 1.20.9, module version = 1.0.0
[    81.462] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    81.462] (II) Loading sub module "wfb"
[    81.462] (II) LoadModule: "wfb"
[    81.462] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    81.464] (II) Module wfb: vendor="X.Org Foundation"
[    81.464] 	compiled for 1.20.9, module version = 1.0.0
[    81.464] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    81.464] (II) Loading sub module "ramdac"
[    81.464] (II) LoadModule: "ramdac"
[    81.464] (II) Module "ramdac" already built-in
[    81.468] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    81.468] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    81.468] (==) NVIDIA(0): RGB weight 888
[    81.468] (==) NVIDIA(0): Default visual is TrueColor
[    81.468] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    81.468] (**) NVIDIA(0): Option "UseEDID" "false"
[    81.468] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
[    81.468] (**) NVIDIA(0): Enabling 2D acceleration
[    81.468] (**) NVIDIA(0): ConnectedMonitor string: "DFP"
[    81.468] (**) NVIDIA(0): Ignoring EDIDs
[    81.535] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[    81.535] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[    81.535] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[    81.535] (EE) NVIDIA(GPU-0):     README for additional information.
[    81.535] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[    81.535] (EE) NVIDIA(0): Failing initialization of X screen 0
[    81.535] (II) UnloadModule: "nvidia"
[    81.535] (II) UnloadSubModule: "wfb"
[    81.535] (II) UnloadSubModule: "fb"
[    81.535] (EE) Screen(s) found, but none have a usable configuration.
[    81.535] (EE) 
Fatal server error:
[    81.535] (EE) no screens found(EE) 
[    81.535] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    81.535] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[    81.535] (EE) 
[    81.535] (EE) Server terminated with error (1). Closing log file.

k, bb i will be here tommorow(10:00 MSK)

Please run sudo dmesg | grep -i nvidia.

[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 root=UUID=f846ca6e-0d43-4bc2-abbc-02c1e3859d9e rw nvidia-drm.modeset=1
[    0.051687] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 root=UUID=f846ca6e-0d43-4bc2-abbc-02c1e3859d9e rw nvidia-drm.modeset=1
[   43.488530] nvidia: module license 'NVIDIA' taints kernel.
[   43.516049] nvidia-nvlink: Nvlink Core is being initialized, major device number 235
[   44.017140] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   44.017539] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  390.132  Fri Nov  1 00:40:14 PDT 2019 (using threaded interrupts)
[   44.029675] audit: type=1130 audit(1603050707.482:72): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=load-nvidia comm="systemd" exe="/usr/lib/systemd/systemd
" hostname=? addr=? terminal=? res=success'
[   44.029686] audit: type=1131 audit(1603050707.482:73): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=load-nvidia comm="systemd" exe="/usr/lib/systemd/systemd
" hostname=? addr=? terminal=? res=success'
[   81.514834] caller _nv027774rm+0x58/0x90 [nvidia] mapping multiple BARs

Please start sudo dmesg -w, then in a different terminal run optirun glxgears, post anything that appears in the first terminal after you ran optirun. Also check if nvidia-smi works.

1 Like

Hello,

Please do a search of the forum, just about every question that can be asked about Nvidia, has been answered.
https://forum.manjaro.org/search?q=starting%20Nvidia

[ 2347.779800] NVRM: failed to copy vbios to system memory.
[ 2347.779962] NVRM: RmInitAdapter failed! (0x30:0xffff:663)
[ 2347.780047] NVRM: rm_init_adapter failed for device bearing minor number 0