Summary: | [KMS] Getting out of DPMS doesn't work | ||
---|---|---|---|
Product: | DRI | Reporter: | Bernhard Rosenkraenzer <bero> |
Component: | DRM/other | Assignee: | Jesse Barnes <jbarnes> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | Keywords: | NEEDINFO |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Bernhard Rosenkraenzer
2009-01-14 06:16:31 UTC
This may be due to the fact that when KMS is enabled the 2D driver uses KD_TEXT mode (this is good for debugging but maybe not for normal use). Can you try this patch? diff --git a/src/i830_driver.c b/src/i830_driver.c index 3e27b07..d368d3d 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1228,7 +1228,6 @@ i830SetHotkeyControl(ScrnInfoPtr pScrn, int mode) * DRM mode setting Linux only at this point... later on we could * add a wrapper here. */ -#include <linux/kd.h> static Bool i830_kernel_mode_enabled(ScrnInfoPtr pScrn) { @@ -1254,8 +1253,6 @@ static Bool i830_kernel_mode_enabled(ScrnInfoPtr pScrn) if (ret) return FALSE; - ioctl(xf86Info.consoleFd, KDSETMODE, KD_TEXT); - return TRUE; } #else This fixed in the upstream xf86-video-intel driver by commit 253b8db298f38676e47dc902534465054f7b58b8 Author: Jesse Barnes <jbarnes@virtuousgeek.org> Date: Wed Jan 21 09:02:13 2009 -0800 Don't run in KD_TEXT mode even with KMS |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.