On 23/05/12 18:59, du yang wrote:
Hi,
I recently bought a new notebook ASUS U31SG which has a nvidia GT 610M
graphic card,
I always get blank screen (X is running) no matter how i tune the
xorg.conf,
Delete your xorg.conf file. Then, create
"/etc/X11/xorg.conf.d/nvidia.conf" with these contents:
Section "Device"
Identifier "NVidia GeForce GTX 560 Ti"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVidia GT 610M"
DefaultDepth 24
Option "metamodes" "1920x1080 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
(Replace "1920x1080" with the resolution you want.)
Also make sure to start "nvidia-settings --load-config-only" when
starting X. Unfortunately, Gentoo does not do this automatically (like
Ubuntu and other distros), so you need to do it manually by putting this
in "/etc/X11/xinit/xinitrc.d/95-nvidia-settings"
#!/bin/sh
[ -x /opt/bin/nvidia-settings ] &&
/opt/bin/nvidia-settings --load-config-only > /dev/null 2>&1
and make it executable:
$ chmod +x /etc/X11/xinit/xinitrc.d/95-nvidia-settings