Default Nvidia drivers not working, needs manual Xorg config

Archived topics about LMDE 1
Forum rules
kaamos
Level 1
Level 1
Posts: 37
Joined: Thu Jan 26, 2012 12:32 am
Location: Middle Earth

Default Nvidia drivers not working, needs manual Xorg config

Postby kaamos » Sat Apr 19, 2014 7:28 pm

So far I've been using Bumblebee on my Dell XPS17 laptop. However, I recently decided to use a second monitor to help me for development.

My computer config (inxi -GSr)

Code: Select all

System:    Host: dtrane Kernel: 3.11-2-amd64 x86_64 (64 bit) Desktop: Gnome Distro: Linux Mint Debian Edition
Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           Card-2: NVIDIA GF106M [GeForce GT 550M]
           X.Org: 1.14.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.3hz
           GLX Renderer: N/A GLX Version: N/A
Repos:     Active apt sources in file: /etc/apt/sources.list.d/google-talkplugin.list
           deb http://dl.google.com/linux/talkplugin/deb/ stable main
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com debian main upstream import
           deb http://mirror.metrocast.net/linuxmint-debian/latest/ testing main contrib non-free
           deb http://mirror.metrocast.net/linuxmint-debian/latest/security testing/updates main contrib non-free
           deb http://mirror.metrocast.net/linuxmint-debian/latest/multimedia testing main non-free
           deb http://extra.linuxmint.com debian main


My second monitor connected via HDMI wasn't being detected. So I read the official bumblebee github notes to help:
https://github.com/Bumblebee-Project/Bu ... itor-setup

Nothing.

I realise that I have optimus and Nvidia is a princess, but i still foolishly decided to install the latest drivers from the Nvidia site after reading the long thread about this in the LMDE forums for Hardware. Two methods that I followed:

Code: Select all

Proxima Centauri:
apt install nvidia-kernel-dkms nvidia-glx build-essential nvidia-settings nvidia-xconfig
sudo nvidia-xconfig
sudo echo blacklist nouveau > /etc/modprobe.d/blacklist-nouveau.conf
apt remove --purge xserver-xorg-video-nouveau libdrm-nouveau1a

DrCasper:
service mdm stop
apt-get purge xserver-xorg-video-nouveau libdrm-nouveau1a
echo blacklist nouveau > /etc/modprobe.d/blacklist-nouveau.conf
apt-get remove nvidia*
./NVIDIA-Linux-x86_64-302.17.run
nvidia-xconfig
reboot


After reboot, Xorg crashes and tells me that xorg.conf is not configured properly and that it cannot find any screens, ON THE SCREEEN!!

I have tried two older versions of the drivers from Nvidia.

Same thing.

Finally, after running nvidia-detect I decided to install the recommended install nvidia-drivers package from the LMDE repos.

It told me to manually configure xorg.conf. So I ran nvidia-xconfig and then rebooted.

Same thing.

Thinking of giving up on this second monitor altogether. But I thought I might post the problem first in the hopes that someone might help manually configure xorg.conf so that the damn thing just works.

xorg.conf:

Code: Select all

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 319.72  (pbuilder@cake)  Sat Nov  9 14:15:48 UTC 2013

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"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    BusID          "PCI:01:00:0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Xorg.0.log:

Code: Select all

