Bug 22644 - [X700] Radeon driver fails to identify LVDS panel
Summary: [X700] Radeon driver fails to identify LVDS panel
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 14:38 UTC by Ken Lewis
Modified: 2009-07-22 06:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log file (43.74 KB, text/plain)
2009-07-07 01:43 UTC, Ken Lewis
no flags Details
Don't use fixed ref div on r4xx (1.31 KB, patch)
2009-07-07 08:35 UTC, Alex Deucher
no flags Details | Splinter Review
Xorg.0.log file with R4xxATOM option (49.83 KB, text/plain)
2009-07-07 14:39 UTC, Ken Lewis
no flags Details
Xorg.0.log file with R4xxATOM option and KMS (38.17 KB, text/plain)
2009-07-07 14:40 UTC, Ken Lewis
no flags Details

Description Ken Lewis 2009-07-06 14:38:38 UTC
There's a quirk in radeon_atombios.c in RADEONApplyATOMQuirks() for my particular card and laptop (begins "Falcon NW").  While testing the Linux Kernel Modesetting, I discovered that the quirk wasn't quite enough to ensure smooth functioning.

At present, the driver identifies the LVDS-connected panel with the VGA output and blanks the panel when there is no VGA connected.  There's a patch at bugzilla.kernel.org (http://bugzilla.kernel.org/show_bug.cgi?id=13720) which forces the multiplexer for the LVDS Connector to be a higher number than that of the VGA, which has resolved the issue for me.  Is this patch applicable -- I notice that there's some similarity in the shape and configuration of both codebases -- and can I supply any more information to help resolve this issue?
Comment 1 Alex Deucher 2009-07-06 14:51:03 UTC
The fix from the kms code shouldn't be needed for the ddx.  Are you actually having problems with the ddx when not using kms?  If so, please re-open and attach your xorg.conf
Comment 2 Ken Lewis 2009-07-07 01:43:13 UTC
Created attachment 27446 [details]
Xorg.0.log file

Ubuntu's X.org setup has a blank Xorg.conf file and automatically detects the system's outputs.

I'm sorry for the confusion, but whether I'm running a KMS kernel or not, the version of the driver on my Kubuntu system presents a black screen instead of X.
Comment 3 Ken Lewis 2009-07-07 01:44:58 UTC
Bug reopened because problem occurs both mode-setting and non-modesetting.
Comment 4 Alex Deucher 2009-07-07 08:10:51 UTC
(In reply to comment #2)
> Created an attachment (id=27446) [details]
> Xorg.0.log file
> 
> Ubuntu's X.org setup has a blank Xorg.conf file and automatically detects the
> system's outputs.
> 
> I'm sorry for the confusion, but whether I'm running a KMS kernel or not, the
> version of the driver on my Kubuntu system presents a black screen instead of
> X.
> 

Are you running a kms enabled xorg radeon driver?  If not, running a non-kms radeon driver with kms active may cause problems as both drivers will be attempting to drive the hw.  Make sure kms is not active if your xorg radeon driver does not support kms.  if you still have a blank screen in that case, try this option (put it in the device section of your xorg config):
Option "R4xxATOM" "TRUE"
Comment 5 Ken Lewis 2009-07-07 08:13:40 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > I'm sorry for the confusion, but whether I'm running a KMS kernel or not, the
> > version of the driver on my Kubuntu system presents a black screen instead of
> > X.
> 
> Are you running a kms enabled xorg radeon driver?  If not, running a non-kms
> radeon driver with kms active may cause problems as both drivers will be
> attempting to drive the hw.  Make sure kms is not active if your xorg radeon
> driver does not support kms.  if you still have a blank screen in that case,
> try this option (put it in the device section of your xorg config):
> Option "R4xxATOM" "TRUE"

I wouldn't be surprised if the kernel is enabled for KMS but the userland isn't quite there.  I'll check with Ubuntu and my installation, and also try out the R4XXATOM option.

Comment 6 Alex Deucher 2009-07-07 08:35:51 UTC
Created attachment 27464 [details] [review]
Don't use fixed ref div on r4xx

If you are still having problems with the xorg radeon driver when kms is disabled, please try this patch both with and without the R4xxATOM option.
Comment 7 Ken Lewis 2009-07-07 14:39:26 UTC
Created attachment 27482 [details]
Xorg.0.log file with R4xxATOM option

This didn't seem to make a difference.
Comment 8 Ken Lewis 2009-07-07 14:40:21 UTC
Created attachment 27483 [details]
Xorg.0.log file with R4xxATOM option and KMS

Again no change.  Still a blank screen.
Comment 9 Alex Deucher 2009-07-07 14:48:08 UTC
With kms enabled, the ddx no longer touches the hw, so if you are getting a blank screen with X on KMS, then it's a drm problem.  Any modesetting related patches (like the one I attached here) will only have an affect when kms is disabled.
Comment 10 Ken Lewis 2009-07-22 06:49:40 UTC
I've changed to an updated version of the driver being tested in Ubuntu Karmic and the issue has resolved itself.  Status now to 'notourbug'.  Thanks for your help, Alex.


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.