You are not logged in.
Hey guys
I have a fresh install of bunsenlabs on my new computer where i also have a GTX970. With the fresh install i could not set any screen resolution in Arandr nor enable multiscreen. So i followed the debian Nvidia driver installation here, but this has not changed anything. (The installation was successfull.) I can´t do a nvidia-modprobe (error is "operation not permitted") nor can i execute modprobe nvidia. What did i do wrong? Or how can i access the Nvidia settings?
Thanks for every help, i havent installed a graphics-driver ond any linux since.
Last edited by duvadh (2016-02-22 20:32:40)
Offline
The modprobe errors are probably due to you not using `sudo`
Here is my cheatsheet for the Debian stable nvidia installation
NvidiaGraphicsDrivers
---------------------
https://wiki.debian.org/NvidiaGraphicsDrivers1) Go to TTY1 (ctrl-alt-F1), then login as root: "sudo su -"
2) Stop the X server with "systemctl stop lightdm.service"
3) "apt-get install nvidia-settings nvidia-xconfig nvidia-driver"
This will also build the kernel nvidia module
4) Create xorg server config file [ important to do this before restarting X!!]
"nvidia-xconfig" [ error messages can usually be ignored ]
5) Reboot, to blacklist nouveau
5) set up monitors with nvidia-settings (although arandr should work)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Please post the output of:
lspci -knn|grep -iA2 'vga\|3d'
Also post your xorg configuration file.
Offline
Thanks for your quick answers!
damo: If I run nvidia-xconfig, it reports an error for loading/writing an xorg.conf file and if I reboot, I don't get a display manager running. I can get it back, if I reinstall xserver-xorg.
nvidia-settings reports this error:
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
Head_on_a_Stick:
duvadh@defineL:~$ lspci -knn|grep -iA2 'vga\|3d'
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:13c2] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:3160]
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fbb] (rev a1)
And i can't find my xorg.conf in /etc/X11..?
Offline
Create the xorg configuration file yourself:
sudo -i # enter password
mkdir -p /etc/X11/xorg.conf.d
echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
exit
Offline
But this gives me a blank screen after reboot too..
The nvidia-xconfig error is
WARNING: Unable to locate/open X configuration file.
Package xorg-server was not found in the pkg-config search path. Perhaps you should add the directory containing 'xorg-server.pc' to the PKG_CONFIG_PATH environment variable
No package xorg-server found
New X configuration file written to 'etc/X11/xorg.conf'
Offline
Did you run
sudo nvidia-xconfig
before restarting the graphical session?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Yes I did run nvidia-xconfig after runnning
systemctl stop lightdm.service
and before rebooting.
Last edited by duvadh (2016-02-22 21:46:04)
Offline
The nvidia-xconfig error is
WARNING: Unable to locate/open X configuration file.
Package xorg-server was not found in the pkg-config search path. Perhaps you should add the directory containing 'xorg-server.pc' to the PKG_CONFIG_PATH environment variable
No package xorg-server found
New X configuration file written to 'etc/X11/xorg.conf'
I can always ignore that error message - a new xorg.conf will have been written (and the old one backed up). Here's mine, FWIW
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 355.11 (buildmeister@swio-display-x86-rhel47-07) Wed Aug 26 17:15:49 PDT 2015
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "VideoKey" # <i>
#Option "WrappedFB" # [<bool>]
#Option "GLXVBlank" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "PageFlip" # [<bool>]
#Option "SwapLimit" # <i>
#Option "AsyncUTSDFS" # [<bool>]
Identifier "Device0"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Coolbits" "8"
Option "TripleBuffer" "false"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "enable"
# Option "RENDER" "disable"
EndSection
Last edited by damo (2016-02-22 22:01:31)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
My xorg.conf file was
nvidia-xconfig: version 340.something ... ...Oct 7 2014
so i think this was the problem, that I installed an old driver. Don't know how that could happen though...
I just downloaded the .run file from the Nvidia page and run this and it worked immediatly...
Thanks!
SOLVED
Offline
My xorg.conf file was
nvidia-xconfig: version 340.something ... ...Oct 7 2014
so i think this was the problem, that I installed an old driver. Don't know how that could happen though...
I just downloaded the .run file from the Nvidia page and run this and it worked immediatly...
Thanks!
SOLVED
Whatever works for you
(I'll add [SOLVED] to the thread title )
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline