PDA

View Full Version : Acer X193HQ and 1360x768 res problems


Bucky Ball
02-20-09, 01:51 AM
Hi all.

Just built a machine with Acer X193HQ monitor and Asus board has nvidia GeForce 7050 PV / nForce 630a (rev a2). I'm running Ubuntu 8.04.2.

Problem is I can't for the life of me figure how to get the native screen resolution happening, nvidia-settings rejecting it. The native res for the monitor is 1366x768, but my probing has revealed that 1360 or 1368 is the go (multiples of 8). I have tried changing the modeline to the one suggested often, which has '85.500' as the first number, but didn't make any difference. Here is my xorg.conf ...

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
SubSection "Display"
Virtual 1360 768
Depth 24
Modes "1360x768@60" "800x600@60" "800x600@56" $
EndSubSection
Option "AddARGBGLXVisuals" "True"
Defaultdepth 24
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "1280x768 +0+0; 1360x768@60 +0+0; 800x6$
Option "AddARGBGLXVisuals" "True"
Defaultdepth 24
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Vendorname "NVIDIA"
Boardname "NVIDIA GeForce 7 Series"
Screen 0
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Vendorname "NVIDIA Corporation"
Boardname "GeForce 7050 PV / NVIDIA nForce 630a"
EndSection

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

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Screen0" 0 0
Inputdevice "Generic Keyboard" "CoreKeyboard"
Inputdevice "Configured Mouse" "CorePointer"
EndSection

Section "Module"
Load "glx"
Load "v4l"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1360x768"
Horizsync 31.5 - 48.0
Vertrefresh 56.0 - 65.0
Gamma 1
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1360x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
EndSection

Section "Monitor"
Identifier "Monitor0"
Vendorname "Unknown"
Modelname "Acer X193HQ"
Horizsync 31.0 - 80.0
Vertrefresh 55.0 - 76.0
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

It's this line that has me a bit confused:

Option "metamodes" "1280x768 +0+0; 1360x768@60 +0+0; 800x6$

I am only using one monitor, do I need a metamode??? Oddly, the 1360x768 res doesn't appear in nvidia-settings.

The resolution it is defaulting to is 1280x768. I used envyng to install the driver and re-write the xorg.conf. Nvidia-settings suggests removing all reference to the 1360x768 res when I preview the file it after clicking 'write to config'.

I feel this xorg.conf is close but obviously I'm no expert. Rather than learn how to write a custom xorg.conf for my setup, was hoping someone here might be able to shed some light on how I might be able to streamline and change this one. Any help would be greatly appreciated. :)

Bucky Ball
02-22-09, 10:02 AM
Here is my current xorg.conf:

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Acer X193HQ"
HorizSync 31.0 - 80.0
VertRefresh 55.0 - 76.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7050 PV / NVIDIA nForce 630a"
EndSection

Section "Screen"

# Removed Option "metamodes" "1360x768_60 +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "1280x768_60 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Can someone help me out with this before I go mad??? When I substitute the correct resolution values in the metamode line, it seems like xorg.conf is being ignored as always defaults to another value. I have been through several million (or at least it seems that way) and did virtually end up learning how to write the conf file, with the aid of this page mostly:

http://www.freebsd.org/doc/en/books/handbook/x-config.html

I have had spartan, bloated and everything in between xorg.conf files, but no matter what I try, just defaults to something other than 1360x768 and that resolution never shows up in nvidia-settings, even when there is no mention of any other resolution in xorg.conf! I'm confused. Something simple I'm missing no doubt and will eventually crack it (or crack up trying!).