Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DRI/DRM in Kernel 2.6.0-test2?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Thu Jul 31, 2003 5:59 pm    Post subject: DRI/DRM in Kernel 2.6.0-test2? Reply with quote

I've been trying to get direct rendering in kernel 2.6.0-test2 without much success. I am using the kernel DRI support, with the appropriate driver for my card (Rage Mobility M3). I've found that emerging xfree-drm does not work with the 2.6 kernels. When I run glxinfo, I get this:
Code:
$ glxinfo
name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0  screen: 0
direct rendering: No

I am also reasonably sure it's not a problem in my XF86Config file, but here are the relevant parts:
Code:

Section "Module"

    Load       "dbe"
    Load       "type1"
    Load       "speedo"
    Load       "glx"
    Load       "dri"
    Load       "synaptics"
    Load       "extmod"

EndSection

Section "Device"
    Identifier  "ATI Rage Mobility"
    VendorName "Generic"
    Driver      "r128"
    VideoRam    16384
    # Insert Clocks lines here if appropriate
    BoardName "r128"
    Option "DPMS"
    Option "AGPMode" "1"
    Option "UseCCEFor2D" "false"
EndSection

Section "DRI"
   Mode 0666
EndSection

I already tried starting at 24, 16, and 8 bit color depth, but get the same glxinfo output regardless of which color depth I start with.

Has anyone got DRI/DRM going with the 2.6-test kernels?
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
ToucanMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2003
Posts: 97
Location: Montreal, Quebec

PostPosted: Thu Jul 31, 2003 6:27 pm    Post subject: Reply with quote

I believe that in kernels 2.6+ a sufficent DRM manager is available within the kernel. All you have to do is:
Code:
Character Devices -->
<*> /dev/agpgart (AGP support)  # or module, whatever
[*] your chipset
[*] Direct Rendering Manager (XFree86 DRI support)
<*> your video chipset

Then just recompile the kernel. Reboot and run glxinfo. You shout see:
direct rendering: Yes

I hope that helps. I'm able to run NWN just fine using that method.

Good Luck
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Thu Jul 31, 2003 7:23 pm    Post subject: Reply with quote

As it turned out, I already had those options enabled in my kernel as modules. Just for grins, I tried compiling my kernel with those options set up as modules (what I already had) and also with the DRM options directly compiled into the kernel. Unfortunately, it didn't seem to help at all. I'm getting the same output from glxinfo as I did before.

I have a Rage Mobility M3 in my laptop, using the r128 driver from the 2.6 kernel. I see that I neglected to make this clear in my original post. :oops:
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
ToucanMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2003
Posts: 97
Location: Montreal, Quebec

PostPosted: Thu Jul 31, 2003 8:33 pm    Post subject: Reply with quote

Strangely enough, I tried compiling support for agpgart DRM as modules and I lost direct rendering in glxinfo.

Something fishy is going on! Try compiling them into the kernel instead of modules.
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Thu Jul 31, 2003 9:16 pm    Post subject: Reply with quote

I tried compiling the DRM options directly into the kernel already. No luck.
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Fri Aug 01, 2003 8:47 pm    Post subject: Reply with quote

One more thing I tried: I emerged ati-drivers, but again I get the same message from glxinfo:

Code:
$ glxinfo
name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on 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_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    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.3 Mesa 4.0.4
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


_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
Jevin Sweval
n00b
n00b


Joined: 19 Jun 2003
Posts: 64
Location: Indiana

PostPosted: Tue Sep 02, 2003 9:47 pm    Post subject: Reply with quote

:cry: I have this same problem, same chipset.

Why isn't there clearer information about the 2.6 kernels? What to do for DRM, ALSA, and PCMCIA? It is so confusing for me! :cry:


Do you have an ereaser pointer on your laptop?
_________________
Help me! :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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