You are not logged in.
device: ASUS A53s / Intel HD Graphics 3000 + Nvidia Geforce GT 540M
Driver: nvidia-390xx(390.144)
I don’t wnat to use Intel GPU, just want to use Nvidia GPU
(Xorg can’t works before install nvidia-390xx, and I didn’t install Intel GPU’s driver, so I think now is running with Nvidia GPU)
Xorg works Before config, but nvidia-settings can’t work.
It said: You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run nvidia-xconfigas root), and restart the X server.
Automatic configuration ArchWiki
/etc/X11/xorg.conf# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 390.144 (dvs-builder@U64-P10-09) Wed Jun 2 22:56:57 UTC 2021
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSectionor
Minimal configuration ArchWiki
/etc/X11/xorg.conf.d/20-nvidia.confSection "Device"
Identifier "Nvidia Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 540M"
EndSectionAs the title says, Xorg not start after config(both)
first srartx(whether or not deleting the generated
~/.nvidia-settings-rc), it said:
X.Org X Server 1.21.1.2
X Protocol Version 11,Revision 0
current Operating Sustem:Linux SRT 5.15.10-arch1-1 #1 SMP PREEMPT Fri,17 Dec 2021 11:17:37 +0000 86 64
kernel command 1ine: initrd=\intel-ucode.img Initrd=\initramfs-linux.img root=PARTUUID=8bd7f4d7-4877-4c03-a423-d5e25c42d956 rw intel_pstate=no_hwp
Current version of pixman:0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (=) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error.(NI) not implemented, (??) unknoun.
(==) Log file: "/uar/log/Xorg.O.log", Time: Sun Dec 26 18:14:07 2021
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using cont1g directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory: "/usr/share/X11/xorg.conf.d"
========================WARNING WARNING WARNING WARNING==========
This server has a video driver ABI version of 25.2 that this
driver does not officially support. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI
=================================================================
(WW) NVIDIA: The driver will continue to load, but may behave strangely.
(WW) NVIDIA: This driver was compiled against the X.Org server SDK from commit 4c00369024c9754e670fca37804711fef2980e2f and may not be compatible with the final version of this SDK.
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE) Please consult the The X.Org Foundation support
at http://wiki.x.org
e at "/var/log/Xorg.0.log" for additional-information.(EE) (EE) Server terminated with error (1). Closing log file. for help. (EE) Please also check the log fll
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server errorevery startx after first enter startx:
X.Org X Server 1.21.1.2
X Protocol Version 11,Revision 0
current Operating Sustem:Linux SRT 5.15.10-arch1-1 #1 SMP PREEMPT Fri,17 Dec 2021 11:17:37 +0000 86 64
kernel command 1ine: initrd=\intel-ucode.img Initrd=\initramfs-linux.img root=PARTUUID=8bd7f4d7-4877-4c03-a423-d5e25c42d956 rw intel_pstate=no_hwp
Current version of pixman:0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (=) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error.(NI) not implemented, (??) unknoun.
(==) Log file: "/uar/log/Xorg.O.log", Time: Sun Dec 26 18:12:49 2021
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using cont1g directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory: "/usr/share/X11/xorg.conf.d"
e at "/var/log/Xorg.O.log" for additional information.(EE) (EE) Server terminated with error (1). Closing log file.wiki.x.org for help.(EE) Please also check the log fil
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server errorBy the way, is “DRM kernel mode setting” necessary? ArchWiki
after add the
nvidia-drm.modeset=1to
/boot/loader/entries/2021-12-05_14-42-02.confoptions root=UUID=0a3407de-014b-458b-b5c1-848e92a327a3 rw nvidia-drm.modeset=1it boot into rootfs and said:
ERROR: device 'UUID=0a3407de-014b-458b-b5c1-848e92a327a3' not found. Skipping fsck...
:: mounting 'UUID=0a3407de-014b-458b-b5c1-848e92a327a3' on real root
mount:new_root:can'tfind UUID=0a3407de-014b-458b-b5c1-848e92a327a3.
You are now being dropped into an energency shell.
sh: can't access tty; job control turned offlast question:
when I want to run picom
it said:
[ 12/26/21 22:43:09.786 glx_has_extension ERROR ] Failed get GLX extension list.
[ 12/26/21 22:43:09.786 glx_has_extension ERROR ] Failed get GLX extension list.
[ 12/26/21 22:43:09.786 glx_has_extension ERROR ] Failed get GLX extension list.
[ 12/26/21 22:43:09.786 glx_has_extension ERROR ] Failed get GLX extension list.
[ 12/26/21 22:43:09.786 glx_has_extension ERROR ] Failed get GLX extension list.
[ 12/26/21 22:43:09.786 glx_has_extension ERROR ] Failed get GLX extension list.
[ 12/26/21 22:43:09.786 glx_has_extension ERROR ] Failed get GLX extension list.
[ 12/26/21 22:43:09.786 glx_has_extension ERROR ] Failed get GLX extension list.
[ 12/26/21 22:43:09.786 glx_init ERROR ] No GLX extension.
Segmentation fault (core dumped)does this related my GPU driver or GPU config?
Last edited by EternalNovice (2021-12-27 02:02:44)
Offline
Remove the configurations entirely. If you can't turn off the integrated card in your BIOS directly you need to setup some form of Optimus as is described in: https://wiki.archlinux.org/title/NVIDIA … phics_only pay attention to the additional bits of config depending on your display manager.
Offline
It works, thank you.
Offline