Loading ...
Sorry, an error occurred while loading the content.

Re: [linux-dell-laptops] Re: Finally got DRI working!

Expand Messages
  • Stephen Lau
    ... i had to do a fix to my agpgart drivers. if you check the archives, you´ll see where i show the code patch to do this i believe the latest kernel sources
    Message 1 of 15 , Jun 26, 2002
    • 0 Attachment
      ... i had to do a fix to my agpgart drivers. if you check the archives,
      you´ll see where i show the code patch to do this

      i believe the latest kernel sources have this patch included too

      -steve

      On Wed, Jun 19, 2002 at 12:37:47AM -0000, questioncolon wrote:
      > Hello,
      > After installing the GATOS drivers on my Inspiron 4000, XFree86.0.log
      > is still telling me that that AGP fails to initialize and falls back
      > to PCI mode. Interestingly enough, here's the output of dmesg | grep agp:
      >
      > Linux agpgart interface v0.99 (c) Jeff Hartmann
      > agpgart: Maximum main memory to use for agp memory: 203M
      > agpgart: unsupported bridge
      > agpgart: no supported devices found.
      >
      > Does this mean that it somehow didn't see the card in the AGP slot?
      > Doing an lspci | grep -i ati returns this:
      >
      > 01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
      > M3 AGP 2x (rev 02)
      >
      > What could this mean? Any solutions?
      >
      > Thanks,
      > John
      >
      > --- In linux-dell-laptops@y..., Stephen Lau <ldl@g...> wrote:
      > > drmOpenDevice: minor is 0
      > > drmOpenDevice: node name is /dev/dri/card0
      > > drmOpenDevice: open result is -1, (No such device)
      > > drmOpenDevice: Open failed
      > > drmOpenDevice: minor is 0
      > > drmOpenDevice: node name is /dev/dri/card0
      > > drmOpenDevice: open result is -1, (No such device)
      > > drmOpenDevice: Open failed
      > > drmOpenDevice: minor is 0
      > > drmOpenDevice: node name is /dev/dri/card0
      > > drmOpenDevice: open result is 7, (OK)
      > > drmGetBusid returned ''
      > > (II) R128(0): [drm] loaded kernel module for "r128" driver
      > > (II) R128(0): [drm] created "r128" driver at busid "PCI:1:0:0"
      > > (II) R128(0): [drm] added 8192 byte SAREA at 0xd28e2000
      > > (II) R128(0): [drm] mapped SAREA 0xd28e2000 to 0x40028000
      > > (II) R128(0): [drm] framebuffer handle = 0xe8000000
      > > (II) R128(0): [drm] added 1 reserved context for kernel
      > > (II) R128(0): [agp] Mode 0x1f000207 [AGP 0x8086/0x1130; Card
      > 0x1002/0x4d46]
      > > (II) R128(0): [agp] 8192 kB allocated with handle 0xd48e6000
      > > (II) R128(0): [agp] ring handle = 0xe4000000
      > > (II) R128(0): [agp] Ring mapped at 0x4225f000
      > > (II) R128(0): [agp] ring read ptr handle = 0xe4101000
      > > (II) R128(0): [agp] Ring read ptr mapped at 0x4002a000
      > > (II) R128(0): [agp] vertex/indirect buffers handle = 0xe4102000
      > > (II) R128(0): [agp] Vertex/indirect buffers mapped at 0x42360000
      > > (II) R128(0): [agp] AGP texture map handle = 0xe4302000
      > > (II) R128(0): [agp] AGP Texture map mapped at 0x42560000
      > > (II) R128(0): [drm] register handle = 0xfcffc000
      > > (II) R128(0): [dri] Visual configs initialized
      > >
      > > mmmmm.......yummy. :)
      > > try using the GATOS drivers.
      > >
      > > -steve
      > >
      > > On Thu, Feb 14, 2002 at 09:17:42AM -0800, John Timmers wrote:
      > > > ---(rick moranis)--- wrote:
      > > > > ok, well, the solution makes sense. I guess I was just being
      > stupid. First,
      > > > > i left Load DRI out of my xfconfig file. Second, i was building
      > agp, dri,
      > > > > and my rage 128 into the kernel instead of as a driver. That's
      > why char/drm
      > > > > wasn't in /lib/modules/2.4.17/kernel/drivers. I don't know what
      > I didn't
      > > > > notice that before. I copied my files over to my desktop and
      > then did a
      > > > > clean install of slackware thinking that it should work as soon
      > as i put the
      > > > > modules in. well, i got "version mismatch errors" that's when i
      > realized
      > > > > that it was using the drivers built into the kernel and that's
      > why the
      > > > > versions weren't correct. so anyway, dri and drm appear to be
      > working. for
      > > > > some reason agp isn't auto loading with the rest of the drivers
      > so i'll have
      > > > > to put that in rc.local. this is my only problem right now:
      > > > >
      > > > > (II) R128(0): Starting up Xvideo subsystems
      > > > > drmOpenDevice: minor is 0
      > > > > drmOpenDevice: node name is /dev/dri/card0
      > > > > drmOpenDevice: open result is 7, (OK)
      > > > > drmOpenDevice: minor is 0
      > > > > drmOpenDevice: node name is /dev/dri/card0
      > > > > drmOpenDevice: open result is 7, (OK)
      > > > > drmOpenDevice: minor is 0
      > > > > drmOpenDevice: node name is /dev/dri/card0
      > > > > drmOpenDevice: open result is 7, (OK)
      > > > > drmGetBusid returned ''
      > > > > (II) R128(0): [drm] created "r128" driver at busid "PCI:1:0:0"
      > > > > (II) R128(0): [drm] added 8192 byte SAREA at 0xd2847000
      > > > > (II) R128(0): [drm] mapped SAREA 0xd2847000 to 0x40015000
      > > > > (II) R128(0): [drm] framebuffer handle = 0xe8000000
      > > > > (II) R128(0): [drm] added 1 reserved context for kernel
      > > > > (WW) R128(0): [agp] AGP not available
      > > > > (WW) R128(0): [agp] AGP failed to initialize -- falling back to
      > PCI mode.
      > > > > (WW) R128(0): [agp] Make sure you have the agpgart kernel module
      > loaded.
      > > >
      > > > I get this (WW) warning like yours with my setup also -- can't figure
      > > > out how to resolve it.
      > > > Just thought you'd like to know you're not the only inspiron user who
      > > > has to sort out a few tiny problems with their equipment :-)
      > > > --
      > > > Regards:
      > > >
      > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
      > > > _/
      > > > _/ Linux User: 78321 http://counter.li.org http://timmers.bc.ca
      > > > _/
      > > >
      > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
      > > >
      > >
      > > --
      > > stephen lau :: [ldl@g...] :: www.grommit.com :: gpg key id: 0x09E5CD21
      >

      --
      stephen lau :: [ldl@...] :: gpg key id: 0x09E5CD21
      http://www.whacked.net/oss/ldl
    Your message has been successfully submitted and would be delivered to recipients shortly.