Wednesday, January 30, 2008

Ubuntu + resolution + NVIDIA GeForce 6100

đây là 1 trường hợp mình cũng mới gặp trong UBUNTU 7.10
From ubuntuforums.org

blue777 blue777 is offline
First Cup of Ubuntu

Question: ( this is the same with my problem)

Hello,

I am using Kubuntu 6.06.
Onboard graphics: NVIDIA GeForce 6100
I have used a resolution of 1024x768@85 for a few months without problems using "nvidia" driver. GLX worked great too.
One day when I booted my PC suddenly it only allowed one low resolution and refresh rate.
I tried dozens of xorg.conf configurations, removed and re-installed nvidia drivers using synaptic, using the .run executable from nvidia server and using automatix2. None of them worked.

xrandr will only output one line with 800 x 600 @ 60 resolution.

Right now I am using "nv" driver and it works, although it is only 1024x768@79 when it should be 85Hz.

This is my current xorg.conf that works with "nv" driver, but only at low resolution with "nvidia" driver:


Code:
# /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 "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" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
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 "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

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

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

Section "Device"
Identifier "NVIDIA 6100"
Driver "nv"
BusID "PCI:0:5:0"
EndSection

Section "Monitor"
Identifier "Monitor"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-120
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA 6100"
Monitor "Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "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
Anyone an idea what else I could try?



Answers:( Source From
mand0's Avatar
mand0 mand0 is offline
A Carafe of Ubuntu
)

Re: NVIDIA GeForce 6100 / Resolution

Quote:
Originally Posted by mand0 View Post
Have you tried running this in terminal?

Code:
sudo dpkg-reconfigure xserver-xorg
I did, the current configuration I am using now was made this way.
I have a full list when I type xrandr and use "nv" driver, but as soon as I switch to "nvidia" driver, there is only one line.

Quote:
Originally Posted by mand0 View Post
Type in terminal:

Code:
glxinfo
It is enabled.
__________________

1 comment:

Tem_dl said...

Sau 1 buổi tối quậy phá cuối cùng cũng xong. Nhưng vẫn chưa hiểu tại sao xong.
Nếu ai bị trường hợp này thì có thể kêu mình trợ giúp! vẫn muốn làm lại thêm lần nữa để hiểu rõ hơn!