Skip to contentSkip to conversation

New: Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

Bug 28440 [email protected] 1 participant 11 messages Jun 8, 2010 – Jun 10, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=28440

Summary: Linux kernel 2.6.34's KMS crashes and disables GPU
acceleration with X1250.
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=36138)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36138)
2.6.34 kernel's KMS doesn't support X1250 well.

OS: Slackware64 13.1
Kernel : 2.6.34-smp(It's not included in slackware. I compiled myself) I told kernel to enable KMS automatically and compiled the kernel. While I boot 2.6.34-smp, I see a fuzzy brown rectangle in the right side of my screen for about half a second.

dmesg tells me GPU acceleration is disabled, and I can't use compiz. I included dmesg.txt.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 28440] Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

https://bugs.freedesktop.org/show_bug.cgi?id=28440

--- Comment #1 from Jerome Glisse <[email protected]> 2010-06-08 04:14:28 PDT --- Try booting with radeon.dynpm=0 and attach new dmesg.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 28440] Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28440

Jerome Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTOURBUG

--- Comment #2 from Jerome Glisse <[email protected]> 2010-06-08 04:45:48 PDT --- Was boot parameter closing.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 28440] Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28440

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|NOTOURBUG |FIXED

--- Comment #3 from [email protected] 2010-06-08 05:11:53 PDT --- It was "vga=791" that crashed KMS, and after I replaced it with video=1024x768, everything went fine.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 28440] Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28440

--- Comment #4 from Marcin Slusarz <[email protected]> 2010-06-08 09:10:50 PDT --- If disabling vesafb fixes your problem, it means vesafb->radeon handoff does not work properly. I fixed similar issue in nouveau code and I can prepare a patch for radeon. Are you willing to test it?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 28440] Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28440

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #5 from [email protected] 2010-06-08 22:23:53 PDT --- If you prepare it, sure. I am willing to test it although it takes about 15~20 minutes to recompile a kernel.

Why don't you use KMS from the beginning?
I included radeon in initrd, but radeon in initrd complains like the below.

[    4.227541] platform radeon_cp.0: firmware: requesting radeon/RS600_cp.bin
[   64.227150] [drm:r100_cp_init] *ERROR* Failed to load firmware!
[   64.227295] radeon 0000:01:05.0: Disabling GPU acceleration

You saw it right. Initrd tried for a while to load the firmware and had it display a black screen until it failed to load the firmware. I thought the kernel was in a panic.

Unless I know how to have initrd recognize or include the firmware, compiling radeon into kernel is the only solution for making KMS appear so early. However, recompiling kernel each time I compile radeon would be a waste of time, which emphasizes the importance of including radeon with the right firmware in initrd.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 28440] Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28440

--- Comment #6 from [email protected] 2010-06-08 22:26:15 PDT --- No.... vesafb was not likely a problem.
I specified vga=791 as a global option in /etc/lilo.conf, and it caused the problem. After I replaced vga=791 with video=800x600, KMS started working again.

Whether vesafb handles the control over to KMS well should be tested since I didn't test it.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 28440] Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28440

--- Comment #7 from Marcin Slusarz <[email protected]> 2010-06-09 08:07:20 PDT --- I'm confused. You seem to respond to some questions I didn't ask... vga=791 enables vesafb, but you claim you didn't test it...

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 28440] Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28440

--- Comment #8 from [email protected] 2010-06-09 18:08:09 PDT --- Sorry for my bad language plus sleep deprivation.
The original configuration was vesafb & DRM & radeon & KMS compiled into the kernel with vga=791 in /etc/lilo.conf.
When it generated error, I removed vesafb from the kernel, recompiled the kernel, replaced vga=791 with video=800x600 in /etc/lilo.conf, and rebooted. Thus, I only tested if vga=791 crashes KMS, but I couldn't test if vesafb handles the control over to KMS smoothly with or without video=800x600 in /etc/lilo.conf. But I guess vesafb(or uvesafb) and KMS can live together if vesafb has no problem with video=800x600.

I pasted dmesg. http://pastebin.org/322359
Beware this paste will be expired after a month from now.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 28440] Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28440

--- Comment #9 from Marcin Slusarz <[email protected]> 2010-06-10 12:51:28 PDT --- So there was no bug - just a problem with missing firmware?
If yes, please close the bug.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 28440] Linux kernel 2.6.34's KMS crashes and disables GPU acceleration with X1250.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28440

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #10 from [email protected] 2010-06-10 16:58:21 PDT --- This is not a bug although the missing firmware is another bug. This bug is closed.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.