Announcement

Collapse
No announcement yet.

[drm] Could not set DRM device bus ID.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [drm] Could not set DRM device bus ID.

    Hello,

    I've just 'upgraded' from an AIW Rage Pro which used the r128 server
    and ran with DRI, to a ATI Radeon 8500 LE. I can't get this ATI server
    to use DRI. There is an error I see in the log, which talks
    about the 'DRM device bus ID' not being found.

    I'm new on this forum...How does one go about posting a full log with the 10000 charecter limit?


    ******************
    Here is lspci -v

    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R200 QL [Radeon 8500 LE] (prog-if 00 [VGA controller])
    Subsystem: ATI Technologies Inc Radeon R200 QL [Radeon 8500 LE]
    Flags: bus master, stepping, 66MHz, medium devsel, latency 64, IRQ 11
    Memory at <ignored> (32-bit, prefetchable)
    I/O ports at c000 [size=256]
    Memory at f1000000 (32-bit, non-prefetchable) [size=64K]
    Expansion ROM at f0000000 [disabled] [size=128K]
    Capabilities: [58] AGP version 2.0
    Capabilities: [50] Power Management version 2

    **Here below is a snippet of log, seems this is the problem.**

    drmGetBusid returned ''
    (II) [drm] DRM interface version 1.0
    (EE) [drm] Could not set DRM device bus ID.
    (EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.

    ** And there is this part. ****

    (II) Primary Device is: PCI 01:00:0
    (--) Assigning device section with no busID to primary device
    (--) Chipset ATI Radeon 8500 QL (AGP) found
    (II) resource ranges after xf86ClaimFixedResources() call:
    [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [4] -1 0 0xf2000000 - 0xf200007f (0x80) MX[B]
    [5] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[B]O
    [6] -1 0 0xf0000000 - 0xf001ffff (0x20000) MX[B](B)
    [7] -1 0 0xf1000000 - 0xf100ffff (0x10000) MX[B](B)
    [8] -1 0 0xc0000000 - 0xc0000000 (0x1) MX[B](B)
    [9] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
    [10] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
    [11] -1 0 0x0000e400 - 0x0000e407 (0x8) IX[B]
    [12] -1 0 0x0000e000 - 0x0000e01f (0x20) IX[B]
    [13] -1 0 0x0000dc00 - 0x0000dc3f (0x40) IX[B]
    [14] -1 0 0x0000d800 - 0x0000d87f (0x80) IX[B]
    [15] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[B]
    [16] -1 0 0x0000d000 - 0x0000d00f (0x10) IX[B]
    [17] -1 0 0x0000c000 - 0x0000c0ff (0x100) IX[B](B)
    (WW) ****INVALID MEM ALLOCATION**** b: 0xc0000000 e: 0xc0000000 correcting

  • #2
    Use pastebin (google) and post the link here.

    Which driver and version are you using ?

    Comment


    • #3
      Originally posted by bridgman View Post
      Which driver and version are you using ?
      From Xorg.0.log

      X.Org X Server 1.4.0.90
      Release Date: 5 September 2007
      X Protocol Version 11, Revision 0
      Build Operating System: Slackware 12.1 Slackware Linux Project
      Current Operating System: Linux ira 2.6.24.5 #2 Wed Apr 30 14:13:52 CDT 2008 i586

      ***************************************

      (II) LoadModule: "radeon"
      (II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
      (II) Module radeon: vendor="X.Org Foundation"
      compiled for 1.4.2, module version = 4.3.0
      Module class: X.Org Video Driver
      ABI class: X.Org Video Driver, version 2.0

      ***************************************

      Is this sufficient to answer your question?

      Driver - radeon module 4.3.0
      Xorg server version - 1.4.0.90

      Thanks for the pastebin tip, if you need it I'll try and post it here later.

      --UserX045

      Comment


      • #4
        Originally posted by bridgman View Post
        Use pastebin ...
        Sweet! Here you go:

        http://pastebin.com/m174ad4c2

        --UserX045

        Comment


        • #5
          Driver - radeon module 4.3.0
          Either the driver is not printing out the actual version number or you have a really old version. Current version is around 6.9.0.

          Where did you get the driver from ?

          Comment


          • #6
            Originally posted by bridgman View Post
            ... the driver is not printing out the actual version number ... Where did you get the driver from ?
            xf86-video-ati-6.9.0 is the Slackware-current package I have installed.

            Comment


            • #7
              Just as i got all of my info out there, this question seems to be dying out.

              I'm using the current X server, a pretty up to date kernel and libraries. And, I know that using an older r128 card and driver this setup can use DRI. Now with a newer r200 based card (Radeon 8500LE) I'm unable to use DRI.

              Anyone have experience with this type of error:
              (EE) [drm] Could not set DRM device bus ID.
              (EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.

              Thanks,

              BTW I've asked in the Xorg-users list and the DRI-users list, and it was suggested that this might be a more appropriate place to try and get help with this.

              --User0x45

              Comment


              • #8
                Have you tried building a newer drm? IIRC, the last time I saw this error it was from a user who compiled his drm with a different version of gcc than his kernel.

                Comment


                • #9
                  Originally posted by agd5f View Post
                  Have you tried building a newer drm? IIRC, the last time I saw this error it was from a user who compiled his drm with a different version of gcc than his kernel.
                  Hello, I just spent MLK Jr. Weekend wiping my machine and
                  installing a fresh Slackware 12.2

                  It uses X server 1.4.2

                  root# uname -r
                  2.6.27.7

                  It is all freshly compiled with gcc version 4.2.4

                  It is the same 'no DRI' message in the Xorg log:

                  Code:
                  (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.29.0
                  .....
                  drmGetBusid returned ''
                  (II) [drm] DRM interface version 1.0
                  (EE) [drm] Could not set DRM device bus ID.
                  (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
                  init memmap
                  init common
                  init crtc1
                  init pll1
                  freq: 135000000
                  best_freq: 135000000
                  best_feedback_div: 20
                  best_ref_div: 2
                  best_post_div: 2
                  restore memmap
                  (II) RADEON(0): RADEONRestoreMemMapRegisters() :
                  (II) RADEON(0):   MC_FB_LOCATION   : 0xc7ffc000 0x1fff0000
                  (II) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0
                  restore common
                  restore crtc1
                  restore pll1
                  finished PLL1
                  restore dac
                  (==) RADEON(0): Backing store disabled
                  (WW) RADEON(0): Direct rendering disabled
                  From lspci is the bus and the adapter

                  Code:
                  01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R200 QL [Radeon 8500 LE] (prog-if 00 [VGA controller])
                          Subsystem: ATI Technologies Inc Radeon R200 QL [Radeon 8500 LE]
                          Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
                          Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
                          Latency: 64 (2000ns min), Cache Line Size: 32 bytes
                          Interrupt: pin A routed to IRQ 11
                          Region 0: Memory at <ignored> (32-bit, prefetchable)
                          Region 1: I/O ports at c000 [size=256]
                          Region 2: Memory at f1000000 (32-bit, non-prefetchable) [size=64K]
                          Expansion ROM at f0000000 [disabled] [size=128K]
                          Capabilities: [58] AGP version 2.0
                                  Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2
                                  Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none>
                          Capabilities: [50] Power Management version 2
                                  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                                  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
                          Kernel modules: radeonfb
                  ..........
                  ..........
                  00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] (prog-if 00 [Normal decode])
                          Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
                          Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
                          Latency: 0
                          Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
                          I/O behind bridge: 0000c000-0000cfff
                          Memory behind bridge: f0000000-f1ffffff
                          Prefetchable memory behind bridge: c8000000-d7ffffff
                          Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
                          BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
                                  PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

                  Comment


                  • #10
                    Did you build a kernel with radeon drm support?

                    Comment


                    • #11
                      Originally posted by agd5f View Post
                      Did you build a kernel with radeon drm support?
                      Yup.

                      Code:
                      #
                      # Graphics support
                      #
                      CONFIG_AGP=m
                      # CONFIG_AGP_ALI is not set
                      CONFIG_AGP_ATI=m
                      # CONFIG_AGP_AMD is not set
                      # CONFIG_AGP_AMD64 is not set
                      CONFIG_AGP_INTEL=m
                      # CONFIG_AGP_NVIDIA is not set
                      # CONFIG_AGP_SIS is not set
                      # CONFIG_AGP_SWORKS is not set
                      CONFIG_AGP_VIA=m
                      # CONFIG_AGP_EFFICEON is not set
                      CONFIG_DRM=m
                      # CONFIG_DRM_TDFX is not set
                      # CONFIG_DRM_R128 is not set
                      CONFIG_DRM_RADEON=m
                      Here lsmod

                      Code:
                      chris@ira:/usr/src/linux-2.6.27.7$ lsmod
                      Module                  Size  Used by
                      radeon                124804  0
                      drm                    64288  1 radeon
                      snd_seq_dummy           2692  0
                      snd_seq_oss            23956  0
                      snd_seq_midi_event      6144  1 snd_seq_oss
                      snd_seq                38048  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
                      snd_pcm_oss            30624  0
                      snd_mixer_oss          12288  1 snd_pcm_oss
                      ipv6                  220724  12
                      af_packet              14208  2
                      fuse                   41756  1
                      sg                     25904  0
                      sr_mod                 12964  0
                      cdrom                  30104  1 sr_mod
                      ata_generic             4612  0
                      ide_pci_generic         3588  0
                      aes_i586                7808  1
                      aes_generic            27944  1 aes_i586
                      snd_emu10k1           112548  0
                      snd_rawmidi            17696  1 snd_emu10k1
                      snd_ac97_codec         87972  1 snd_emu10k1
                      ac97_bus                1792  1 snd_ac97_codec
                      snd_pcm                53512  3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
                      pata_via                7300  0
                      snd_seq_device          6412  5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
                      evdev                   7940  1
                      libata                120648  2 ata_generic,pata_via
                      snd_timer              16900  3 snd_seq,snd_emu10k1,snd_pcm
                      snd_page_alloc          7432  2 snd_emu10k1,snd_pcm
                      snd_util_mem            4096  1 snd_emu10k1
                      psmouse                32016  0
                      serio_raw               4612  0
                      snd_hwdep               6148  1 snd_emu10k1
                      scsi_mod              127460  3 sg,sr_mod,libata
                      airo                   55684  0
                      emu10k1_gp              2688  0
                      gameport                9736  2 emu10k1_gp
                      via82cxxx               5636  0
                      snd                    44212  11 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
                      soundcore               6084  1 snd
                      i2c_viapro              7444  0
                      i2c_core               22928  1 i2c_viapro
                      ide_core               83336  2 ide_pci_generic,via82cxxx
                      via_agp                 7680  1
                      agpgart                28976  2 drm,via_agp
                      unix                   19088  268

                      Comment


                      • #12
                        BTW, thanks for the quick reply.

                        I hope we here on this forum can puzzle this one out.

                        Comment


                        • #13
                          For those in the know, what are the relevent issues in this situation? I understand the MVP3 chipset has had past issues with the ATI video driver. Other reports I've read from other say that acceleration does work with this hardware combiniation under M-soft operating systems. That seems to be the only 'successes' I've read about.

                          Does the root of this problem lie in a disconnect between the linux chipset support and the ATI r200 driver?

                          In your humble opinion does a solution lie more with the chipset support? Or the radeon support?

                          Thanks.

                          Comment


                          • #14
                            Please pastebin your full xorg log and dmesg.

                            Comment


                            • #15
                              pastebin of Xorg log

                              Here is the Xorg log.

                              http://pastebin.com/m742e62d5

                              Comment

                              Working...
                              X