Re: Only one Mode: 640x480

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 18, 2005 at 12:29:22PM -0500, Louis  Guillaume wrote:
>David Dawes wrote:
>>On Thu, Mar 17, 2005 at 09:23:49PM -0500, Louis  Guillaume wrote:
>>
>>>David Dawes wrote:
>>>
>>>>On Thu, Mar 17, 2005 at 05:50:26PM -0500, Louis  Guillaume wrote:
>>>>
>>>>
>>>>>Hello all,
>>>>>
>>>>>Just updated to 4.5.0RC3, built from cvs. This is on NetBSD -current 
>>>>>(built yesterday).
>>>>>
>>>>>Now I only have one video mode: 640x480.
>>>>>
>>>>>The log shows several "Mode:" records that I'm unfamiliar with. It 
>>>>>looks like they are different display modes. There are no "Modeline" 
>>>>>entries in the log as there used to be.
>>>>>
>>>>>Once I fire up X, xrandr only knows about the 640x480 mode, and 
>>>>>Ctrl-Alt-+/- don't do anything.
>>>>>
>>>>>What could be wrong here?
>>>>
>>>>
>>>>Do you have the monitor parameters specified explicitly in the XF86Config
>>>>file?
>>>>
>>>
>>>
>>>No: I was expecting DPMS to do its magic as it had before. Last time I 
>>>built was ~ 2 months ago. Here's what I have...
>>
>>
>>Not DPMS, but DDC.
>>
>>It should, but it looks to me like this is broken in the current
>>version of the driver because the mode pool is chosen before the
>>DDC parameters are applied.  The following patch might make it work.
>>The code that looks for monitor changes should probably do something
>>like this too.
>>
>>Index: i830_driver.c
>>===================================================================
>>RCS file: 
>>/home/x-cvs/xc/programs/Xserver/hw/xfree86/drivers/i810/i830_driver.c,v
>>retrieving revision 1.64
>>diff -u -r1.64 i830_driver.c
>>--- i830_driver.c	3 Mar 2005 18:06:26 -0000	1.64
>>+++ i830_driver.c	18 Mar 2005 03:12:37 -0000
>>@@ -2667,6 +2667,9 @@
>>                                  pI830->pipeDisplaySize[n].y2,
>>                                  60);
>> 
>>+   } else {
>>+        xf86SetMonitorParameters(pScrn, pScrn->monitor, 0, 0, 0);
>>+        xf86AddEDIDModes(pScrn, pScrn->monitor, 0);
>>    }
>> 
>>    /* By now, we should have had some monitor settings, but if not, we
>>
>>
>>David
>
>
>
>Thank you David. The patch worked beautifully!

Thanks for the feedback.  I'll commit the patch.

David
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux