Bug 11834 - [965GM] bad initial output configuration
Summary: [965GM] bad initial output configuration
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.2 (2007.02)
Hardware: Other All
: medium normal
Assignee: Hong Liu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 13027
  Show dependency treegraph
 
Reported: 2007-08-03 12:52 UTC by Eric Knudstrup
Modified: 2008-01-08 23:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Current x.org log file (82.34 KB, text/plain)
2007-08-08 23:34 UTC, Eric Knudstrup
no flags Details
X configuration file (8.06 KB, text/plain)
2007-08-08 23:34 UTC, Eric Knudstrup
no flags Details
Current working xorg.conf (5.11 KB, text/plain)
2007-12-10 20:21 UTC, Eric Knudstrup
no flags Details

Description Eric Knudstrup 2007-08-03 12:52:51 UTC
I am running OpenSuSE 10.2 and have a problem where KDE thinks there are two overlaying screens of different sizes on the LVDS display.
When I hit the maximize button on a window it sets the size of the window to the size of the smaller screen
Comment 1 Eric Anholt 2007-08-08 14:44:25 UTC
Attaching Xorg.0.log and xorg.conf required as usual.  Output of xrandr would be convenient as well.
Comment 2 Eric Knudstrup 2007-08-08 23:34:10 UTC
Created attachment 11052 [details]
Current x.org log file
Comment 3 Eric Knudstrup 2007-08-08 23:34:51 UTC
Created attachment 11053 [details]
X configuration file
Comment 4 Eric Knudstrup 2007-08-09 11:54:36 UTC
If there's anyone in the San Jose area working on this stuff I'd be happy to bring it to them.
Comment 5 Eric Knudstrup 2007-08-09 12:08:24 UTC
xrandr --verbose for your gratification:
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1680 x 1680
VGA disconnected 1024x768+0+0 normal (normal left inverted right) 0mm x 0mm
        Identifier: 0x53
        Timestamp:  1040887697
        Subpixel:   unknown
        Clones:
        CRTC:       0
        CRTCs:      0 1
  1024x768_60 (0x62)   64.1MHz
        h: width  1024 start 1080 end 1184 total 1344 skew    0 clock   47.7KHz
        v: height  768 start  769 end  772 total  795           clock   60.0Hz
LVDS connected 1680x1050+0+0 normal (normal left inverted right) 331mm x 207mm
        Identifier: 0x54
        Timestamp:  1040887697
        Subpixel:   horizontal rgb
        Clones:
        CRTC:       1
        CRTCs:      1
        EDID_DATA:
                00ffffffffffff004ca3503300000000
                00110103802115780a87f594574f8c27
                27505400000001010101010101010101
                01010101010190339040611a32403020
                36004bcf100000190000000f00000000
                00000000003cd2026400000000fe004e
                4b3035380231353450330a20000000fe
                001134414a698fbfff02010a202000e9
        BACKLIGHT: 1000 (0x000003e8) range:  (0,1000)
  1680x1050 (0x57)  132.0MHz
        h: width  1680 start 1728 end 1760 total 2000 skew    0 clock   66.0KHz
        v: height 1050 start 1053 end 1059 total 1100           clock   60.0Hz
  1024x768 (0x58)   65.0MHz
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x59)   40.0MHz
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  640x480 (0x5a)   25.2MHz
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
TMDS-1 disconnected (normal left inverted right)
        Identifier: 0x55
        Timestamp:  1040887697
        Subpixel:   horizontal rgb
        Clones:
        CRTCs:      0 1
TV disconnected (normal left inverted right)
        Identifier: 0x56
        Timestamp:  1040887697
        Subpixel:   unknown
        Clones:
        CRTCs:      0 1
        BOTTOM: 37 (0x00000025) range:  (0,100)
        RIGHT: 46 (0x0000002e) range:  (0,100)
        TOP: 36 (0x00000024) range:  (0,100)
        LEFT: 54 (0x00000036) range:  (0,100)
                TV_FORMAT: ????
Comment 6 Eric Knudstrup 2007-08-09 12:14:09 UTC
I think the smaller "screen" that KDE is overlaying over the LVDS display is the size of the VGA screen.  Is there a way to disable the VGA output in addition to the TV output?  Can I have them back someday?
Comment 7 Eric Knudstrup 2007-08-09 12:51:22 UTC
I've done some experimenting with trying to disable the VGA output, but I'm not competent at writing X config files.  No matter what I do it still wants to overlay the vga and LVDS displays/screens/outputs/monitors (whatever the hell you want to call them).
Comment 8 Eric Knudstrup 2007-08-13 22:20:24 UTC
Setting the VGA output to ignore "fixes" the problem.  If there's anything else I can do to help narrow it down and create a fix I'd be able to help with that.
Comment 9 Gordon Jin 2007-09-23 22:44:32 UTC
So did you have VGA connected?
Comment 10 Eric Knudstrup 2007-09-24 21:26:01 UTC
(In reply to comment #9)
> So did you have VGA connected?
> 

No, VGA is disconnected
Comment 11 Gordon Jin 2007-11-06 18:45:08 UTC
Keith, could you take a look?
Comment 12 Hong Liu 2007-12-04 19:10:49 UTC
Would you please remove:
1. Modes section
2. remove any horizsync and vertrefresh info
3. remove  Monitor "Monitor[0]" in your screen section

in your xorg.conf and have a try?

Thanks,
Hong
Comment 13 Eric Knudstrup 2007-12-10 20:21:26 UTC
Created attachment 13024 [details]
Current working xorg.conf

This is my current xorg.conf file.  If I remove this:
Section "Monitor"
Identifier "VGA"
Option "Ignore" "true"
EndSection
The problem returns.  Removing the Monitor statement statement had no effect with or without the above VGA Monitor section.
Comment 14 Hong Liu 2007-12-11 23:05:56 UTC
(In reply to comment #13)
> Created an attachment (id=13024) [details]
> Current working xorg.conf
> 
> This is my current xorg.conf file.  If I remove this:
> Section "Monitor"
> Identifier "VGA"
> Option "Ignore" "true"
> EndSection
> The problem returns.  Removing the Monitor statement statement had no effect
> with or without the above VGA Monitor section.
> 

Have you ever connected VGA during X server startup?

Using your xorg.conf, I can't reproduce your problem with my 965gm laptop.
Our driver detected the VGA status correctly.

From your xrandr output, it is strange that the VGA has be configured with mode   "1024x768_60". I can't find this mode in your xorg.conf. And it seems somewhere in your system has added this mode using xrandr.

Comment 15 Eric Knudstrup 2007-12-11 23:18:17 UTC
If you comment out the VGA disable you should have the problem.  I can still reproduce it with mine.
I may have to update to the latest version of the driver as it's been several months since I changed anything.
The config I have was the one that was generated by the SuSE 10.2 install.
I have never hooked the machine up to a VGA monitor.
If you're in Santa Clara I'd be good for drinks and appetizers at Burke's to look at it in person :).
Comment 16 Michael Fu 2007-12-27 21:14:01 UTC
> From your xrandr output, it is strange that the VGA has be configured with mode
>   "1024x768_60". I can't find this mode in your xorg.conf. And it seems
> somewhere in your system has added this mode using xrandr.
> 

just a $.02, could we rename xrandr temporarily to see where it's called to add the mode?
Comment 17 Michael Fu 2008-01-07 00:18:47 UTC
Eric, I don't think this is a generic 965GM bug. We can't reproduce this issue here. We still suspect the 1025x768_60 is a mode added by xrandr. 

The bug has been stalled for long enough to try if the issue is gone in the new release (xserver and intel driver), without using the VGA ignore option.
Comment 18 Eric Knudstrup 2008-01-07 09:06:41 UTC
Okay, I'll download a fresh release and see if it works out.
Comment 19 Michael Fu 2008-01-08 21:08:30 UTC
I also suggest you could grep the 1024x768_60 in your config directory or default home directory. It looks weird to us, if it's not added by calling xrandr..
Comment 20 Eric Knudstrup 2008-01-08 21:24:06 UTC
I found this in the /etc/sysconfig/displaymanager file (there's a template file with this too).

## Type:        string
## Default:     "auto"
#
# Mode to configure on output devices by default
# (RANDR 1.2 compatible drivers only).
#
# If set to "auto", DISPLAYMANAGER_RANDR_MODE_auto is used on laptops, and
# the empty string on workstations.
#
# The output is not explicitly enabled (read: disabled) if set to an empty
# string.
# If the variable contains a fully configured modeline (see default of
# DISPLAYMANAGER_RANDR_MODE_auto), the mode is defined and set.
# If the variable contains a mode name only, the mode has to be defined
# already.
#
# If a monitor is attached during Xstartup, or when invoking "xrandr --auto"
# during runtime, the output is correctly configured and a mode is
# automatically selected if none has been used so far.
#
# Variables are checked according to their extension for
#    VGA DVI_I DVI_D DVI_A Composite S_Video Component LFP Proprietary
#
DISPLAYMANAGER_RANDR_MODE_VGA="auto"
#DISPLAYMANAGER_RANDR_MODE_DVI_I=""
#DISPLAYMANAGER_RANDR_MODE_DVI_D=""
#DISPLAYMANAGER_RANDR_MODE_DVI_A=""
#DISPLAYMANAGER_RANDR_MODE_Compsite=""
#DISPLAYMANAGER_RANDR_MODE_S_Video=""
#DISPLAYMANAGER_RANDR_MODE_Component=""
#DISPLAYMANAGER_RANDR_MODE_LFP=""
#DISPLAYMANAGER_RANDR_MODE_Proprietary=""

## Type:        string
## Default:     "1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync"
#
# Mode to use for laptops for DISPLAYMANAGER_RANDR_MODE_* on laptops only,
# when the according variable is set to "auto".
# (RANDR 1.2 compatible drivers only).
#
DISPLAYMANAGER_RANDR_MODE_auto="1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync"
                                                                                                                                                                     185,1         Bot
Comment 21 Hong Liu 2008-01-08 21:39:22 UTC
It seems this configure file will auto config 1024x768_60 to your VGA output.

Please comment out this line DISPLAYMANAGER_RANDR_MODE_VGA="auto" to have a try.
Comment 22 Eric Knudstrup 2008-01-08 22:14:20 UTC
I was able to change this line:
DISPLAYMANAGER_RANDR_MODE_VGA="auto"
to this:
DISPLAYMANAGER_RANDR_MODE_VGA=""
and comment out the section for ignoring VGA in my xorg.conf.  This solves the problem that I was having.
Comment 23 Hong Liu 2008-01-08 22:18:15 UTC
OK, I will close this bug now :)
Comment 24 Eric Knudstrup 2008-01-08 22:48:49 UTC
Should I go over to OpenSuSE.org and complain?
Comment 25 Hong Liu 2008-01-08 23:51:22 UTC
(In reply to comment #24)
> Should I go over to OpenSuSE.org and complain?
> 
Not sure about the purpose of this configure file, but you can have a try :)


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.