Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dri does not start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
dhris
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2004
Posts: 90

PostPosted: Tue Jan 25, 2005 4:38 am    Post subject: dri does not start Reply with quote

Hello, hopefully somebody can help me out here. For some reason, I can't get dri to start up properly. I have it loading in my xorg.conf and everything. Here is my glxinfo:
Code:
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.4 Mesa 5.0.2)
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  1 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  1 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  1 0 None

Yes, I do have load "dri" in my xorg.conf, yes I do have the permissions set correctly for it. I have noDRI set to "no". I have tried this with and without dri compiled into the kernel. Here is the relevant part of my xorg.log:
Code:
(II) fglrx(0): [drm] register handle = 0xe9000000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe1887000 at 0xb7d3d000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *

I have a Radeon 9200 PCI. The thing is that I was having this same problem before I installed the new ati drivers. I don't know what's wrong. Anybody have any ideas?
Back to top
View user's profile Send private message
dhris
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2004
Posts: 90

PostPosted: Wed Jan 26, 2005 4:46 am    Post subject: Reply with quote

:cry:
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 26, 2005 11:08 am    Post subject: Reply with quote

If you're using the drivers own AGP support ("UseInternalAGPGART" is "yes"), try setting "UseInternalAGPGART" to "no", which will tell it use the kernels AGP support. Remember to load the kernel AGP modules first.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
dhris
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2004
Posts: 90

PostPosted: Wed Jan 26, 2005 5:00 pm    Post subject: Reply with quote

Wedge_ wrote:
If you're using the drivers own AGP support ("UseInternalAGPGART" is "yes"), try setting "UseInternalAGPGART" to "no", which will tell it use the kernels AGP support. Remember to load the kernel AGP modules first.

Well, I have a PCI video card so I haven't got any AGP stuff going on at all. I believe I have UseInternalAGPGART set to no already, but I will look again. Thanks!
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Jan 26, 2005 5:03 pm    Post subject: Reply with quote

Sorry, I didn't see that last line in your first post. Did you manage to get DRI working with the previous version of the ati-drivers? I remember you had a lot of trouble with it. Did you change anything when you upgraded? Have you tried the kernel DRI support at all?
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
dhris
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2004
Posts: 90

PostPosted: Thu Jan 27, 2005 12:23 am    Post subject: Reply with quote

Wedge_ wrote:
Sorry, I didn't see that last line in your first post. Did you manage to get DRI working with the previous version of the ati-drivers? I remember you had a lot of trouble with it. Did you change anything when you upgraded? Have you tried the kernel DRI support at all?

I did have DRI working previously, but not well. I didn't quite know what I was doing at the time (much like now), so I had emerged the ati-drivers but had never done the opengl-update. I could get UT2004 to run (which is the goal of all this) but at like 1 fps (seriously 1). On top of that, for some reason enabling dri seemed to cause refresh rate fluctuations that turned off my monitor. So I turned off DRI and decided to wait for the new drivers before I gave it another go. Ever since then, I have not been able to turn DRI back on. I've followed your Radeon FAQ (nice job by the way!), using the recommended kernel settings, etc, but it has made no difference.

Do you think it's possible that it's like the error message says and there's something wrong with my libdri.a file? If so, how does one fix that?
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Jan 27, 2005 12:26 am    Post subject: Reply with quote

Which error message did you get that mentioned libdri.a? From what application?
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
dhris
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2004
Posts: 90

PostPosted: Thu Jan 27, 2005 4:14 am    Post subject: Reply with quote

Well, nothing mentioned it explicitly, but I took the error message I posted to mean there might be a problem with libdri.a. If it helps, here's what it says when I try to start UT2004
Code:
bash-2.05b$ ut2004
WARNING: ALC_EXT_capture is subject to change!
Couldn't set video mode: Couldn't find matching GLX visual


History:

Exiting due to error
bash-2.05b$

Of course, this is probably because of the dri: no, so it probably does not help.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Jan 27, 2005 11:07 am    Post subject: Reply with quote

Do you have any errors or warnings earlier in your Xorg log (before the ones you posted above)?
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
dhris
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2004
Posts: 90

PostPosted: Sun Jan 30, 2005 12:16 am    Post subject: Reply with quote

Well, I can't find any obvious errors, but here's the part right before the DRI error. Dunno if any of this is helpful. It seems to want XFree86 but since I have Xorg, I figured it was irrelevant that it can't find the XFree version. The other thing I notice is that I seemed to have this DDC module compiled into the kernel, so I'll try it without that. Thanks again man.

Code:
(WW) fglrx(0): Cannot read colourmap from VGA.  Will restore with default
(II) fglrx(0): UMM area:     0xd0501000 (size=0x07aff000)
(II) fglrx(0): driver needs XFree86 version: 4.3.x
(WW) fglrx(0): could not detect XFree86 version (query_status=-3)
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:6:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe1887000
(II) fglrx(0): [drm] mapped SAREA 0xe1887000 to 0xb7d3d000
(II) fglrx(0): [drm] framebuffer handle = 0xd0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0):     Name: fglrx
(II) fglrx(0):     Version: 3.14.6
(II) fglrx(0):     Date: Oct 30 2004
(II) fglrx(0):     Desc: ATI Fire GL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0):     Build-Kernel UTS_RELEASE:        2.6.9-gentoo-r6
(II) fglrx(0):     Build-Kernel MODVERSIONS:        no
(II) fglrx(0):     Build-Kernel __SMP__:            no
(II) fglrx(0):     Build-Kernel PAGE_SIZE:          0x1000
(II) fglrx(0): [drm] register handle = 0xe9000000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe1887000 at 0xb7d3d000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xd0000000 FBMappedSize: 0x08000000
(II) fglrx(0): FBMM initialized for area (0,0)-(1024,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1024,768) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 768)
(II) fglrx(0): Largest offscreen area available: 1024 x 7419
(**) Option "dpms"
(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        Solid Horizontal and Vertical Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): Direct rendering disabled
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Jan 30, 2005 12:47 am    Post subject: Reply with quote

dhris wrote:
Well, I can't find any obvious errors, but here's the part right before the DRI error. Dunno if any of this is helpful. It seems to want XFree86 but since I have Xorg, I figured it was irrelevant that it can't find the XFree version.

Yes, you can ignore that.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
dhris
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2004
Posts: 90

PostPosted: Sun Jan 30, 2005 11:06 pm    Post subject: Reply with quote

Ok, I'm almost at the pack-in point. I have found other people who got the same message, but their problem is either not the same as mine or they didn't find a solution. It's a total stumper. I know the video card works because I have a dual boot system and it works fine on Windows. Weird.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Jan 30, 2005 11:53 pm    Post subject: Reply with quote

I've suggested this before, but you maybe missed it - have you tried using the kernel radeon driver? It definitely has PCI support and will work with a Radeon 9200.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players 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