https://bugzilla.kernel.org/show_bug.cgi?id=31682

           Summary: Radeon console output very slow with kms
           Product: Drivers
           Version: 2.5
    Kernel Version: 2.6.38
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
        AssignedTo: drivers_video-...@kernel-bugs.osdl.org
        ReportedBy: k...@roeckx.be
        Regression: No


Hi,

When I try to use KMS, the console output is very slow.  I've seen a lot of
people complain about this, but I can't find any bug about this.  It's not
really usable when KMS is enabled.

If I disable KMS (and use radeonfb), things work normally.

It takes for instance about 1 second for me to just redraw the screen, while
the same thing is _at least_ 10 times faster, probably more like 100, when KMS
is disabled.

When booting with KMS enabled I get this in dmesg:
Mar 21 19:07:50 intrepid kernel: [    8.735138] [drm] Initialized drm 1.1.0
20060810
Mar 21 19:07:50 intrepid kernel: [    8.887517] [drm] radeon kernel modesetting
enabled.
Mar 21 19:07:50 intrepid kernel: [    8.887709] radeon 0000:01:00.0: PCI INT A
-> GSI 16 (level, low) -> IRQ 16
Mar 21 19:07:50 intrepid kernel: [    8.891920] [drm] initializing kernel
modesetting (RV280 0x1002:0x5964).
Mar 21 19:07:50 intrepid kernel: [    8.892029] [drm] register mmio base:
0xFD400000
Mar 21 19:07:50 intrepid kernel: [    8.892084] [drm] register mmio size: 65536
Mar 21 19:07:50 intrepid kernel: [    8.896084] agpgart-amd64 0000:00:00.0: AGP
3.5 bridge
Mar 21 19:07:50 intrepid kernel: [    8.896339] agpgart-amd64 0000:00:00.0:
putting AGP V3 device into 8x mode
Mar 21 19:07:50 intrepid kernel: [    8.896458] radeon 0000:01:00.0: putting
AGP V3 device into 8x mode
Mar 21 19:07:50 intrepid kernel: [    8.896519] radeon 0000:01:00.0: GTT: 64M
0xF8000000 - 0xFBFFFFFF
Mar 21 19:07:50 intrepid kernel: [    8.896578] [drm] Generation 2 PCI
interface, using max accessible memory
Mar 21 19:07:50 intrepid kernel: [    8.896638] radeon 0000:01:00.0: VRAM: 128M
0x00000000E8000000 - 0x00000000EFFFFFFF (128M used)
Mar 21 19:07:50 intrepid kernel: [    8.896714] [drm] Supports vblank timestamp
caching Rev 1 (10.10.2010).
Mar 21 19:07:50 intrepid kernel: [    8.896772] [drm] Driver supports precise
vblank timestamp query.
Mar 21 19:07:50 intrepid kernel: [    8.896866] [drm] radeon: irq initialized.
Mar 21 19:07:50 intrepid kernel: [    8.897063] [drm] Detected VRAM RAM=128M,
BAR=128M
Mar 21 19:07:50 intrepid kernel: [    8.897123] [drm] RAM width 64bits DDR
Mar 21 19:07:50 intrepid kernel: [    8.897256] [TTM] Zone  kernel: Available
graphics memory: 1030408 kiB.
Mar 21 19:07:50 intrepid kernel: [    8.897314] [TTM] Initializing pool
allocator.
Mar 21 19:07:50 intrepid kernel: [    8.897392] [drm] radeon: 128M of VRAM
memory ready
Mar 21 19:07:50 intrepid kernel: [    8.897447] [drm] radeon: 64M of GTT memory
ready.
Mar 21 19:07:50 intrepid kernel: [    8.899585] radeon 0000:01:00.0: WB
disabled
Mar 21 19:07:50 intrepid kernel: [    8.900265] [drm] Loading R200 Microcode
Mar 21 19:07:50 intrepid kernel: [    9.381958] [drm] radeon: ring at
0x00000000F8001000
Mar 21 19:07:50 intrepid kernel: [    9.382034] [drm] ring test succeeded in 1
usecs
Mar 21 19:07:50 intrepid kernel: [    9.384821] [drm] radeon: ib pool ready.
Mar 21 19:07:50 intrepid kernel: [    9.384959] [drm] ib test succeeded in 0
usecs
Mar 21 19:07:50 intrepid kernel: [    9.386362] [drm] Radeon Display Connectors
Mar 21 19:07:50 intrepid kernel: [    9.386417] [drm] Connector 0:
Mar 21 19:07:50 intrepid kernel: [    9.386469] [drm]   VGA
Mar 21 19:07:50 intrepid kernel: [    9.386522] [drm]   DDC: 0x60 0x60 0x60
0x60 0x60 0x60 0x60 0x60
Mar 21 19:07:50 intrepid kernel: [    9.386578] [drm]   Encoders:
Mar 21 19:07:50 intrepid kernel: [    9.386630] [drm]     CRT1: INTERNAL_DAC1
Mar 21 19:07:50 intrepid kernel: [    9.386684] [drm] Connector 1:
Mar 21 19:07:50 intrepid kernel: [    9.386736] [drm]   DVI-D
Mar 21 19:07:50 intrepid kernel: [    9.386787] [drm]   HPD1
Mar 21 19:07:50 intrepid kernel: [    9.386839] [drm]   DDC: 0x64 0x64 0x64
0x64 0x64 0x64 0x64 0x64
Mar 21 19:07:50 intrepid kernel: [    9.386895] [drm]   Encoders:
Mar 21 19:07:50 intrepid kernel: [    9.386947] [drm]     DFP1: INTERNAL_TMDS1
Mar 21 19:07:50 intrepid kernel: [    9.387001] [drm] Connector 2:
Mar 21 19:07:50 intrepid kernel: [    9.387053] [drm]   S-video
Mar 21 19:07:50 intrepid kernel: [    9.387105] [drm]   Encoders:
Mar 21 19:07:50 intrepid kernel: [    9.387157] [drm]     TV1: INTERNAL_DAC2
Mar 21 19:07:50 intrepid kernel: [    9.800245] [drm] fb mappable at 0xE8040000
Mar 21 19:07:50 intrepid kernel: [    9.800303] [drm] vram apper at 0xE8000000
Mar 21 19:07:50 intrepid kernel: [    9.802396] [drm] size 7680000
Mar 21 19:07:50 intrepid kernel: [    9.802448] [drm] fb depth is 24
Mar 21 19:07:50 intrepid kernel: [    9.802500] [drm]    pitch is 6400
Mar 21 19:07:50 intrepid kernel: [   10.023003] Console: switching to colour
frame buffer device 200x75
Mar 21 19:07:50 intrepid kernel: [   10.139398] fb0: radeondrmfb frame buffer
device
Mar 21 19:07:50 intrepid kernel: [   10.139400] drm: registered panic notifier
Mar 21 19:07:50 intrepid kernel: [   10.140945] [drm] Initialized radeon 2.8.0
20080528 for 0000:01:00.0 on minor 0


