Debian doesn't boot to GUI

f33dm3bits

Gold Member
Gold Supporter
Credits
5,852
But in this case there is also Intel video card. How to configure /etc/X11/xorg.conf.d/10-nvidia.conf for my laptop?
You should be able to switch off the intel video card in your bios/uefi. Maybe it's tripping over that? I think you have the options between hybrid, or discrete. I think hybrid is nividia and discrete intel, try switching it to hybrid, and then boot and see what happens.
 


iskander

New Member
Credits
138
I have a single video card. I'm asking how to configure /etc/X11/xorg.conf.d/10-nvidia.conf for my laptop, because in prashantpro's case it's configured for two video cards.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
5,852
I have a single video card. I'm asking how to configure /etc/X11/xorg.conf.d/10-nvidia.conf for my laptop, because in prashantpro's case it's configured for two video cards.
You can try leaving intel in there and see what happens, I can't remember if xorg only picks up the devices it can actually find, but you could try it like this. If not you could try it like this:
Code:
Section "ServerLayout"
       Identifier "layout"
       Screen 0 "nvidia"
   EndSection

   Section "Device"
       Identifier "nvidia"
       Driver "nvidia"
       BusID "01:00:0"
       Option "RegistryDwords" "EnableBrightnessControl=1"
   EndSection

   Section "Screen"
       Identifier "nvidia"
       Device "nvidia"
       Option "AllowEmptyInitialConfiguration"
   EndSection
You will probably have to replace BusID with what you have by finding it using lspci | grep -i nvidia from the console.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
5,852
Indeed it's strange, because live Linux Mint and Ubuntu boots well.
Then use Ubuntu 20.04 (LTS) or Linux Mint 20(LTS), they have long term support since stable is what you are looking for and they are Debian based since you are used to Debian.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
5,852
Thanks for your help, but I want to know how to fix such problems.
You learn how to do stuff by trying to fix problems yourself and from experience, not by having other people trying to solve your problems. Read documentation/wiki, try to install the drivers from repositories, if that doesn't work try to install the drivers manually. Live boot from another distribution to see if it works there, if it does then see what drivers are being used so that you have a comparison and can try installing the same drivers. Search log files or system journal for error messages, google the errors you don't understand, try running a command on the command-line and see what happens. Try to manually start your graphical environment and see what errors you come across, if you don't understand the error google the error.
Instead of using the nvidia driver trying using the nouveau driver and see if that works. Find out if your graphics cards has any support for anything special, ie bumbelbee, look what you can find about that. There are lots things you can do you just have to be creative. Have you even tried installing the nouveau driver? --> xserver-xorg-video-nouveau , did you try installing firmware-misc-nonfree?
 
Last edited:

Condobloke

Well-Known Member
Credits
4,500
There is some good advice for you @iskander, You will be a much better Linux user, by being part of the solution.
 


Members online


Latest posts

Top