On 9/25/06, Sergio Polini <[EMAIL PROTECTED]> wrote:
Mark Knecht:
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 6, (OK)

Great! ;-)

I've lost DRI when I've switched to modular X.
I see in Xorg.0.log:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
...
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.

Please, could you tell me:
i) kernel version;
ii) the relevant settings in your kernel .config, for instance:
  CONFIG_MTRR
  CONFIG_AGP
  CONFIG_AGP_AMD64
  CONFIG_AGP_INTEL
  CONFIG_DRM
iii) mesa version;
iv) have you emerged x11-drm?
v) your "Device" section in xorg.conf;
vi) whatever info you think could help me ;-)

Thanks
Sergio


Hi Sergio,
  Hope this helps. Let me knowif you need or want anything else.

Cheers,
Mark

  The kernel is from the proaudio overlay:

lightning src # uname -a
Linux lightning 2.6.17-rt5 #2 PREEMPT Mon Sep 11 10:54:03 PDT 2006
x86_64 AMD Athlon(tm) 64 Processor 3000+ GNU/Linux
lightning src #


lightning src # cat linux/.config | grep CONFIG_MTRR
CONFIG_MTRR=y
lightning src #

CONFIG_AGP_AMD64=y
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
lightning src #

lightning src # cat linux/.config | grep CONFIG_AMD64
lightning src #

CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
lightning src #

lightning src # eix drm
* games-arcade/ddrmat
    Available versions:  !0.12
    Installed:           none
    Homepage:            http://www.icculus.org/pyddr/
    Description:         Kernel module for parallel port Playstation
joystick (i.e. DDR mats) adapters

* x11-base/x11-drm
    Available versions:  !4.3.0-r7:2.6.14-hardened-r8
~20050502:2.6.14-hardened-r8 ~20050807 ~20051028 ~20051223 20060608
    Installed:           none
    Homepage:            http://dri.sf.net
    Description:         DRM Kernel Modules for X11

* x11-libs/libdrm
    Available versions:  2.0.1 ~2.0.2
    Installed:           2.0.1
    Homepage:            http://dri.freedesktop.org/
    Description:         X.Org libdrm library

Found 3 matches.
lightning src #


lightning src # eix -I mesa
* media-libs/mesa
    Available versions:  6.4.2-r2 ~6.5-r3 ~6.5-r4 ~6.5.1 ~6.5.1-r1
    Installed:           6.4.2-r2
    Homepage:            http://mesa3d.sourceforge.net/
    Description:         OpenGL-like graphic library for Linux

* x11-apps/mesa-progs
    Available versions:  6.4.2 ~6.5 ~6.5.1
    Installed:           6.4.2
    Homepage:            http://mesa3d.sourceforge.net/
    Description:         Mesa's OpenGL utility and demo programs
(like glxgears)

Found 2 matches.
lightning src #


Section "Module"

# This loads the DBE extension module.

   Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
   SubSection  "extmod"
     Option    "omit xfree86-dga"   # don't initialise the DGA extension
   EndSubSection

# This loads the font modules
#    Load        "type1"
#    Load        "speedo"
   Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
   Load       "glx"
# This loads the DRI module
   Load       "dri"

EndSection


# Device configured by xorgconfig:

Section "Device"
   Identifier  "** ATI Radeon (generic)               [radeon]"
   Driver      "radeon"
   #VideoRam    65536
   # Insert Clocks lines here if appropriate
EndSection


Section "DRI"
  Mode 0666
EndSection



lightning src # glxgears
Unknown device ID 5B60, please report. Assuming plain R300.
*********************************WARN_ONCE*********************************
File r300_state.c function r300Enable line 456
TODO - double side stencil !
***************************************************************************
No ctx->FragmentProgram._Current!!
*********************************WARN_ONCE*********************************
File r300_render.c function r300_get_num_verts line 188
user error: Need more than 2 vertices to draw primitive QS !
***************************************************************************
6422 frames in 5.0 seconds = 1284.247 FPS
6420 frames in 5.0 seconds = 1283.953 FPS
6421 frames in 5.0 seconds = 1284.129 FPS
6415 frames in 5.0 seconds = 1282.975 FPS

lightning src #
--
[email protected] mailing list

Reply via email to