[   320.409]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[   320.409] X Protocol Version 11, Revision 0
[   320.409] Build Operating System: Linux 3.12.0-rc6-patser+ x86_64 Debian
[   320.409] Current Operating System: Linux dtrane 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64
[   320.409] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11-2-amd64 root=UUID=e8529c9d-05d6-4f6d-a669-c8c18430574b ro quiet
[   320.409] Build Date: 25 November 2013  01:54:46PM
[   320.409] xorg-server 2:1.14.3-5 (Maarten Lankhorst <maarten.lankhorst@ubuntu.com>)
[   320.409] Current version of pixman: 0.30.2
[   320.410]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   320.410] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   320.410] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 19 19:03:09 2014
[   320.410] (==) Using config file: "/etc/X11/xorg.conf"
[   320.410] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   320.410] (==) ServerLayout "Layout0"
[   320.410] (**) |-->Screen "Screen0" (0)
[   320.410] (**) |   |-->Monitor "Monitor0"
[   320.411] (**) |   |-->Device "Device0"
[   320.411] (**) |-->Input Device "Keyboard0"
[   320.411] (**) |-->Input Device "Mouse0"
[   320.411] (==) Automatically adding devices
[   320.411] (==) Automatically enabling devices
[   320.411] (==) Automatically adding GPU devices
[   320.411] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   320.411]    Entry deleted from font path.
[   320.411] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   320.411]    Entry deleted from font path.
[   320.411] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   320.411]    Entry deleted from font path.
[   320.411] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   320.411]    Entry deleted from font path.
[   320.411] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   320.411]    Entry deleted from font path.
[   320.411] (==) FontPath set to:
   /usr/share/fonts/X11/misc,
   /usr/share/fonts/X11/Type1,
   built-ins
[   320.411] (==) ModulePath set to "/usr/lib/xorg/modules"
[   320.411] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   320.411] (WW) Disabling Keyboard0
[   320.411] (WW) Disabling Mouse0
[   320.411] (II) Loader magic: 0x7fc185e4ed00
[   320.411] (II) Module ABI versions:
[   320.411]    X.Org ANSI C Emulation: 0.4
[   320.411]    X.Org Video Driver: 14.1
[   320.411]    X.Org XInput driver : 19.1
[   320.411]    X.Org Server Extension : 7.0
[   320.411] (II) xfree86: Adding drm device (/dev/dri/card0)
[   320.414] (--) PCI:*(0:0:2:0) 8086:0116:1028:04b8 rev 9, Mem @ 0xf2400000/4194304, 0xe0000000/268435456, I/O @ 0x00005000/64
[   320.414] (--) PCI: (0:1:0:0) 10de:0dd6:1028:04b8 rev 161, Mem @ 0xf0000000/33554432, 0xc0000000/268435456, 0xd0000000/67108864, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   320.414] (II) Open ACPI successful (/var/run/acpid.socket)
[   320.414] Initializing built-in extension Generic Event Extension
[   320.414] Initializing built-in extension SHAPE
[   320.414] Initializing built-in extension MIT-SHM
[   320.414] Initializing built-in extension XInputExtension
[   320.414] Initializing built-in extension XTEST
[   320.414] Initializing built-in extension BIG-REQUESTS
[   320.414] Initializing built-in extension SYNC
[   320.414] Initializing built-in extension XKEYBOARD
[   320.414] Initializing built-in extension XC-MISC
[   320.414] Initializing built-in extension SECURITY
[   320.414] Initializing built-in extension XINERAMA
[   320.414] Initializing built-in extension XFIXES
[   320.414] Initializing built-in extension RENDER
[   320.414] Initializing built-in extension RANDR
[   320.414] Initializing built-in extension COMPOSITE
[   320.414] Initializing built-in extension DAMAGE
[   320.414] Initializing built-in extension MIT-SCREEN-SAVER
[   320.414] Initializing built-in extension DOUBLE-BUFFER
[   320.414] Initializing built-in extension RECORD
[   320.414] Initializing built-in extension DPMS
[   320.414] Initializing built-in extension X-Resource
[   320.414] Initializing built-in extension XVideo
[   320.414] Initializing built-in extension XVideo-MotionCompensation
[   320.414] Initializing built-in extension SELinux
[   320.414] Initializing built-in extension XFree86-VidModeExtension
[   320.414] Initializing built-in extension XFree86-DGA
[   320.414] Initializing built-in extension XFree86-DRI
[   320.414] Initializing built-in extension DRI2
[   320.414] (II) LoadModule: "glx"
[   320.415] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[   320.429] (II) Module glx: vendor="NVIDIA Corporation"
[   320.430]    compiled for 4.0.2, module version = 1.0.0
[   320.430]    Module class: X.Org Server Extension
[   320.430] (II) NVIDIA GLX Module  319.72  Wed Oct 30 17:39:53 PDT 2013
[   320.430] Loading extension GLX
[   320.430] (II) LoadModule: "nvidia"
[   320.430] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   320.430] (II) Module nvidia: vendor="NVIDIA Corporation"
[   320.430]    compiled for 4.0.2, module version = 1.0.0
[   320.430]    Module class: X.Org Video Driver
[   320.434] (II) NVIDIA dlloader X Driver  319.72  Wed Oct 30 17:19:14 PDT 2013
[   320.434] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   320.434] (++) using VT number 8