When KMS is disabled I see this instead:
Mar 21 19:10:55 intrepid kernel: [    9.011140] [drm] Initialized radeon 1.33.0
20080528 for 0000:01:00.0 on minor 0
[...]
Mar 21 19:10:55 intrepid kernel: [   13.332368] radeonfb: Found Intel x86 BIOS
ROM Image
Mar 21 19:10:55 intrepid kernel: [   13.332430] radeonfb: Retrieved PLL infos
from BIOS
Mar 21 19:10:55 intrepid kernel: [   13.332487] radeonfb: Reference=27.00 MHz
(RefDiv=12) Memory=200.00 Mhz, System=166.00 MHz
Mar 21 19:10:55 intrepid kernel: [   13.332556] radeonfb: PLL min 20000 max
40000
Mar 21 19:10:55 intrepid kernel: [   13.684011] radeonfb: Monitor 1 type DFP
found
Mar 21 19:10:55 intrepid kernel: [   13.684072] radeonfb: EDID probed
Mar 21 19:10:55 intrepid kernel: [   13.684124] radeonfb: Monitor 2 type CRT
found
Mar 21 19:10:55 intrepid kernel: [   13.684178] radeonfb: EDID probed
Mar 21 19:10:55 intrepid kernel: [   13.747450] Console: switching to colour
frame buffer device 200x75
Mar 21 19:10:55 intrepid kernel: [   13.799573] radeonfb (0000:01:00.0): ATI
Radeon 5964 "Yd"


Kurt

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to