* [Bug 31682] New: Radeon console output very slow with kms
@ 2011-03-22 18:30 bugzilla-daemon
2011-03-22 18:40 ` [Bug 31682] " bugzilla-daemon
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-03-22 18:30 UTC (permalink / raw)
To: dri-devel
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-dri@kernel-bugs.osdl.org
ReportedBy: kurt@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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 31682] Radeon console output very slow with kms
2011-03-22 18:30 [Bug 31682] New: Radeon console output very slow with kms bugzilla-daemon
@ 2011-03-22 18:40 ` bugzilla-daemon
2011-03-22 19:14 ` bugzilla-daemon
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-03-22 18:40 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=31682
Alex Deucher <alexdeucher@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexdeucher@gmail.com
--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> 2011-03-22 18:40:04 ---
This is not exactly a bug. KMS does not provide any acceleration for console
operations while radeonfb does.
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 31682] Radeon console output very slow with kms
2011-03-22 18:30 [Bug 31682] New: Radeon console output very slow with kms bugzilla-daemon
2011-03-22 18:40 ` [Bug 31682] " bugzilla-daemon
@ 2011-03-22 19:14 ` bugzilla-daemon
2011-08-19 14:26 ` bugzilla-daemon
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-03-22 19:14 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=31682
--- Comment #2 from Kurt Roeckx <kurt@roeckx.be> 2011-03-22 19:14:36 ---
So then see this as a feature request or something.
--
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 31682] Radeon console output very slow with kms
2011-03-22 18:30 [Bug 31682] New: Radeon console output very slow with kms bugzilla-daemon
2011-03-22 18:40 ` [Bug 31682] " bugzilla-daemon
2011-03-22 19:14 ` bugzilla-daemon
@ 2011-08-19 14:26 ` bugzilla-daemon
2011-08-19 14:45 ` bugzilla-daemon
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-08-19 14:26 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=31682
Arno Schuring <aelschuring@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aelschuring@hotmail.com
--- Comment #3 from Arno Schuring <aelschuring@hotmail.com> 2011-08-19 14:26:06 ---
@alex: by saying "not a bug", are you implying that this is by design and will
not be fixed? Or do you simply mean that there are no clear, simple ways to
improve the situation?
TBH, I could just as easily classify this as a performance regression since
2.6.32 (or whenever KMS was made the default). What is the recommended solution
for no-X servers with AMD IGPs? Blacklist the radeon module, or will the
modeset=0 option be supported indefinitely?
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 31682] Radeon console output very slow with kms
2011-03-22 18:30 [Bug 31682] New: Radeon console output very slow with kms bugzilla-daemon
` (2 preceding siblings ...)
2011-08-19 14:26 ` bugzilla-daemon
@ 2011-08-19 14:45 ` bugzilla-daemon
2012-08-20 15:13 ` bugzilla-daemon
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-08-19 14:45 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=31682
--- Comment #4 from Alex Deucher <alexdeucher@gmail.com> 2011-08-19 14:45:22 ---
Someone could implement support for accelerated fb operations, I just don't
have any plans to. The problem is, the drawing engine is usually the part of
the GPU that hangs if there is a problem so if we use the drawing engine to
accelerate fb operations and it hangs, you may end up with a hosed console
whereas. The other issue is that on newer asics, there is no 2D engine, so
you'd have to implement fb acceleration with the 3D engine which is
substantially more complex.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 31682] Radeon console output very slow with kms
2011-03-22 18:30 [Bug 31682] New: Radeon console output very slow with kms bugzilla-daemon
` (3 preceding siblings ...)
2011-08-19 14:45 ` bugzilla-daemon
@ 2012-08-20 15:13 ` bugzilla-daemon
2013-11-15 16:06 ` bugzilla-daemon
2013-11-15 16:18 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2012-08-20 15:13 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=31682
Alan <alan@lxorguk.ukuu.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |alan@lxorguk.ukuu.org.uk
Resolution| |OBSOLETE
--- Comment #5 from Alan <alan@lxorguk.ukuu.org.uk> 2012-08-20 15:13:08 ---
(or use the GART like GMA50 ...)
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 31682] Radeon console output very slow with kms
2011-03-22 18:30 [Bug 31682] New: Radeon console output very slow with kms bugzilla-daemon
` (4 preceding siblings ...)
2012-08-20 15:13 ` bugzilla-daemon
@ 2013-11-15 16:06 ` bugzilla-daemon
2013-11-15 16:18 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-11-15 16:06 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=31682
Jérôme Glisse <glisse@freedesktop.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glisse@freedesktop.org
--- Comment #6 from Jérôme Glisse <glisse@freedesktop.org> ---
We can not do the GART trick on radeon, radeon is using dedicated VRAM and not
scaning out from system memory mapped through a gart.
(Well we could do GART trick on newer GPU that has virtual address space where
we can remap the VRAM with a GART but anybody with such a GPU that is using
fbdev as others more serious personal issues)
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 31682] Radeon console output very slow with kms
2011-03-22 18:30 [Bug 31682] New: Radeon console output very slow with kms bugzilla-daemon
` (5 preceding siblings ...)
2013-11-15 16:06 ` bugzilla-daemon
@ 2013-11-15 16:18 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2013-11-15 16:18 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=31682
--- Comment #7 from Alan <alan@lxorguk.ukuu.org.uk> ---
You only need to use the GART trick if you might not have enough memory to
allocate twice the memory needed for the framebuffer. If you can afford the
memory then allocate two copies and write each text blit into both. Then just
change the start of the scan out as needed. It's even faster than the GMA500
GART trick!
Alan
--
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-11-15 16:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-22 18:30 [Bug 31682] New: Radeon console output very slow with kms bugzilla-daemon
2011-03-22 18:40 ` [Bug 31682] " bugzilla-daemon
2011-03-22 19:14 ` bugzilla-daemon
2011-08-19 14:26 ` bugzilla-daemon
2011-08-19 14:45 ` bugzilla-daemon
2012-08-20 15:13 ` bugzilla-daemon
2013-11-15 16:06 ` bugzilla-daemon
2013-11-15 16:18 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox