[Bug 33851] New: [KMS Evergreen bisected] Crash on modeset on HP dv6-3050eo laptop
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 2 13:44:04 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=33851
Summary: [KMS Evergreen bisected] Crash on modeset on HP
dv6-3050eo laptop
Product: DRI
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: DRM/Radeon
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: ahlaht at gmail.com
Created an attachment (id=42866)
View: https://bugs.freedesktop.org/attachment.cgi?id=42866
Review: https://bugs.freedesktop.org/review?bug=33851&attachment=42866
Hack that allows me to boot on recent kernels.
My HP Pavilion dv6-3050eo laptop does not boot anymore with 2.6.38-rc1 or
2.6.38-rc3 kernels. It freezes when doing modeset. It only boots without KMS. I
bisected the problem to this commit:
commit 9ace9f7b168fef492f731ba60da5c76bc0776e6d
Author: Alex Deucher <alexdeucher at gmail.com>
Date: Thu Jan 6 21:19:26 2011 -0500
drm/radeon/kms: adjust default clock/vddc tracking for pm on DCE5
Partially reverting this patch allows me to boot with KMS on 2.6.38-rc3. I'm
attaching a patch that fixes the problem for me and it also adds some printks.
Here are the results of those printks:
radeon_pm_init clock.default_sclk 10000
radeon_pm_init clock.default_mclk 15700
radeon_set_power_state sclk 10000
radeon_set_power_state clock.default_sclk 10000
radeon_set_power_state pm.default_sclk 900
radeon_set_power_state mclk 15700
radeon_set_power_state clock.default_mclk 15700
radeon_set_power_state pm.default_mclk 15701
I suppose that number 900 (9 MHz?) is causing the lockup, but I couldn't figure
out where it comes from. (And apparently radeon_pm_resume is never called so
that part of the patch may be just noise.)
This laptop is equipped with Intel+Evergreen switchable graphics and there is
no BIOS option to turn off GPU switching. The attached patch allows me to boot
with 2.6.38-rc3 KMS enabled but if I start Xorg and Radeon GPU is active the
system seems to freeze again. (But this might be a different problem.) If Intel
GPU is active Xorg starts just fine.
With kernel 2.6.37 (-rc8?) modesettings works AND Xorg works with both Intel
and Radeon GPUs.
I suppose I also need to add that Linux Radeon 3D has never worked properly on
this laptop. 3D works only on Win 7. R600c can sometimes run glxgears if I'm
careful. R600g usually hard locks the computer right away. But again, this
might be a different problem and I haven't been able to test this recently.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the dri-devel
mailing list