You are not logged in.
Pages: 1
Hi all,
I have ASUS X541U laptop which has both nvidia and intel GPUs. I wanted to install nvidia drivers. I followed last option on this wiki article: https://wiki.archlinux.org/index.php/NVIDIA_Optimus by installing nvidia-xrun-git package from AUR.
I faced this problem: https://wiki.archlinux.org/index.php/NV … X_shutdown
I followed instructions on that page. Last line:
# modprobe nvidia
is showing no nvidia module present. Can you please help.
thanks,
Sid
PS: I have linux-lts kernel installed. I booted into it when I got blank screen.
PPS: I forgot to mention I've gnome and lightdm installed on my computer.
Last edited by sidambhire (2018-04-26 14:30:01)
Offline
If you use linux-lts you have to install nvidia-lts to provide the kernel module.
Offline
But still it doesn't work for linux regular kernel. I get blank screen as mentioned in my first post.
Offline
# modprobe nvidia
is showing no nvidia module present.
What output do you expect from modprobe?
# modprobe nvidia
# lsmod | grep nvidia
nvidia_drm 45056 3
nvidia_modeset 1077248 5 nvidia_drm
nvidia 13955072 181 nvidia_modeset
# modprobe nvidia
Offline
So far it seems he only could boot the lts kernel because he had no nvidia module installed there (I assume he got "modprobe: FATAL: Module nvidia not found in directory")
@sidambhire, let's start with the basics, please provide:
- lspci
- lsmod
- dmesg
- pacman -Qs nvidia
- all xorg logs
- every /etc/X11/xorg.conf* file (including those in xorg.conf.d)
Offline
@seth ah so sidambhire was providing a narrative of the commands output. I thought the command was literally producing no output
@sidambhire please post commands and their outputs not a narrative of that output https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
@seth and @loqs
$ lspci
https://pastebin.com/4xBMUm4G
$ lsmod
https://pastebin.com/59Cm4c3n
$ dmesg
https://pastebin.com/CXmFCraN
$ pacman -Qs nvidia
local/libvdpau 1.1.1+3+ga21bf7a-1
Nvidia VDPAU library
local/nvidia 390.48-10
NVIDIA drivers for linux
local/nvidia-utils 390.48-1
NVIDIA drivers utilities
local/nvidia-xrun-git 0.3.29.g2d4e772-1
Script to run dedicated X server with discrete nvidia graphics (git version)
$ cat /var/log/Xorg.0.log
https://pastebin.com/kh9ST4Pi
$ cat /var/log/Xorg.1.log
https://pastebin.com/A6sYZGb9
$ cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,in"
Option "XkbVariant" ",bolnagri"
EndSection
$ cat /etc/X11/xorg.conf.d/50-synaptics.conf
https://pastebin.com/NYJffm7p
$ cat /etc/X11/xorg.conf.d/99-killX.conf
Section "ServerFlags"
Option "DontZap" "false"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
Note: I'm able to log in from the blank screen by typing my password. Just there is a blank screen in the beginning.
I think there is a xorg.conf file missing in my /etc/X11 folder.
I also tied to run nvidia-xrun from tty as mentioned in the nvidia-xrun-git package's git page. It said modules already running. I couldn't copy the entire error code. Can anyone tell me how I can copy it?
Last edited by sidambhire (2018-04-27 07:32:16)
Offline
So far it seems he only could boot the lts kernel because he had no nvidia module installed there (I assume he got "modprobe: FATAL: Module nvidia not found in directory")
That is correct.
Offline
Offline
Thanks @seth.
First I blacklisted nvidia.
Then I ran
# nvidia-xrun
There was a long error shown which I was not able to copy from tty.
Last edited by sidambhire (2018-04-27 12:50:45)
Offline
Do you have an xinitrc?
Otherwise this is not the correct syntax for nvidia-xrun, please ensure to fully read https://github.com/Witko/nvidia-xrun
You cannot run nvidia-settings on the intel driven X11 server, that's what https://github.com/Witko/nvidia-xrun is all about ...
Offline
Sorry I'll check and try again.
Last edited by sidambhire (2018-04-27 13:45:59)
Offline
Pages: 1