Ubuntu 7.04 resolution problem

shivantha17

Member
Mar 13, 2007
457
1
0
40
Minuwangoda
i use ubuntu 7.04 version and i have already installed nvidia drivers for my vga card.
problem is, when i installed nvidia drivers resolution is not supported 1024*768.
pls help me,
how to add 1024*768 to my resolution list..thanx.............:( :( :( :( :( :( :(
 

shivantha17

Member
Mar 13, 2007
457
1
0
40
Minuwangoda
yes this is the one

The_Ace said:
can you post your xorg.conf ?

# /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 xorg.conf(5) manual page.
# (Type "man 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/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

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

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

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
BusID "PCI:0:5:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60

# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz(this is found by nvidia ubuntu forum.but not working---this part is not in original conf file)
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync



EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
 

The_Ace

Member
Oct 28, 2006
281
0
0
first off, backup your xorg.conf

shouldnt the driver be "nv" isntead of "nvidia" in this section :
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
BusID "PCI:0:5:0"
EndSection

change to
Section "Device"
Identifier "Generic Video Card"
Driver "nv"
BusID "PCI:0:5:0"
EndSection

also comment out/remove this part :
# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz(this is found by nvidia ubuntu forum.but not working---this part is not in original conf file)
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
messing with hsync and vsync is a good way to blow your monitor.

what's your monitor and what the resolutions it supports and whats it's hsync vsync values ?
If youre not sure about the hsync, vsync values, play it safe and change this bit :
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60

to :
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-49
VertRefresh 56-70

and restart X
 

ICE

Active member
  • Mar 26, 2007
    6,152
    1
    38
    41
    The_Ace said:
    first off, backup your xorg.conf

    shouldnt the driver be "nv" isntead of "nvidia" in this section :


    change to


    also comment out/remove this part :

    messing with hsync and vsync is a good way to blow your monitor.

    what's your monitor and what the resolutions it supports and whats it's hsync vsync values ?
    If youre not sure about the hsync, vsync values, play it safe and change this bit :


    to :


    and restart X


    yaa somthing like this should work........... :yes: :yes: :yes:

    I did somthing like this for fedoracore installation sometime ago.. but i dont remember the changes now :( :(
     

    shivantha17

    Member
    Mar 13, 2007
    457
    1
    0
    40
    Minuwangoda
    machan it is not working

    i tried yesterday.but it is not working.i change my conf file as u said .after that it changed to nvidia driver disable mode.it was working with 1024*768 resolution .but i want 1024*768 with nvidia drivers.i already installed nvidia drivers.but i cant get resolution perfect.pls help me.