Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Updated Xorg, udev : missing /dev/dri/card0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
billmil
n00b
n00b


Joined: 06 Jan 2004
Posts: 72

PostPosted: Thu Oct 11, 2012 4:05 pm    Post subject: Updated Xorg, udev : missing /dev/dri/card0 Reply with quote

Hi all,

After nearly a year of not updating udev due to blocks and conflicts, I finally, succesffully 'emerged -uDN' and rebuilt everything, I thought, into a consistent status.

The system boots OK, but X will not start. The main problems appears to be missing /dev/dri/card0

This worked fine until this update.

I've seen similar posts but have not sucessfully applied their solutions

Any suggestions?

thanks

Context

  • Xorg 12.2
  • udev 194
  • nouveau
  • kernel 3l6.1
  • video card: old nvidia quadro nv17


Xorg version
Code:

# eix xorg-server:

[I] x11-base/xorg-server
     Available versions:  1.9.5-r1 1.10.6-r1 1.11.4-r1 1.12.2 ~1.12.3 ~1.12.4 ~1.13.0 {{dmx doc ipv6 kdrive minimal nptl selinux static-libs tslib +udev xnest xorg xvfb}}
     Installed versions:  1.12.2(04:42:01 09/27/12)(ipv6 nptl udev xorg -dmx -doc -kdrive -minimal -selinux -static-libs -tslib -xnest -xvfb)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org X servers


Udev
Code:
emerge -pv udev
[ebuild   R   ~] sys-fs/udev-194  USE="acl gudev hwdb openrc -doc -introspection -keymap (-selinux) -static-libs" 0 kB


make.conf
Code:
INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="nouveau"



kernel config options
Code:
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=m
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
CONFIG_DRM_NOUVEAU=m
CONFIG_DRM_NOUVEAU_BACKLIGHT=y


modprobe
modprobe nouveau returns status 1

Xorg.0.log
Code:

