Nvidia driver - xorg.conf | in Debian/kde
by ct7567 from LinuxQuestions.org on (#5N1T2)
Hello. I am going to explain exactly what I've done and what is the problem.
so i used Ubuntu for some years and the reason was that drivers are easy to install in Ubuntu and you don't have to get involved especially for graphics cause i have a dual graphic lap top (Intel UHD & NVIDIA mx150).
so after some years i learned some things in Linux and decided to install Debian instead. My brother had Debian before and i loved it. the stability of it is remarkable.
Anyway i have installed a Debian 11 about 2 days ago and i configured my NVIDIA driver from https://wiki.debian.org/NvidiaGraphicsDrivers. It is the official page for this and i did every thing right and I was able to use the driver. Here i want to mention that if Code:lspci -nn | egrep -i "3d|display|vga" command returns more than one line of output, you have an Optimus (hybrid) graphics chipset. After you install the necessary driver package, you'll still need to choose one of the methods on the NVIDIA Optimus page https://wiki.debian.org/NVIDIA%20Optimus in order to activate and make use of your NVIDIA card.
now here are some of my questions:
1- how can i run my NVIDIA driver with safe-boot on. cause it doesn't work with an On UEFI-safeboot. on the boot logs it sais failed to loan nvidia-persistenced.service. Im 100% sure its becuase of safe-boot cuase i turned it off and it worked.
2-I deleted /etc/X11/xorg.conf file cause i thought the problem in question 1 was because of that file. But now i want to load it again with previous configs. I tried to make the file again with nvidia-xconfig program. It made me the file but the file stoped my sddm and i left off with just a terminal. i deleted the file again and sddm came up again. should i load it again? it seems it doesn't do anything but breaking my system!
here is xorg.conf inside Code:# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 460.32.03
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"
Option "DPMS"
EndSection
so i used Ubuntu for some years and the reason was that drivers are easy to install in Ubuntu and you don't have to get involved especially for graphics cause i have a dual graphic lap top (Intel UHD & NVIDIA mx150).
so after some years i learned some things in Linux and decided to install Debian instead. My brother had Debian before and i loved it. the stability of it is remarkable.
Anyway i have installed a Debian 11 about 2 days ago and i configured my NVIDIA driver from https://wiki.debian.org/NvidiaGraphicsDrivers. It is the official page for this and i did every thing right and I was able to use the driver. Here i want to mention that if Code:lspci -nn | egrep -i "3d|display|vga" command returns more than one line of output, you have an Optimus (hybrid) graphics chipset. After you install the necessary driver package, you'll still need to choose one of the methods on the NVIDIA Optimus page https://wiki.debian.org/NVIDIA%20Optimus in order to activate and make use of your NVIDIA card.
now here are some of my questions:
1- how can i run my NVIDIA driver with safe-boot on. cause it doesn't work with an On UEFI-safeboot. on the boot logs it sais failed to loan nvidia-persistenced.service. Im 100% sure its becuase of safe-boot cuase i turned it off and it worked.
2-I deleted /etc/X11/xorg.conf file cause i thought the problem in question 1 was because of that file. But now i want to load it again with previous configs. I tried to make the file again with nvidia-xconfig program. It made me the file but the file stoped my sddm and i left off with just a terminal. i deleted the file again and sddm came up again. should i load it again? it seems it doesn't do anything but breaking my system!
here is xorg.conf inside Code:# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 460.32.03
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"
Option "DPMS"
EndSection