[   320.440] (II) Loading sub module "fb"
[   320.441] (II) LoadModule: "fb"
[   320.441] (II) Loading /usr/lib/xorg/modules/libfb.so
[   320.441] (II) Module fb: vendor="X.Org Foundation"
[   320.441]    compiled for 1.14.3, module version = 1.0.0
[   320.441]    ABI class: X.Org ANSI C Emulation, version 0.4
[   320.441] (WW) Unresolved symbol: fbGetGCPrivateKey
[   320.441] (II) Loading sub module "wfb"
[   320.441] (II) LoadModule: "wfb"
[   320.441] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   320.441] (II) Module wfb: vendor="X.Org Foundation"
[   320.441]    compiled for 1.14.3, module version = 1.0.0
[   320.441]    ABI class: X.Org ANSI C Emulation, version 0.4
[   320.441] (II) Loading sub module "shadow"
[   320.441] (II) LoadModule: "shadow"
[   320.442] (II) Loading /usr/lib/xorg/modules/libshadow.so
[   320.442] (II) Module shadow: vendor="X.Org Foundation"
[   320.442]    compiled for 1.14.3, module version = 1.1.0
[   320.442]    ABI class: X.Org ANSI C Emulation, version 0.4
[   320.442] (II) Loading sub module "ramdac"
[   320.442] (II) LoadModule: "ramdac"
[   320.442] (II) Module "ramdac" already built-in
[   320.442] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   320.442] (==) NVIDIA(0): RGB weight 888
[   320.442] (==) NVIDIA(0): Default visual is TrueColor
[   320.442] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   320.442] (**) NVIDIA(0): Enabling 2D acceleration
[   320.448] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
[   320.448] (EE) NVIDIA(0):     system's kernel log for additional error messages and
[   320.448] (EE) NVIDIA(0):     consult the NVIDIA README for details.
[   320.448] (EE) NVIDIA(0):  *** Aborting ***
[   320.448] (EE) NVIDIA(0): Failing initialization of X screen 0
[   320.448] (II) UnloadModule: "nvidia"
[   320.448] (II) UnloadSubModule: "shadow"
[   320.448] (II) UnloadSubModule: "wfb"
[   320.448] (II) UnloadSubModule: "fb"
[   320.448] (EE) Screen(s) found, but none have a usable configuration.
[   320.448] (EE)
Fatal server error:
[   320.448] (EE) no screens found(EE)
[   320.448] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   320.448] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   320.448] (EE)
[   320.460] (EE) Server terminated with error (1). Closing log file.


Any help is appreciated.

Thanks,
K

kaamos
Level 1
Level 1
Posts: 37
Joined: Thu Jan 26, 2012 12:32 am
Location: Middle Earth

Re: Default Nvidia drivers not working, needs manual Xorg co

Postby kaamos » Sat Apr 19, 2014 9:40 pm

It is the xserver-xorg-video-nvidia package that gives the following message(best as I can remember) during bumblebee installation:

Nvidia driver is not being currently used, please set the xorg.conf file in /etc/X11/ to make it so...

It is one line.

I also have a reason to believe that the github notes didn't work, because the xorg.conf file was not set up when I last set up bumblebee as it falls back on nouveau drivers if nvidia is not being loaded.


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 3 guests