On Saturday 11 February 2006 21:25, Konstantin A. Lepikhov wrote:
> Hi Micha?!
>
> Saturday 11, at 09:09:01 PM you wrote:
> > Hi,
> >
> > I have noticed a strange problem after building cvs drm module.
> > I found that network card does now work any more, the reason is:
> >
> >
> > agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
> > agpgart: X tried to set rate=x12. Setting to AGP3 x8 mode.
> > agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
> > agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
> > [drm] Loading R300 Microcode
> > irq 16: nobody cared (try booting with the "irqpoll" option)
> >
> > Call Trace: <IRQ> <ffffffff8014ec70>{__report_bad_irq+48}
> > <ffffffff8014ef0e>{note_interrupt+593}
> >        <ffffffff8014e74c>{__do_IRQ+206} <ffffffff80110eec>{do_IRQ+45}
> >        <ffffffff8010ed1c>{ret_from_intr+0}  <EOI>
> > <ffffffff803ee07b>{thread_return+0}
> >        <ffffffff8010cb47>{default_idle+0}
> > <ffffffff8010cb7b>{default_idle+52} <ffffffff8010ccc5>{cpu_idle+63}
> > <ffffffff8054a78a>{start_kernel+465} <ffffffff8054a24c>{_sinittext+588}
> > handlers:
> > [<ffffffff80310ba0>] (rtl8169_interrupt+0x0/0x2af)
> > Disabling IRQ #16
>
> You may try to boot with pci=routeirq kernel parameter and see that helps.

Hi,

Thanks, it does help.

There are 3 things that make me wonder:

1. Previous drm module did not seem to make this problem occur, isn't there a 
bug anyway?
Besides that, in /proc/interrupts, still there are eth0 and radeon on the same 
irq:

           CPU0
  0:     872393    IO-APIC-edge  timer
  7:          2    IO-APIC-edge  parport0
  8:          0    IO-APIC-edge  rtc
  9:          0   IO-APIC-level  acpi
 14:       7390    IO-APIC-edge  ide0
 15:       7555    IO-APIC-edge  ide1
 16:          0   IO-APIC-level  cx88[0]
 17:      53638   IO-APIC-level  eth0, [EMAIL PROTECTED]:0000:01:00.0
 19:      15093   IO-APIC-level  ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, 
uhci_hcd:usb4, uhci_hcd:usb5
 20:          0   IO-APIC-level  VIA8237
NMI:        124
LOC:     872129
ERR:          0
MIS:          0

2. On the other hand, the thing that stopped working was not radeon, but 
network card, should I bother developers of a driver for network card ?

3. Second dri problem: glxinfo says $ glxinfo
name of display: :0.0
libGL warning: 3D driver claims to not support visual 0x23
libGL warning: 3D driver claims to not support visual 0x24
libGL warning: 3D driver claims to not support visual 0x25
libGL warning: 3D driver claims to not support visual 0x26
libGL warning: 3D driver claims to not support visual 0x27
libGL warning: 3D driver claims to not support visual 0x28
libGL warning: 3D driver claims to not support visual 0x29
libGL warning: 3D driver claims to not support visual 0x2a
libGL warning: 3D driver claims to not support visual 0x2b
libGL warning: 3D driver claims to not support visual 0x2c
libGL warning: 3D driver claims to not support visual 0x2d
libGL warning: 3D driver claims to not support visual 0x2e
libGL warning: 3D driver claims to not support visual 0x2f
libGL warning: 3D driver claims to not support visual 0x30
libGL warning: 3D driver claims to not support visual 0x31
libGL warning: 3D driver claims to not support visual 0x32
Error: couldn't find RGB GLX visual

   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 16 tc  0 16  0 r  .  .  6  5  0  0  0 16  0  0  0  0  0  0 0 None
0x24 16 tc  0 16  0 r  .  .  6  5  0  0  0 16  8  0  0  0  0  0 0 Slow
0x25 16 tc  0 16  0 r  .  .  6  5  0  0  0 16  0 16 16 16  0  0 0 Slow
0x26 16 tc  0 16  0 r  .  .  6  5  0  0  0 16  8 16 16 16  0  0 0 Slow
0x27 16 tc  0 16  0 r  y  .  6  5  0  0  0 16  0  0  0  0  0  0 0 None
0x28 16 tc  0 16  0 r  y  .  6  5  0  0  0 16  8  0  0  0  0  0 0 Slow
0x29 16 tc  0 16  0 r  y  .  6  5  0  0  0 16  0 16 16 16  0  0 0 Slow
0x2a 16 tc  0 16  0 r  y  .  6  5  0  0  0 16  8 16 16 16  0  0 0 Slow
0x2b 16 dc  0 16  0 r  .  .  6  5  0  0  0 16  0  0  0  0  0  0 0 None
0x2c 16 dc  0 16  0 r  .  .  6  5  0  0  0 16  8  0  0  0  0  0 0 Slow
0x2d 16 dc  0 16  0 r  .  .  6  5  0  0  0 16  0 16 16 16  0  0 0 Slow
0x2e 16 dc  0 16  0 r  .  .  6  5  0  0  0 16  8 16 16 16  0  0 0 Slow
0x2f 16 dc  0 16  0 r  y  .  6  5  0  0  0 16  0  0  0  0  0  0 0 None
0x30 16 dc  0 16  0 r  y  .  6  5  0  0  0 16  8  0  0  0  0  0 0 Slow
0x31 16 dc  0 16  0 r  y  .  6  5  0  0  0 16  0 16 16 16  0  0 0 Slow
0x32 16 dc  0 16  0 r  y  .  6  5  0  0  0 16  8 16 16 16  0  0 0 Slow

And the output does not change much when drm is not loaded (still "Error: 
couldn't find RGB GLX visual" ), however xorg.log says:
(WW) RADEON(0): Enabling DRM support

        *** Direct rendering support is highly experimental for Radeon 9500
        *** and newer cards. The 3d mesa driver is not provided in this tree.
        *** A very experimental (and incomplete) version is available from 
Mesa CVS.
        *** Additional information can be found on http://r300.sourceforge.net
        *** This message has been last modified on 2005-08-07.

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) RADEON(0): [drm] loaded kernel module for "radeon" driver
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0x10000000
(II) RADEON(0): [drm] mapped SAREA 0x10000000 to 0x2aaab56a7000
(II) RADEON(0): [drm] framebuffer handle = 0xb0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000a0b [AGP 0x1106/0x0282; Card 0x1002/0x4153]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
(II) RADEON(0): [agp] ring handle = 0xd0000000
(II) RADEON(0): [agp] Ring mapped at 0x2aaab56a9000
(II) RADEON(0): [agp] ring read ptr handle = 0xd0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x2aaab57aa000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x2aaab57ab000
(II) RADEON(0): [agp] GART texture map handle = 0xd0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x2aaab59ab000
(II) RADEON(0): [drm] register handle = 0xcbef0000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): Depth moves disabled by default
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB GART aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for GART textures
(II) RADEON(0): Memory manager initialized to (0,0) (1280,8191)
(II) RADEON(0): Reserved area from (0,1024) to (1280,1026)
(II) RADEON(0): Largest offscreen area available: 1280 x 7165
(II) RADEON(0): Will use back buffer at offset 0xb00000
(II) RADEON(0): Will use depth buffer at offset 0xd80000
(II) RADEON(0): Will use 114688 kb for textures at offset 0x1000000
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and newer.
(II) RADEON(0): Render acceleration disabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                32 256x256 slots
                16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1026)
(II) RADEON(0): Largest offscreen area available: 1280 x 7158
(**) Option "dpms"
(**) RADEON(0): DPMS enabled
(II) RADEON(0): No video input capabilities detected and no information is 
provided - disabling multimedia i2c
(II) Loading sub module "theatre_detect"
(II) LoadModule: "theatre_detect"
(II) Loading /usr/lib64/xorg/modules/multimedia/theatre_detect_drv.so
(II) Module theatre_detect: vendor="X.Org Foundation"
        compiled for 4.3.99.902, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.8
(II) RADEON(0): no multimedia table present, disabling Rage Theatre.
(II) RADEON(0): X context handle = 0x1
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 17
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled

Only problem (appearing later on) is:

No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16
No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes 
= 16

Where to look for the root of the problem? Was libglx built incorrectly, or 
there is something missing in r300 for radeon 9550?
I have seen some people saying it works on amd64. I rebuilt my system from 
scratch to see if there is no problem with old X leftovers - still getting 
the same error...
Could the problem be related to ati binary driver (which does not work for me 
with modular x either, but (to gentoo users:) gentoo's portage installed 
it... for some reason... - i did not choose video_cards fglrx anywhere, just 
ati). Although it is removed now and problem still does occur, there might be 
something left... (not removed by portage, and missed by me).

Thanks for pci=routeirq, and thanks in advance,
Michał


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to