On Thu, May 24, 2012 at 2:37 AM, Nikos Chantziaras <rea...@gmail.com> wrote:
> 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 > > > Thanks your help. but I got error "screen not found" when I try to use it. is there configuration missing? [115146.137] (II) LoadModule: "nvidia" [115146.137] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so [115146.138] (II) Module nvidia: vendor="NVIDIA Corporation" [115146.138] compiled for 4.0.2, module version = 1.0.0 [115146.138] Module class: X.Org Video Driver [115146.138] (II) NVIDIA dlloader X Driver 295.53 Fri May 11 23:29:56 PDT 2012 [115146.138] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs [115146.138] (--) using VT number 7 [115146.140] (EE) No devices detected. [115146.140] Fatal server error: [115146.140] no screens found [115146.140] -- Dreaming my dream!