Hi, I am newbie in Ubuntu world. I got crazy with the screen resolution and the NVIDIA NVS 4200M video card driver.
I give some details about the problem to make it easy to solve, but if you are expert please directly go to the final questions. The process is like that:
I cannot start up the 11.10 and upgraded it under recovery mode into 12.04. Then the screen is 640*480. I googled it, a lot of people said it needs to install the video card driver. I do it step by step several times. I did it a lot of times follow different posts and majorly as:
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current
and when I run the NVIDIA setting from "Dash home": it pops up an error:
"You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server."
then I googled again try to solve this by:
sudo nvidia-xconfig
or reinstall the driver.
not work..
Later I gave up and tried as some posts suggested to change the Grub files manually:
sudo gedit /etc/X11/xorg.conf
and add an new modeline and change the resolution to 1600*900 manually.
It works once after I restart, but later I start and it return back to 1024*768; the screen is sometimes on the left-upper corner, sometimes in the middle.
Today I read another post said maybe because the NVIDIA official driver is not compatibly with the 12.04, and follow this post by using the Bumblebee:
http://ubuntuforums.org/showthread.php?t=1973025
Codes:
sudo apt-get purge nvidia*
sudo nvidia-uninstall
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia
But after installation, I cannot find a place to set up the bumblebee-nvidia.
I restart and the resolution is still 1024*768, and I change it under System --> Display as : 1600*900, then it becomes a black screen...
I uninstall the bumblebee-nvidia and restart it again,
And the funny thing happened: the screen after turn into black for a second will come back as 1024*768 first and changed into 1600*900 after some flashes.
I also notice that under the "additional drivers", I can only find "nvidia riva/TNT/Geoforce" but it is " This driver is activated but not in use" . I cannot find items like "NVIDIA accelerated graphics driver".
Then my questions are:
1.How can I make the screen resolution stable at 1600*900 ? (currently the login screen is 1600*900, and after login it will first be 1024*768, then flash several times and change into 1600*900)
2. How can I install the nvidia driver? (Is there a place need to set/start the video card in the BIOS? but my Windows 7 works perfect as dual system)
----------------------------------------------------------------
Here is the file xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 304.37 (buildmeister@swio-display-x86-rhel47-03.nvidia.com) Wed Aug 8 21:01:23 PDT 2012
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen" 0 0
InputDevice "Generic Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse" "CorePointer"
EndSection
Section "Module"
Load "glx"
Load "v4l"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cn"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
VendorName "Generic CRT Display"
ModelName "Monitor 1400x1050"
HorizSync 31.5 - 119.0
VertRefresh 50.0 - 85.0
Gamma 1
ModeLine "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
...
ModeLine "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
# 1600x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 119.00 MHz
Modeline "1600x900@60" 119.00 1600 1696 1864 2128 900 901 904 932 -HSync +Vsync
EndSection
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
VendorName "NVIDIA"
BoardName "NVIDIA GeForce4 (generic)"
Screen 0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
Option "NoLogo" "True"
SubSection "Display"
Virtual 1600 900
Depth 24
Modes "1600x900@60"
EndSubSection
EndSection
Bookmarks