LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 05-14-2019, 11:43 AM   #1
drillsar
Member
 
Registered: Jan 2017
Posts: 144

Rep: Reputation: Disabled
After installing Nvidia drivers black screen?


I get a black screen when rebooting.

I followed these instructions

https://wiki.archlinux.org/index.php/NVIDIA

determined that I have the N130 Family card
installed package nvidia



added this to kernel

after rw nvidia-drm.modeset=1

this is all I did.. and cant see anything..
 
Old 05-14-2019, 12:07 PM   #2
drillsar
Member
 
Registered: Jan 2017
Posts: 144

Original Poster
Rep: Reputation: Disabled
if I add nomodeset then I can log in. Maybe its because I didnt configure it yet?
 
Old 05-15-2019, 10:08 AM   #3
drillsar
Member
 
Registered: Jan 2017
Posts: 144

Original Poster
Rep: Reputation: Disabled
if I add nvidia-drm.modeset=1 get black screen and nothing happens. What is the difference between nomodeset and Nvidia-drm.modeset=1? I even tried Nvidia-drm.modeset=0. The only thing that worked was if I add nomodeset. added this to mkinitcpio

MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"

At this point I don't know what to do in order to fix this.
 
Old 05-15-2019, 12:07 PM   #4
drillsar
Member
 
Registered: Jan 2017
Posts: 144

Original Poster
Rep: Reputation: Disabled
I now did the following and now got rid of black screen but Nvidia Drm not being loaded.

I have Nvidia version 418.74-1

I added this in /etc/modprobe.d/nvidia-drm-modeset.conf

Code:
options nvidia_418.74-1_drm modeset=1
I then added in /etc/makinitcpio.conf

Code:
FILES="/etc/modprobe.d/nvidia-drm-modeset.conf"
I then ran the following to regenerate ti initramfs.. not sure if I am doing that correctly

Code:
mkinitcpio -p linux
I took out the kernel parameter nvidia-drm.modeset=1

I rebooted system and ran the this:

Code:
xrandr --properties | grep PRIME
No output? Output Should be Prime Synchorization 1

so then I checked to see if drm is loaded with this command:

Code:
sudo cat /sys/module/nvidia-drm/parameters/modeset/
The output N

So why isn't this being loaded? Am I missing something here? I am going nuts
 
Old 05-15-2019, 12:32 PM   #5
drillsar
Member
 
Registered: Jan 2017
Posts: 144

Original Poster
Rep: Reputation: Disabled
I now got it to work.. not sure if this was correct way of doing it.

Deleted the /etc/modprobe.d/nvidia-drm-modeset.conf

removed FILES="/etc/modprobe.d/nvidia-drm-modeset.conf"

ran this code:

Code:
sudo mkinitcpio -P -M linux
added this to kernel option

Code:
nvidia-drm.modeset=1
rebooted system still goes black and nothing but waited 20 seconds and hit some keys and got a login not sure why..

Checked to see if drm is loaded

Code:
sudo cat /sys/module/nvidia-drm/parameters/modeset/
Output Y

Just curious why I have to hit some keys in order to see login screen?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I geek getting a black screen after installing Nvidia Drivers! 00yahoo Linux - Newbie 7 11-23-2012 02:23 PM
Black screen after installing nvidia 6106 drivers Doktor Prokt Fedora 7 08-10-2004 04:39 AM
Black bar on right side of screen after installing NVidia 5336 drivers CarletonKnight Linux - Laptop and Netbook 5 07-06-2004 08:06 PM
geforce (black screen) after installing drivers flump Linux - Hardware 2 08-17-2003 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 12:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration