Skip to contentSkip to conversation

kms etc nouveau X failed

DISCUSSION Sebastian Glita 2 participants 3 messages Nov 27, 2012 – Dec 2, 2012 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

My X setup with nouveau fails for some time now.

user@localhost ~ $ lspci -vknn

 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G72M [Quadro NVS 110M/GeForce Go 7300] [10de:01d7] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Toshiba America Info Systems Device [1179:ff02]
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at dd000000 (32-bit, non-prefetchable) [size=16M]
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Memory at dc000000 (64-bit, non-prefetchable) [size=16M]
    Capabilities: [60] Power Management version 2
    Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [78] Express Endpoint, MSI 00
    Capabilities: [100] Virtual Channel
    Capabilities: [128] Power Budgeting <?>
    Kernel driver in use: nouveau

user@localhost ~ $ cat /var/log/Xorg.0.log

[ 63179.180] 
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 63179.180] X Protocol Version 11, Revision 0
[ 63179.180] Build Operating System: Linux 3.6.8-pf x86_64 Gentoo
[ 63179.180] Current Operating System: Linux localhost 3.6.9-pf #1 SMP PREEMPT Tue Nov 20 22:45:49 EET 2012 x86_64
[ 63179.180] Kernel command line: auto BOOT_IMAGE=Gentoo3.6 ro root=100 dolvm real_root=/dev/mapper/root usbcore.autosuspend=1 pcie_aspm.policy=powersave acpi_osi=Linux processor.max_cstate=2 snd_hda_intel.index=0 snd_hda_intel.model=toshiba snd_hda_intel.power_save=1 selinux=0 quiet init_opts=3 root_key=rootkey root_keydev=/dev/sda3 tpm_tis.itpm=yes resume=swap:/dev/sda6 fbcon=scrollback:256k splash=verbose,theme:tuxonice
[ 63179.180] Build Date: 11 November 2012  06:38:46PM
[ 63179.180]  
[ 63179.180] Current version of pixman: 0.29.1
[ 63179.180]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[ 63179.180] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 63179.180] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 27 16:04:06 2012
[ 63179.180] (==) Using config file: "/etc/X11/xorg.conf"
[ 63179.180] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 63179.180] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 63179.182] (**) Option "defaultserverlayout" "SV"
[ 63179.182] (++) ServerLayout "SV"
[ 63179.182] (**) |-->Screen "Console0" (0)
[ 63179.182] (**) |   |-->Monitor "LCD 15.4'' WXGA"
[ 63179.182] (**) |   |-->Device "NVIDIA NV46 (Factory)"
[ 63179.182] (**) Option "DontVTSwitch" "false"
[ 63179.182] (**) Option "DontZap" "true"
[ 63179.182] (**) Option "DontZoom" "true"
[ 63179.182] (**) Option "AllowNonLocalXvidtune" "off"
[ 63179.182] (**) Option "AllowMouseOpenFail"
[ 63179.182] (**) Option "AIGLX" "on"
[ 63179.182] (**) Option "UseDefaultFontPath" "false"
[ 63179.182] (**) Option "AutoAddDevices" "true"
[ 63179.182] (**) Option "AutoEnableDevices" "true"
[ 63179.182] (**) Automatically adding devices
[ 63179.182] (**) Automatically enabling devices
[ 63179.182] (==) Automatically adding GPU devices
[ 63179.183] (**) FontPath set to:

    /usr/share/fonts/misc,
    /usr/share/fonts/75dpi,
    /usr/share/fonts/100dpi,
    /usr/share/fonts/cronyx/misc/:unscaled,
    /usr/share/fonts/cronyx/100dpi/:unscaled,
    /usr/share/fonts/cronyx/75dpi/:unscaled,

[ 63179.183] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 63179.183] (**) Extension "RANDR" is enabled
[ 63179.183] (**) Extension "RENDER" is enabled
[ 63179.183] (**) Extension "DAMAGE" is enabled
[ 63179.183] (**) Extension "XTEST" is enabled
[ 63179.183] (**) Extension "XVideo" is enabled
[ 63179.183] (**) Extension "Composite" is enabled
[ 63179.183] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 63179.183] (II) Loader magic: 0x809c00
[ 63179.183] (II) Module ABI versions:
[ 63179.183]     X.Org ANSI C Emulation: 0.4
[ 63179.183]     X.Org Video Driver: 13.0
[ 63179.183]     X.Org XInput driver : 18.0
[ 63179.183]     X.Org Server Extension : 7.0
[ 63179.184] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 63179.186] (--) PCI:*(0:1:0:0) 10de:01d7:1179:ff02 rev 161, Mem @ 0xdd000000/16777216, 0xc0000000/268435456, 0xdc000000/16777216
[ 63179.186] (II) Open ACPI successful (/var/run/acpid.socket)
[ 63179.186] Initializing built-in extension Generic Event Extension
[ 63179.186] Initializing built-in extension SHAPE
[ 63179.186] Initializing built-in extension MIT-SHM
[ 63179.186] Initializing built-in extension XInputExtension
[ 63179.186] Initializing built-in extension XTEST
[ 63179.186] Initializing built-in extension BIG-REQUESTS
[ 63179.186] Initializing built-in extension SYNC
[ 63179.186] Initializing built-in extension XKEYBOARD
[ 63179.186] Initializing built-in extension XC-MISC
[ 63179.186] Initializing built-in extension XINERAMA
[ 63179.186] Initializing built-in extension XFIXES
[ 63179.186] Initializing built-in extension RENDER
[ 63179.186] Initializing built-in extension RANDR
[ 63179.186] Initializing built-in extension COMPOSITE
[ 63179.186] Initializing built-in extension DAMAGE
[ 63179.186] Initializing built-in extension MIT-SCREEN-SAVER
[ 63179.186] Initializing built-in extension DOUBLE-BUFFER
[ 63179.186] Initializing built-in extension RECORD
[ 63179.186] Initializing built-in extension DPMS
[ 63179.186] Initializing built-in extension X-Resource
[ 63179.186] Initializing built-in extension XVideo
[ 63179.186] Initializing built-in extension XVideo-MotionCompensation
[ 63179.186] Initializing built-in extension XFree86-VidModeExtension
[ 63179.186] Initializing built-in extension XFree86-DGA
[ 63179.186] Initializing built-in extension XFree86-DRI
[ 63179.186] Initializing built-in extension DRI2
[ 63179.186] (II) "glx" will be loaded by default.
[ 63179.186] (II) LoadModule: "extmod"
[ 63179.186] (II) Module "extmod" already built-in
[ 63179.186] (II) LoadModule: "glx"
[ 63179.186] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 63179.187] (II) Module glx: vendor="X.Org Foundation"
[ 63179.187]     compiled for 1.13.0, module version = 1.0.0
[ 63179.187]     ABI class: X.Org Server Extension, version 7.0
[ 63179.187] (**) AIGLX enabled
[ 63179.187] Loading extension GLX
[ 63179.187] (II) LoadModule: "nouveau"
[ 63179.187] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 63179.187] (II) Module nouveau: vendor="X.Org Foundation"
[ 63179.187]     compiled for 1.13.0, module version = 1.0.4
[ 63179.187]     Module class: X.Org Video Driver
[ 63179.187]     ABI class: X.Org Video Driver, version 13.0
[ 63179.187] (II) NOUVEAU driver 
[ 63179.187] (II) NOUVEAU driver for NVIDIA chipset families :
[ 63179.187]     RIVA TNT        (NV04)
[ 63179.187]     RIVA TNT2       (NV05)
[ 63179.187]     GeForce 256     (NV10)
[ 63179.187]     GeForce 2       (NV11, NV15)
[ 63179.187]     GeForce 4MX     (NV17, NV18)
[ 63179.187]     GeForce 3       (NV20)
[ 63179.187]     GeForce 4Ti     (NV25, NV28)
[ 63179.187]     GeForce FX      (NV3x)
[ 63179.187]     GeForce 6       (NV4x)
[ 63179.187]     GeForce 7       (G7x)
[ 63179.187]     GeForce 8       (G8x)
[ 63179.187]     GeForce GTX 200 (NVA0)
[ 63179.187]     GeForce GTX 400 (NVC0)
[ 63179.187] (++) using VT number 7
[ 63179.191] (II) [drm] nouveau interface version: 1.0.0
[ 63179.191] (EE) No devices detected.
[ 63179.191] 
Fatal server error:
[ 63179.191] no screens found
[ 63179.191] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[ 63179.191] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 63179.191] (EE) 

user@localhost ~ $ cat /etc/X11/xorg.conf

Section "Screen"
    Identifier    "Console0"
    Device        "NVIDIA NV46 (Factory)"
    Monitor        "LCD 15.4'' WXGA"
    DefaultDepth    24

    SubSection    "Display"
        Visual        "TrueColor"
        Depth        24
        Modes        "1280x800"
        ViewPort    0 0
        Virtual        2560 2560
    EndSubSection
EndSection

Section "DRI"
    Group        "video"
    Mode        0660
EndSection

Section "ServerFlags"
    Option        "AutoAddDevices"    "true"
    Option        "AutoEnableDevices"    "true"

    Option        "AllowMouseOpenFail"

    Option        "DontZap"        "true"
    Option        "DontVTSwitch"    "false"
    Option        "DontZoom"        "true"

#    Option        "DisableVidModeExtension" Option        "AllowNonLocalXvidtune"    "off"

    Option        "DisableModInDev"    "0"
    Option        "AllowNonLocalModInDev"    "0"

    Option        "DefaultServerLayout"    "SV"
    Option        "UseDefaultFontPath"    "false"

    Option        "AIGLX"            "on"

EndSection

Section "Extensions"
    Option        "RANDR"            "on"
    Option        "RENDER"        "on"
    Option        "DAMAGE"        "on"
    Option        "XTEST"            "on"

    Option        "XVideo"        "on"
    Option        "Composite"        "on"
EndSection

Section "Module"
    SubSection    "extmod"
        Option    "omit XFree86-DGA"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "SV"
    Screen        "Console0"        Absolute 0 0
EndSection

Section "Monitor"
    Identifier    "LCD 15.4'' WXGA"    # TFT laptop panel EndSection

Section "Device"
    Identifier    "NVIDIA NV46"
    Driver        "nv"
EndSection

Section "Device"
    Identifier    "NVIDIA NV46 (Factory)" VendorName    "NVIDIA Corp"
    Driver        "nouveau"
    Option        "Monitor-LVDS-1"    "LCD 15.4'' WXGA" Option        "HW_cursor"        "true" EndSection

user@localhost ~ # lsmod
Module                  Size  Used by
lru_cache               4128  1 drbd
phc_intel               8024  0
mperf                    928  1 phc_intel
kvm                   215348  1 kvm_intel uvcvideo               63768  0
videobuf2_vmalloc       1856  1 uvcvideo videobuf2_memops        1696  1 videobuf2_vmalloc videobuf2_core         20580  1 uvcvideo snd_hda_codec_realtek    52672  1
nouveau               803368  1
cfbfillrect             3424  1 nouveau
cfbimgblt               1920  1 nouveau
mxm_wmi                 1024  1 nouveau
wmi                     6852  2 mxm_wmi,nouveau cfbcopyarea             3232  1 nouveau i2c_algo_bit            4452  1 nouveau
ttm                    53092  1 nouveau drm_kms_helper         21952  1 nouveau
drm                   184400  3 ttm,drm_kms_helper,nouveau

I have the following installed.

libdrm-2.4.40 configured with --enable libkms
xf86-video-nouveau-1.0.4
xorg-server-1.13.0-r1

Appreciate any help.

Thanks,
Sebastian

A message that is not in the archive (sent off-list or not yet received): 1354028922.6600.YahooMailNeo-l7sgct7Iq2sbWpotXP+qY5OW+3bF1jUfVpNB7YpNyf8@public.gmane.org

#2 lore raw
Quoted 1 line · Sebastian Glita

Option "AutoEnableDevices" "true"

I had some problems before when I let X (together with udev) autoconfigure devices. So I always have the above option set to false. And I suggest you try that first, too. It might help.

Generally, the problem is that your device (the GPU itself) goes undetected:

[ 63179.191] (EE) No devices detected.
Signature · 1 line
Tyler

A message that is not in the archive (sent off-list or not yet received): 50B4DEB9.1050102-8Y23ZgqdBYRBDLzU/[email protected]

#4 lore raw

Hi,

I tried "AutoEnableDevices" to "false", but I got the same effect. Today I recompiled
the kernel 3.6.10 and removed the 'CONFIG_USB_OTG' option, I don't know if it has anything to do with it; and also I got the daily repository updates and IT STARTED!!!.

Thanks, until the next nouveau error ;|,
Sebastian

kernel-config-x86_64-3.6.10-pf    2012-12-02 11:54:26.860910055 +0200 renamed from kernel-config-x86_64-3.6.9-pf    2012-11-20 23:12:41.702162300 +0200 +0 -0
@@ -1,6 +1,6 @@

 #
 # Automatically generated file; DO NOT EDIT.
-# Linux/x86 3.6.6-pf Kernel Configuration
+# Linux/x86 3.6.10-pf Kernel Configuration
 #
 CONFIG_64BIT=y
 # CONFIG_X86_32 is not set
@@ -2370,7 +2370,7 @@
 #
 # CONFIG_USB_DYNAMIC_MINORS is not set
 CONFIG_USB_SUSPEND=y
-CONFIG_USB_OTG=y
+# CONFIG_USB_OTG is not set
 # CONFIG_USB_OTG_WHITELIST is not set
 # CONFIG_USB_OTG_BLACKLIST_HUB is not set
 # CONFIG_USB_MON is not set

----- Original Message -----

Quoted 19 lines

From: Tyler Durden <tylerdu-8Y23ZgqdBYRBDLzU/[email protected]>
To: Sebastian Glita <glseba-/[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Tuesday, November 27, 2012 5:39 PM
Subject: Re: [Nouveau] kms etc nouveau X failed

Quoted 1 line · Sebastian Glita

      Option        "AutoEnableDevices"    "true"

I had some problems before when I let X (together with udev) autoconfigure devices. So I always have the above option set to false. And I suggest you try that first, too. It might help.

Generally, the problem is that your device (the GPU itself) goes undetected:

[ 63179.191] (EE) No devices detected.

-- Tyler