[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#528311: xserver-xorg-video-savage: "[drm] Could not set DRM device bus ID." when applications tries to use drm



Actually it looks like it's working the first time somethings uses
DRI, but then fails afterwards:

poizan@garfield:~$ sudo X &
[1] 12054
poizan@garfield:~$
X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-10.lenny1)
Current Operating System: Linux garfield.tagmedia.dk
2.6.26-2-openvz-686 #1 SMP Thu Mar 26 03:55:11 UTC 2009 i686
Build Date: 15 March 2009  03:18:10PM

	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed May 13 15:29:06 2009
(==) Using config file: "/etc/X11/xorg.conf"
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
    [111] 640 x 480, 60Hz, 75Hz, 85Hz, 100Hz, 160Hz
    [114] 800 x 600, 60Hz, 75Hz, 85Hz
    [117] 1024 x 768, 60Hz, 70Hz, 75Hz, 85Hz, 100Hz, 130Hz
    [11a] 1280 x 1024, 60Hz, 75Hz, 85Hz, 100Hz
    [122] 1600 x 1200, 60Hz
(II) Module "ramdac" already built-in
[config/hal] couldn't initialise context: (null) ((null))

poizan@garfield:~$ glxinfo -display :0 | grep direct
direct rendering: Yes
poizan@garfield:~$ FreeFontPath: FPE "/usr/share/fonts/X11/misc"
refcount is 2, should be 1; fixing.
(EE) [drm] Could not set DRM device bus ID.
(EE) SAVAGE(0): [drm] DRIScreenInit failed.  Disabling DRI.
(EE) SAVAGE(0): DRI isn't enabled
[config/hal] couldn't initialise context: (null) ((null))

poizan@garfield:~$ glxinfo -display :0 | grep direct
direct rendering: No (If you want to find out why, try setting
LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect
poizan@garfield:~$ FreeFontPath: FPE "/usr/share/fonts/X11/misc"
refcount is 2, should be 1; fixing.
(EE) [drm] Could not set DRM device bus ID.
(EE) SAVAGE(0): [drm] DRIScreenInit failed.  Disabling DRI.
(EE) SAVAGE(0): DRI isn't enabled
[config/hal] couldn't initialise context: (null) ((null))

- Kasper

2009/5/13 Michel Dänzer <daenzer@debian.org>:
> On Wed, 2009-05-13 at 11:52 +0200, Kasper F. Brandt wrote:
>> Nope, thats the only one running
>>
>> poizan@garfield:~$ sudo lsof /dev/dri/card0
>> COMMAND   PID USER  FD   TYPE DEVICE SIZE NODE NAME
>> Xorg    10117 root mem    CHR  226,0      9838 /dev/dri/card0
>> poizan@garfield:~$ ps -ef | grep X
>> root     10117 10037  4 11:45 tty2     00:00:02 X
>
> Looking closer at the X log file, apparently DRI initialization works
> the first time but fails afterwards. So maybe the savage driver doesn't
> properly de-initialize the DRI on a server reset. Does the problem go
> away after restarting the X server? (If you're using a display manager,
> just logging out and back in may not be enough)
>
>
> --
> Earthling Michel Dänzer           |                http://www.vmware.com
> Libre software enthusiast         |          Debian, X and DRI developer
>



Reply to: