Bug 364697

Summary: X won't go above 800x600
Product: [openSUSE] openSUSE 10.3 Reporter: Francis Giannaros <francis>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: xorg log
sax log, in case it's useful
real xorg log
sax log

Description Francis Giannaros 2008-02-25 22:31:02 UTC
Created attachment 197040 [details]
xorg log

My dad just got a shiny new Vaio and SaX refuses to go above 800x600 no matter what values I assign to it. 

I have tried using the X packages from the default OSS repos and with all updates, and have now just tried the packages from the xorg73 repository, with no change. I've tried the -->LCD, VESA, and the one VAIO option with the exact same result.

The native resolution for the monitor is 1280x800.

linux-e582:~ # hwinfo --gfx
10: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.301]
  UDI: /org/freedesktop/Hal/devices/pci_8086_2a02
  Unique ID: _Znp.FJ7K+bgIY02
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Sony 965 GM"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2a02 "965 GM"
  SubVendor: pci 0x104d "Sony Corporation"
  SubDevice: pci 0x902d
  Revision: 0x0c
  Memory Range: 0xfc000000-0xfc0fffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (rw,prefetchable)
  I/O Ports: 0x1800-0x1807 (rw)
  IRQ: 16 (10 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d00002A02sv0000104Dsd0000902Dbc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: intel
  Driver Info #1:
    XFree86 v4 Server Module: intel
    3D Support: yes
    Extensions: dri
  Config Status: cfg=no, avail=yes, need=no, active=unknown

11: PCI 02.1: 0380 Display controller
  [Created at pci.301]
  UDI: /org/freedesktop/Hal/devices/pci_8086_2a03
  Unique ID: ruGf.mlUyuRzypd7
  SysFS ID: /devices/pci0000:00/0000:00:02.1
  SysFS BusID: 0000:00:02.1
  Hardware Class: graphics card
  Model: "Sony Mobile GM965/GL960 Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2a03 "Mobile GM965/GL960 Integrated Graphics Controller"
  SubVendor: pci 0x104d "Sony Corporation"
  SubDevice: pci 0x902d
  Revision: 0x0c
  Memory Range: 0xfc100000-0xfc1fffff (rw,non-prefetchable)
  Module Alias: "pci:v00008086d00002A03sv0000104Dsd0000902Dbc03sc80i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #10


linux-e582:~ # hwinfo --monitor
34: None 00.0: 10000 Monitor
  [Created at fb.71]
  Unique ID: rdCR.EY_qmtb9YY0
  Hardware Class: monitor
  Model: "Generic Monitor"
  Vendor: "Generic"
  Device: "Monitor"
  Resolution: 800x600@75Hz
  Driver Info #0:
    Max. Resolution: 800x600
    Vert. Sync Range: 50-90 Hz
    Hor. Sync Range: 31-48 kHz
  Config Status: cfg=new, avail=yes, need=no, active=unknown


Let me know if you require any other information.
Comment 1 Francis Giannaros 2008-02-25 22:31:44 UTC
Created attachment 197041 [details]
sax log, in case it's useful
Comment 2 Francis Giannaros 2008-02-25 22:34:06 UTC
Created attachment 197042 [details]
real xorg log

Sorry, the first attachment is actually the xorg.*conf* file, not xorg log, though I'm attaching that too now.
Comment 3 Stefan Dirsch 2008-02-25 22:51:18 UTC

*** This bug has been marked as a duplicate of bug 257746 ***
Comment 4 Francis Giannaros 2008-02-25 23:44:48 UTC
Created attachment 197051 [details]
sax log

Hope I interpreted the release note there correctly, but: a 'sax2 -r -m 0=i810' fails to start and the sax log says "no screens found". Is there anything I can do to get a reasonable resolution on the monitor?
Comment 5 Stefan Dirsch 2008-02-26 01:07:55 UTC
965GM is no longer supported by i810 driver. So this cannot work. Instead use the PreferredMode workaround mentioned in the other bugreport.
Comment 6 Francis Giannaros 2008-02-26 01:52:07 UTC
Thanks for the hint. I tried to change it but I still end up with 800x600, and I can't gather much from the xorg log file (at http://pastebin.ca/918345 ). My xorg.conf looks like this now, too: http://pastebin.ca/918348

I unfortunately have no idea about whether the hsync/vsync stuff needs to be changed (or how). Is that the problem?

Considered trying the 'DISPLAYMANAGER_RANDR_MODE_TMDS-1' but I'm not sure what's meant here. Sorry!
Comment 7 Stefan Dirsch 2008-02-26 03:59:57 UTC
> Option       "PreferredMode"  "Modes[1280x800]"

Should be 

  Option "PreferredMode" "1280x800"

instead. Unfortunately this only helps for using a VGA output, but it seems you're using a DVI-D output. This is rather tricky at the moment, i.e. configure it at runtime with xrandr, but reserve before more memory with
Virtual in xorg.conf. Well, this issue is still a duplicate of Bug #257746.
Comment 8 Francis Giannaros 2008-02-26 10:39:30 UTC
> Unfortunately this only helps for using a VGA output, but it seems you're using a DVI-D output.

Yeah, it didn't change the resolution.

> This is rather tricky at the moment, i.e. configure it at runtime with xrandr, but reserve before more memory with Virtual in xorg.conf.

Does this mean it's just not possible at the moment? Because of the way it looks (like this: http://picpaste.com/snc10933.jpg ) it's just a complete blocker. Should I be complaining upstream? Really need the computer to work with Linux :(
Comment 9 Stefan Dirsch 2008-02-26 10:43:26 UTC
As I've said it should be possible, but it's tricky.
Comment 10 Francis Giannaros 2008-02-26 10:47:57 UTC
Is there any chance you could walk me through the steps? (didn't really follow what was meant by the above, sorry! Or on the mailing list if it's more appropriate?). I really would be eternally grateful :-)
Comment 11 Stefan Dirsch 2008-02-26 11:03:48 UTC
Check with xrandr which output you need to specify with

  xrandr --output <output> --mode 1280x800

If this doesn't work (not enough memory available), add 

  Virtual 1280 800

to all SubSection "Display" of your /etc/X11/xorg.conf.
Comment 12 Francis Giannaros 2008-02-26 12:49:30 UTC
>  xrandr --output <output> --mode 1280x800

So something like:

xrandr --output DVI-0 --mode....? I get no error but it doesn't seem to change anything either.

Just tried the openSUSE 11.0 Alpha2 live CD and the resolution is detected *perfectly*. What's really strange though is that there's only 800x600 in the config file: http://pastebin.ca/918876

Inserting that config file into my 10.3 installation changes nothing though :(
Comment 13 Stefan Dirsch 2008-02-26 13:41:19 UTC
> xrandr --output DVI-0 --mode....? 

Right. Is 1280x800 mentioned as available resolution in "xrandr" output?

> Just tried the openSUSE 11.0 Alpha2 live CD and the resolution is detected
> *perfectly*. What's really strange though is that there's only 800x600 in the
> config file: http://pastebin.ca/918876

Xserver and intel driver have been updated for openSUSE 11.0. So some changes went in, which appearently fixed this issue. Not sure which are this though.

Comment 14 Francis Giannaros 2008-02-26 14:32:29 UTC
Just finally fixed this issue :-)

All I had to do all along was put vga=1280x800 in the boot options. Unbelievable :-)
Comment 15 Stefan Dirsch 2008-02-26 14:35:47 UTC
This indeed looks unbelievable. I didn't even know that one can also use resolution itself instead of dec or hex number for vga option.
Comment 16 Francis Giannaros 2008-02-26 15:38:50 UTC
On the 11.0 CD IIRC it just went ahead, but on the 10.3's it gave an error, offered for you to "scan", but if you just press <Enter> it carries on and happily goes into the right resolution.
Comment 17 Stefan Dirsch 2008-02-26 15:42:51 UTC
Nice to know this.