Bug 24004 - Xorg fails to start with "(EE) [drm] failed to open device"
Summary: Xorg fails to start with "(EE) [drm] failed to open device"
Status: CLOSED WORKSFORME
Alias: None
Product: Sisyphus
Classification: Development
Component: xorg-dri-nouveau (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Valery Inozemtsev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 20:09 MSD by arc@altlinux.org
Modified: 2010-10-04 12:36 MSD (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arc@altlinux.org 2010-09-01 20:09:16 MSD
на свежем сизифе
http://nouveau.freedesktop.org/wiki/TroubleShooting#Xorgfailstostartwith.22.28EE.29.5Bdrm.5Dfailedtoopendevice.22
1. Xorg fails to start with "(EE) [drm] failed to open device"

Did you miss the basic question "Are you using the latest code" above ? If you are using a 2.6.33 kernel from kernel.org , that nouveau code is not compatible with libdrm 2.4.18 or git. Either upgrade nouveau drm code (see InstallDRM) or use an old git version of libdrm and DDX, 2010-02-15 or older.

The problem can also happen the other way around, with a libdrm too old compared to the other components. If you built libdrm yourself, the system' libdrm could still be used to load the nouveau X11 driver. Just run the ldd command on nouveau_drv.so to check the libdrm and libdrm_nouveau libraries listed there are the ones you installed, and not the system ones.

Here is an example with libdrm compiled and installed to /usr/local:

    *

      $ ldd /usr/lib/xorg/modules/drivers/nouveau_drv.so
      ...
              libdrm_nouveau.so.1 => /usr/local/lib/libdrm_nouveau.so.1 (0x00007f3cca1bc000)
              libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0x00007f3cc9c5c000)
      ...
Comment 1 Valery Inozemtsev 2010-09-01 20:21:08 MSD
теперь еще раз и своими словами
Comment 2 Alexander Aksarin 2010-09-28 14:43:50 MSD
2 arc@altlinux.org: попробуй ядро посвежее, скорее всего libdrm слишком свежий.
Comment 3 Valery Inozemtsev 2010-10-04 12:35:28 MSD
видимо ему уже не надо