PDA

View Full Version : widescreen 1440x900 not filling monitor!


masnevets
September 9th, 2006, 01:55 AM
I just got a Hanns-G HW191D today and I have been tweaking with xorg to get the 1440x900 resolution promised by the product. It works, but there is a slight problem in that the top inch or so of the monitor is a big black strip, so that the 1440x900 does not fill up the screen, but is compressed into the space below that black strip.

I used 915resolution to replace the 1280x1024 resolution on my VBIOS, and trying to replace the others gives a "no input signal" error. I'm using the i810 driver and I have an Intel 845G integrated chip. I have tried most things and it will not fill up that top part of the screen. Before using 915resolution and using 1280x1024 resolution, the screen was filled but stretched to fill the width, so I know that the top part is usable. And this happens in GDM, Gnome, and Fluxbox.

I have attached the output of 915resolution and my xorg.conf. Please help!

-Steven

steven@svsdesk:~$ sudo 915resolution -l
Intel 800/900 Series VBIOS Hack : version 0.5.2

Chipset: 845G
BIOS: TYPE 2
Mode Table Offset: $C0000 + $3de
Mode Table Entries: 18

Mode 30 : 640x480, 8 bits/pixel
Mode 32 : 800x600, 8 bits/pixel
Mode 34 : 1024x768, 8 bits/pixel
Mode 38 : 1440x900, 8 bits/pixel
Mode 3a : 1600x1200, 8 bits/pixel
Mode 3c : 1920x1440, 8 bits/pixel
Mode 41 : 640x480, 16 bits/pixel
Mode 43 : 800x600, 16 bits/pixel
Mode 45 : 1024x768, 16 bits/pixel
Mode 49 : 1440x900, 16 bits/pixel
Mode 4b : 1600x1200, 16 bits/pixel
Mode 4d : 1920x1440, 16 bits/pixel
Mode 50 : 640x480, 32 bits/pixel
Mode 52 : 800x600, 32 bits/pixel
Mode 54 : 1024x768, 32 bits/pixel
Mode 58 : 1440x900, 32 bits/pixel
Mode 5a : 1600x1200, 32 bits/pixel
Mode 5c : 1920x1440, 32 bits/pixel


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
Driver "i810"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "HW191D"
DisplaySize 408 255
Option "DPMS"
Option "DDC" "false"
HorizSync 30-70
VertRefresh 60
Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -Hsync +Vsync
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
Monitor "HW191D"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Junx
September 9th, 2006, 02:15 AM
You did try using gtf to generate the proper Modeline, right?

masnevets
September 9th, 2006, 02:45 AM
yes I used gtf

Interestingly enough, if I use 1280x800, the black strip is about 2 inches big, and if I use 1440x1000 (nonstandard), it's gone. Now, I suppose I could use 1440x1000, but this is bigger than I'm supposed to have, so I worry this may damage my monitor. Also, I think the pixels are slightly stretched, so it would look best if I could get 1440x900 filling up the screen.

masnevets
September 9th, 2006, 03:17 AM
Okay, I fixed it and damn it looks sweet!

It turns out that editing /etc/default/915resolution was not enough because it does not offer some arguments that were necessary. What I did was deleted my /etc/init.d/915resolution and replaced it with the following:

#! /bin/sh

/usr/sbin/915resolution 58 1440 900 32 1904 934
/usr/sbin/915resolution 49 1440 900 16 1904 934
/usr/sbin/915resolution 38 1440 900 8 1904 934

exit 0

The 1904 and 934 are two of the values from gtf. If someone else has this problem, you can probably figure out from my modelines which numbers to use.

Thanks for trying to help, though.

Junx
September 9th, 2006, 11:13 AM
You know that you should probably edit /etc/default/915resolution instead of /etc/init.d/915resolution, right?

masnevets
September 9th, 2006, 04:26 PM
/etc/default/915resolution does not offer a place for HTOP and VTOP

If you can just add this, then I can go back and change it, but otherwise, just giving the X and Y resolutions is not enough, as I mentioned because it does not fill the whole screen.

sgr07
July 8th, 2007, 05:54 AM
Damn! it does look sweet. Thanks to masnevets for the xorg.conf.
Just updating this section worked fine for my HW191D.

Section "Monitor"
Identifier "HW191D"
DisplaySize 408 255
Option "DPMS"
Option "DDC" "false"
HorizSync 30-70
VertRefresh 60
Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -Hsync +Vsync
EndSection

Btw, I have XUbuntu 7.04, and they are updating (as late as 2/07) graphic drivers
for 3dfx voodoo3 which is truly defunct graphics card in the market!
The world is often very kind.
Thanks!

rye_
July 8th, 2007, 06:24 AM
Hi,

you shouldn't need to use 915resolution (you'll have video playback troubles) or mess with xorg.

simply install xserver-xorg-video-intel (which replaces the i810 driver) and press ctrl+alt+backspace.

this should solve your problems. (if my experience is anything to go by)

ryan