[  2657.106]
X.Org X Server 1.12.2
Release Date: 2012-05-29
[  2657.106] X Protocol Version 11, Revision 0
[  2657.106] Build Operating System: Linux 3.1.5-gentoo i686 Gentoo
[  2657.106] Current Operating System: Linux bmilbratz2 3.6.1-gentoo #2 SMP Wed Oct 10 15:35:39 CDT 2012 i686
[  2657.106] Kernel command line: root=/dev/sda14 doscsi
[  2657.106] Build Date: 27 September 2012  04:27:01AM
[  2657.106] 
[  2657.106] Current version of pixman: 0.26.0
[  2657.106]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  2657.106] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2657.106] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 10 16:24:11 2012
[  2657.106] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2657.107] (==) No Layout section.  Using the first Screen section.
[  2657.107] (==) No screen section available. Using defaults.
[  2657.107] (**) |-->Screen "Default Screen Section" (0)
[  2657.107] (**) |   |-->Monitor "<default monitor>"
[  2657.107] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[  2657.107] (==) Automatically adding devices
[  2657.107] (==) Automatically enabling devices
[  2657.107] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[  2657.107] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2657.107] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2657.107] (II) Loader magic: 0x81e5580
[  2657.107] (II) Module ABI versions:
[  2657.107]    X.Org ANSI C Emulation: 0.4
[  2657.107]    X.Org Video Driver: 12.0
[  2657.107]    X.Org XInput driver : 16.0
[  2657.107]    X.Org Server Extension : 6.0
[  2657.108] (--) PCI:*(0:1:0:0) 10de:017a:10de:0146 rev 163, Mem @ 0xf9000000/16777216, 0xec000000/67108864, 0xebd00000/524288, BIOS @ 0x????????/131072
[  2657.108] (--) PCI: (0:5:10:0) 109e:036e:0070:13eb rev 2, Mem @ 0xf8500000/4096
[  2657.108] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2657.108] (II) LoadModule: "extmod"
[  2657.109] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  2657.109] (II) Module extmod: vendor="X.Org Foundation"
[  2657.109]    compiled for 1.12.2, module version = 1.0.0
[  2657.109]    Module class: X.Org Server Extension
[  2657.109]    ABI class: X.Org Server Extension, version 6.0
[  2657.109] (II) Loading extension MIT-SCREEN-SAVER
[  2657.109] (II) Loading extension XFree86-VidModeExtension
[  2657.109] (II) Loading extension XFree86-DGA
[  2657.109] (II) Loading extension DPMS
[  2657.109] (II) Loading extension XVideo
[  2657.109] (II) Loading extension XVideo-MotionCompensation
[  2657.109] (II) Loading extension X-Resource
[  2657.109] (II) LoadModule: "dbe"
[  2657.109] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[  2657.109] (II) Module dbe: vendor="X.Org Foundation"
[  2657.109]    compiled for 1.12.2, module version = 1.0.0
[  2657.109]    Module class: X.Org Server Extension
[  2657.109]    ABI class: X.Org Server Extension, version 6.0
[  2657.110] (II) Loading extension DOUBLE-BUFFER
[  2657.110] (II) LoadModule: "glx"
[  2657.110] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2657.110] (II) Module glx: vendor="X.Org Foundation"
[  2657.110]    compiled for 1.12.2, module version = 1.0.0
[  2657.110]    ABI class: X.Org Server Extension, version 6.0
[  2657.110] (==) AIGLX enabled
[  2657.110] (II) Loading extension GLX
[  2657.110] (II) LoadModule: "record"
[  2657.110] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  2657.110] (II) Module record: vendor="X.Org Foundation"
[  2657.110]    compiled for 1.12.2, module version = 1.13.0
[  2657.110]    Module class: X.Org Server Extension
[  2657.110]    ABI class: X.Org Server Extension, version 6.0
[  2657.110] (II) Loading extension RECORD
[  2657.110] (II) LoadModule: "dri"
[  2657.112] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  2657.112] (II) Module dri: vendor="X.Org Foundation"
[  2657.112]    compiled for 1.12.2, module version = 1.0.0
[  2657.112]    ABI class: X.Org Server Extension, version 6.0
[  2657.112] (II) Loading extension XFree86-DRI
[  2657.112] (II) LoadModule: "dri2"
[  2657.113] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  2657.113] (II) Module dri2: vendor="X.Org Foundation"
[  2657.113]    compiled for 1.12.2, module version = 1.2.0
[  2657.113]    ABI class: X.Org Server Extension, version 6.0
[  2657.113] (II) Loading extension DRI2
[  2657.113] (==) Matched nouveau as autoconfigured driver 0
[  2657.113] (==) Matched nv as autoconfigured driver 1
[  2657.113] (==) Matched vesa as autoconfigured driver 2
[  2657.113] (==) Matched fbdev as autoconfigured driver 3
[  2657.113] (==) Assigned the driver to the xf86ConfigLayout
[  2657.113] (II) LoadModule: "nouveau"
[  2657.113] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  2657.113] (II) Module nouveau: vendor="X.Org Foundation"
[  2657.113]    compiled for 1.12.2, module version = 0.0.16
[  2657.113]    Module class: X.Org Video Driver
[  2657.113]    ABI class: X.Org Video Driver, version 12.0
[  2657.113] (II) LoadModule: "nv"
[  2657.114] (WW) Warning, couldn't open module nv
[  2657.114] (II) UnloadModule: "nv"
[  2657.114] (II) Unloading nv
[  2657.114] (EE) Failed to load module "nv" (module does not exist, 0)
[  2657.114] (II) LoadModule: "vesa"
[  2657.114] (WW) Warning, couldn't open module vesa
[  2657.114] (II) UnloadModule: "vesa"
[  2657.114] (II) Unloading vesa
[  2657.114] (EE) Failed to load module "vesa" (module does not exist, 0)
[  2657.114] (II) LoadModule: "fbdev"
[  2657.114] (WW) Warning, couldn't open module fbdev
[  2657.114] (II) UnloadModule: "fbdev"
[  2657.115] (II) Unloading fbdev
[  2657.115] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  2657.115] (II) NOUVEAU driver
[  2657.115] (II) NOUVEAU driver for NVIDIA chipset families :
[  2657.115]    RIVA TNT        (NV04)
[  2657.115]    RIVA TNT2       (NV05)
[  2657.115]    GeForce 256     (NV10)
[  2657.115]    GeForce 2       (NV11, NV15)
[  2657.115]    GeForce 4MX     (NV17, NV18)
[  2657.115]    GeForce 3       (NV20)
[  2657.115]    GeForce 4Ti     (NV25, NV28)
[  2657.115]    GeForce FX      (NV3x)
[  2657.115]    GeForce 6       (NV4x)
[  2657.115]    GeForce 7       (G7x)
[  2657.115]    GeForce 8       (G8x)
[  2657.115]    GeForce GTX 200 (NVA0)
[  2657.115]    GeForce GTX 400 (NVC0)
[  2657.115] (++) using VT number 7

[  2657.122] drmOpenDevice: node name is /dev/dri/card0
[  2657.127] [drm] failed to load kernel module "nouveau"
[  2657.127] (EE) [drm] failed to open device
[  2657.127] (EE) No devices detected.
[  2657.127]
Fatal server error:
[  2657.127] no screens found
[  2657.128]
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[  2657.128] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2657.128]

Back to top
View user's profile Send private message
benna86
n00b
n00b


Joined: 06 Feb 2009
Posts: 11

PostPosted: Thu Oct 11, 2012 5:58 pm    Post subject: Reply with quote

Try emerging
Code:
x11-drivers/xf86-video-vesa

or reemerging
Code:
x11-base/xorg-drivers

with useflag "video_cards_vesa"
Back to top
View user's profile Send private message
billmil
n00b
n00b


Joined: 06 Jan 2004
Posts: 72

PostPosted: Thu Oct 11, 2012 6:39 pm    Post subject: Reply with quote

Quote:

Try emerging
Code:
x11-drivers/xf86-video-vesa

or reemerging
Code:
x11-base/xorg-drivers

with useflag "video_cards_vesa"


That worked. Or at least got x running by logging in and typing "startx"

The main difference: The resolution decreased. Text looks huge


So what happened? Is the video card no-longer supported by nouveau?

thanks. a big help
Back to top
View user's profile Send private message
benna86
n00b
n00b


Joined: 06 Feb 2009
Posts: 11

PostPosted: Thu Oct 11, 2012 6:50 pm    Post subject: Reply with quote

I guess you are now using vesa as video driver, try running "glxinfo" to see what video driver is in use.
I never used niveau so I can't help. You could try reverting to an older version
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4799
Location: Saint Amant, Acadiana

PostPosted: Thu Oct 11, 2012 11:05 pm    Post subject: Reply with quote

Quote:
missing /dev/dri/card0


This is a kernel issue.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Sat Oct 13, 2012 11:20 am    Post subject: Reply with quote

You typically do not need the VESA framebuffer driver with
nouveau, because it has a bulit-in framebuffer driver.
But you can enable the not-driver-specific framebuffer
options and helpers, and the kernel will use any that the
bulit-in nouveau framebuffer driver and the card support.

What happens if you configure nouveau to be built-in instead
of a loadable module? (Enable KMS built-in, too.)

Look at dmesg, see if it detects the card, etc.

edit:
I listed the kernel options that work for me with nouveau
driving either of a couple of different Nvidia chips on kernels up
through 3.3.8 in this post:
http://forums.gentoo.org/viewtopic-p-7090312-highlight-nouveau.html#7090312
_________________
TIA
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1691
Location: Berlin, Germany

PostPosted: Sat Oct 13, 2012 11:58 pm    Post subject: Reply with quote

Does lspci -k show nouveau as kernel driver in use or nothing / something else?

What is the output to dmesg when you modprobe nouveau?
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 588

PostPosted: Mon Oct 15, 2012 9:08 pm    Post subject: Reply with quote

I would expect that nouveau would drive an NV 17 Quadro:
http://nouveau.freedesktop.org/wiki/CodeNames
_________________
TIA
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum