All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 33851] New: [KMS Evergreen bisected] Crash on modeset on HP dv6-3050eo laptop
Date: Wed,  2 Feb 2011 13:44:04 -0800 (PST)	[thread overview]
Message-ID: <bug-33851-502@http.bugs.freedesktop.org/> (raw)

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@lists.freedesktop.org
        ReportedBy: ahlaht@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@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.

             reply	other threads:[~2011-02-02 21:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02 21:44 bugzilla-daemon [this message]
2011-02-02 21:48 ` [Bug 33851] [KMS Evergreen bisected] Crash on modeset on HP dv6-3050eo laptop bugzilla-daemon
2011-02-02 21:50 ` bugzilla-daemon
2011-02-02 22:44 ` bugzilla-daemon
2011-02-02 23:07 ` bugzilla-daemon
2011-02-02 23:23 ` bugzilla-daemon
2011-02-02 23:25 ` bugzilla-daemon
2011-02-02 23:40 ` bugzilla-daemon
2011-02-02 23:46 ` bugzilla-daemon
2011-02-03  0:07 ` bugzilla-daemon
2011-02-03  0:11 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-33851-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.