Changing brightness of backlight freezes kernel with radeon kms enabled.
A message that is not in the archive (sent off-list or not yet received): [email protected]/
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #31 from Alexey Diomin <[email protected]> 2010-04-14 12:20:25 --- 2.6.34-rc3 with latest patches from drm-next aslo freeze
Signature · 11 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #32 from Alex Deucher <[email protected]> 2010-04-14 14:14:24 --- Does setting:
Option "NoAccel" "True"
in the device section of your xorg.conf avoid the problem? Make sure you are using xf86-video-ati 6.12.191 or newer.
Signature · 11 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #33 from Alex Deucher <[email protected]> 2010-04-14 14:18:15 --- One more thing, does disabling kms avoid the problem as well? E.g., disable KMS and make sure ums + acceleration is working.
Signature · 11 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #34 from Alex Deucher <[email protected]> 2010-04-14 19:45:51 --- Created an attachment (id=26004)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26004)
possible fix
Possible fix version 1. Please try these patches individually and let me know if either of them fixes the problem.
Signature · 11 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #35 from Alex Deucher <[email protected]> 2010-04-14 19:47:01 --- Created an attachment (id=26005)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26005)
alternate fix
Alternate fix. Please try these patches individually and let me know if either of them fixes the problem.
Signature · 11 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #36 from Alexey Diomin <[email protected]> 2010-04-15 15:04:51 --- fixs not helped
mesa & xf86-video-ati from git, but all tests in runlevel 3 (without starting
X)
when run F13-Beta-i686-Live-KDE.iso (del rhgb) freeze after start kms
http://ivctrans.by/temp/PIC-0032.jpg
on f12 (tested half of the year earlier) has message as on f13 beta now
Signature · 11 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
Aurélien Couderc <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #36 from Alexey Diomin <[email protected]> 2010-04-15 15:04:51 --- fixs not helped
mesa & xf86-video-ati from git, but all tests in runlevel 3 (without starting
X)
when run F13-Beta-i686-Live-KDE.iso (del rhgb) freeze after start kms
http://ivctrans.by/temp/PIC-0032.jpg
on f12 (tested half of the year earlier) has message as on f13 beta now
--- Comment #37 from Aurélien Couderc <[email protected]> 2010-04-26 17:38:07 --- Lenovo X100e also affected.
(Radeon HD 3200)
Signature · 9 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #38 from Aurélien Couderc <[email protected]> 2010-04-27 16:51:41 --- To answer Alex Deucher's questions:
#32 NoAccel doen't solve the problem (driver 6.13.0)
#33 disabling KMS solves the problem and ums+acceleration works fine
Signature · 9 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #39 from Alex Deucher <[email protected]> 2010-04-27 17:35:11 --- Created an attachment (id=26161)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26161)
add accel parameter
This patch adds an accel parameter that allows you to disable acceleration in the drm. boot with radeon.accel=0 and see if you still get the hang.
Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #40 from Alex Deucher <[email protected]> 2010-04-28 03:38:58 --- I managed to get remote access to an affected machine today, and to start off with I tried Linus' git tree, bc113f151a73cb2195c2fb40d7d70acf8e2f9208, to be exact. And, low and behold, the backlight worked fine. Switched back to an older kernel and it hung. So it appears to be fixed, at least as of that commit. Can anyone else confirm and if so, help bisect to see what fixed it?
Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #41 from Alexey Diomin <[email protected]> 2010-04-28 16:43:41 --- 2.6.34-rc5-git8 bug affected
with your patch and boot with radeon.accel=0 all working without freeze
Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #42 from Alexey Diomin <[email protected]> 2010-04-29 08:48:57 --- updated Linus' and your git tree
apply 2 patch on 2.6.34-rc5-git8
1. diff origin...dave_drm/drm-linus
2. diff origin...dave_drm/drm-radeon-next
kms work fine
Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #43 from Alex Deucher <[email protected]> 2010-04-29 15:56:47 --- (In reply to comment #42)
Quoted 4 lines
updated Linus' and your git tree
apply 2 patch on 2.6.34-rc5-git8
Which patches are you referring to?
Quoted 4 lines
1. diff origin...dave_drm/drm-linus
2. diff origin...dave_drm/drm-radeon-nextkms work fine
Does an updated tree without the patches also work?
Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #43 from Alex Deucher <[email protected]> 2010-04-29 15:56:47 --- (In reply to comment #42)
Quoted 4 lines
updated Linus' and your git tree
apply 2 patch on 2.6.34-rc5-git8
Which patches are you referring to?
Quoted 4 lines
1. diff origin...dave_drm/drm-linus
2. diff origin...dave_drm/drm-radeon-nextkms work fine
Does an updated tree without the patches also work?
--- Comment #44 from Manuel Ullmann <[email protected]> 2010-04-30 23:44:09 --- Created an attachment (id=26191)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26191)
output from patch -p1 for all three patches
I tested kernel-2.6.34-rc6 from git. The kernel itself has not fixed the hang.
The patches probably do not apply, because the patched files have changed too much. I attached the output of 'patch'. However it would be great, if you could adjust them.
The "add accel parameter patch" applies mostly correct, so the radeon.accel=0 works and in consequence the brightness changing (as Alexey said).
But so far I could not get kms completely to work.
Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #45 from Alexey Diomin <[email protected]> 2010-05-03 08:35:05 --- For testing I switch to drm-radeon-testing branch
commit 6b8b1786a8c29ce6e32298b93ac8d4a18a2b11c4 resolved bug.
Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #46 from Manuel Ullmann <[email protected]> 2010-05-03 21:58:30 --- Confirmed. Fixed in drm-radeon-testing branch. No patch needed.
Aurélien Couderc, could you confirm this on your notebook?
Signature · 9 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #47 from Aurélien Couderc <[email protected]> 2010-05-04 22:59:41 --- Yes, it's fixed in drm-radeon-testing for my laptop too.
Signature · 9 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #48 from Alex Deucher <[email protected]> 2010-05-05 15:00:30 --- One of my coworkers who is also experiencing the problem bisected it down to:f3eee54276dfd1117fd94259f2b4a38388264724:
commit f3eee54276dfd1117fd94259f2b4a38388264724
Author: Yinghai Lu <[email protected]> Date: Mon Dec 14 11:52:15 2009 +0900
x86: Gart: fix breakage due to IOMMU initialization cleanup
This fixes the following breakage of the commit 75f1cdf1dda92cae037ec848ae63690d91913eac:
- GART systems that don't AGP with broken BIOS and more than 4GB memory are forced to use swiotlb. They can allocate aperture by hand and use GART.
- GART systems without GAP must disable GART on shutdown.
- swiotlb usage is forced by the boot option, gart_iommu_hole_init() is not called, so we disable GART early_gart_iommu_check().
LKML-Reference:
<[email protected]>
Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #49 from Manuel Ullmann <[email protected]> 2010-05-12 11:27:42 --- If it has been confirmed, that the kernel is bug affected immediately before this commit, then it´s fine for me. But it seems, that it can be caused by the broken BIOS alone. The Radeon chip is not linked via AGP, but PCI express and I don´t have more than 4GB memory (actually 2). Well, I guess we can close the Bug now. Does anyone disagree? Btw, will this fix be merged into master until the 2.6.34 release?
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=15166
Manuel Ullmann <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |CODE_FIX--- Comment #50 from Manuel Ullmann <[email protected]> 2010-05-14 20:57:16 --- Well, I´ll close the bug now. Would be nice, if anyone could answer my question, though.
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #51 from Alex Deucher <[email protected]> 2010-05-15 12:02:06 --- No one has yet tracked down what fixed it. That is just the commit that apparently broke it, at least for one user.
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
Manuel Ullmann <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|CODE_FIX |--- Comment #52 from Manuel Ullmann <[email protected]> 2010-05-15 12:35:50 --- Ah, sorry. I misunderstood you. (my english is quite bad)
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #53 from Alexey Diomin <[email protected]> 2010-05-15 15:24:17 --- Revert f3eee54276dfd1117fd94259f2b4a38388264724 on current 2.5.34-rc7 also not resolved bug
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
Jérôme Glisse <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #54 from Jérôme Glisse <[email protected]> 2010-05-16 10:47:38 --- Alexey what do you mean ? The bug is still present on 2.6.34-rc7 ? and revertingf3eee54276dfd1117fd94259f2b4a38388264724 doesn't solve the issue ?
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #55 from Alexey Diomin <[email protected]> 2010-05-19 08:33:13 --- 2 Jérôme Glisse
On current moment bug fix only in drm-next brunch, on 2.6.34-rc7 kms freeze.
As say Alex: bug started with commit f3eee54276dfd1117fd94259f2b4a38388264724. For testing I revert f3eee54276dfd1117fd94259f2b4a38388264724 on 2.6.34-rc7, but bug remain.
P.S. it's all work for me and maybe for Manuel (laptop equals)
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #56 from Manuel Ullmann <[email protected]> 2010-05-24 00:14:19 --- The fix is in both branches; drm-next and drm-radeon-testing. It is:
commit 7547a917fa5f3b2406f52c7dcf7ec9ad3c8532eb
Merge: a8089e8 6b8b178
Author: Dave Airlie <[email protected]>
Date: Tue Apr 20 14:15:09 2010 +1000
Merge branch 'drm-ttm-unmappable' into drm-core-next
* drm-ttm-unmappable:
drm/radeon/kms: enable use of unmappable VRAM V2
drm/ttm: remove io_ field from TTM V6
drm/vmwgfx: add support for new TTM fault callback V5 drm/nouveau/kms: add support for new TTM fault callback V5 drm/radeon/kms: add support for new fault callback V7 drm/ttm: ttm_fault callback to allow driver to handle bo placement V6 drm/ttm: split no_wait argument in 2 GPU or reserve wait
Conflicts:
drivers/gpu/drm/nouveau/nouveau_bo.c
Steps to confirm:
1. Create new drm-2.6 repository
2. Checkout one of the mentioned branches
3. Reset to this commit
4. Compile, install kernel and reboot
5. Test backlight changing.
-> Result: Bug fixed
6. cd to git repository. Reset to one commit before (git reset --hard HEAD^).
7. Compile, install kernel and reboot
8. Test backlight changing.
-> Result: kms freeze
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
Manuel Ullmann <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Kernel Version|2.6.32.6 - 2.6.33 |2.6.32.6 - 2.6.34
--- Comment #57 from Manuel Ullmann <[email protected]> 2010-05-28 19:52:31 --- Marking 2.6.34 as affected. Fixed however in drm-next and drm-radeon-testing since 2.6.34-rc5 by the mentioned fix. Any chances, that this will be merged into 2.6.35 master?
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
--- Comment #58 from Alex Deucher <[email protected]> 2010-05-28 20:31:43 --- Already merged into 2.6.35.
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ --
https://bugzilla.kernel.org/show_bug.cgi?id=15166
Manuel Ullmann <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |CODE_FIX--- Comment #59 from Manuel Ullmann <[email protected]> 2010-05-29 23:47:03 --- Thank you. It´s indeed fixed in latest git. No need to leave the bug open, I think.
Signature · 10 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel