On Wed, Dec 15, 2010 at 2:40 AM, Dale <rdalek1...@gmail.com> wrote:
> Hi again,
>
> For those mot up to date.  I built a new rig that has a Nvidia GT220 card in
> it.  I bought a brand new monitor this morning, a LG W2253, and it worked
> one time.  I had to reboot to move some things around and when I rebooted,
> the GUI doesn't come up.  The BIOS screen shows up and I can see the
> services start up as well but when it switches to vt7, it just has a little
> blinking cursor at the top.

At first glance my guess is that your kernel is configured incorrectly somehow.

I have a similar card (Nvidia GT 240). I am using fully ~amd64 system
and it all works. FWIW, below are my settings & a couple thoughts too.

Right away I think you need to enable the glx module in your
xorg.conf. I don't think the monitor and screen sections are necessary
at all (it should autodetect everything if you have a modern monitor
with EDID support (anything from past 10 years probably has it), and
forcing its hsync/vsync could be a cause of problems if they are
incorrect). So I'd try removing those.

The README that comes with the nvidia-drivers has answers to many of
the common error messages, including one of yours:
from /usr/share/doc/nvidia-drivers-260.19.21/README.bz2:
Q. X crashes during 'startx', and my X log file contains this error message:
   (EE) NVIDIA(0): Failed to obtain a shared memory identifier.

A. The NVIDIA OpenGL driver and the NVIDIA X driver require shared memory to
   communicate; you must have 'CONFIG_SYSVIPC' enabled in your kernel.


One thing that I don't know if anyone suggested is to check your
framebuffer settings in kernel. I seem to remember that enabling the
nvidia framebuffer support in kernel could prevent the drivers from
loading. I'm personally using uvesafb from sys-apps/v86d to get a
high-res console and it works nicely with the closed nvidia-drivers.

here's what I get on my working system:

/etc/X11/xorg.conf in its entirety:
Section "Module"
    Load "glx"
EndSection

Section "Device"
    Identifier "nVidia GT 240"
    Driver "nvidia"
    Option "NoLogo" "1"
EndSection


"dmesg | grep nvidia" shows me this:
[    9.485269] nvidia: module license 'NVIDIA' taints kernel.
[   10.118846] nvidia 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   10.118857] nvidia 0000:03:00.0: setting latency timer to 64


"grep -i nvidia /var/log/Xorg.0.log" shows this:
[    49.453] (**) |   |-->Device "nVidia GT 240"
[    50.891] (II) Module glx: vendor="NVIDIA Corporation"
[    50.906] (II) NVIDIA GLX Module  260.19.21  Thu Nov  4 21:42:11 PDT 2010
[    51.008] (II) LoadModule: "nvidia"
[    51.008] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[    51.126] (II) Module nvidia: vendor="NVIDIA Corporation"
[    51.205] (II) NVIDIA dlloader X Driver  260.19.21  Thu Nov  4
21:18:43 PDT 2010
[    51.205] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    51.400] (II) NVIDIA(0): Creating default Display subsection in
Screen section
[    51.400] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    51.400] (==) NVIDIA(0): RGB weight 888
[    51.400] (==) NVIDIA(0): Default visual is TrueColor
[    51.400] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    51.400] (**) NVIDIA(0): Option "NoLogo" "1"
[    51.401] (**) NVIDIA(0): Enabling RENDER acceleration
[    51.401] (II) NVIDIA(0): Support for GLX with the Damage and
Composite X extensions is
[    51.401] (II) NVIDIA(0):     enabled.
[    52.061] (II) NVIDIA(0): NVIDIA GPU GeForce GT 240 (GT215) at
PCI:3:0:0 (GPU-0)
[    52.061] (--) NVIDIA(0): Memory: 1048576 kBytes
[    52.061] (--) NVIDIA(0): VideoBIOS: 70.15.24.00.00
[    52.061] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    52.061] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[    52.061] (--) NVIDIA(0): Connected display device(s) on GeForce GT
240 at PCI:3:0:0
[    52.061] (--) NVIDIA(0):     DELL SP2309W (DFP-0)
[    52.061] (--) NVIDIA(0): DELL SP2309W (DFP-0): 330.0 MHz maximum pixel clock
[    52.061] (--) NVIDIA(0): DELL SP2309W (DFP-0): Internal Dual Link TMDS
[    52.107] (II) NVIDIA(0): Assigned Display Device: DFP-0
[    52.107] (==) NVIDIA(0):
[    52.107] (==) NVIDIA(0): No modes were requested; the default mode
"nvidia-auto-select"
[    52.107] (==) NVIDIA(0):     will be used as the requested mode.
[    52.107] (==) NVIDIA(0):
[    52.107] (II) NVIDIA(0): Validated modes:
[    52.107] (II) NVIDIA(0):     "nvidia-auto-select"
[    52.107] (II) NVIDIA(0): Virtual screen size determined to be 2048 x 1152
[    52.138] (--) NVIDIA(0): DPI set to (101, 100); computed from
"UseEdidDpi" X config
[    52.139] (--) NVIDIA(0):     option
[    52.139] (==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
[    52.139] (II) NVIDIA: Using 768.00 MB of virtual memory for
indirect memory access.
[    52.140] (II) NVIDIA(0): Initialized GPU GART.
[    52.147] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[    52.219] (II) NVIDIA(0): Initialized OpenGL Acceleration
[    52.305] (==) NVIDIA(0): Disabling shared memory pixmaps
[    52.305] (II) NVIDIA(0): Initialized X Rendering Acceleration
[    52.305] (==) NVIDIA(0): Backing store disabled
[    52.305] (==) NVIDIA(0): Silken mouse enabled
[    52.329] (==) NVIDIA(0): DPMS enabled
[    52.342] (EE) NVIDIA: Failed to load module "dri2" (module does
not exist, 0)
[    52.342] (II) NVIDIA(0): The X server will not be able to send the
VDPAU driver name to
[    52.342] (II) NVIDIA(0):     libvdpau.

(the dri2 error is insignificant as far as I know nvidia-drivers
doesn't use it so it is expected)

Framebuffer settings from kernel menuconfig:
Direct Rendering Manager - enabled as module, no sub-modules enabled
Support for frame buffer devices - enabled
\--Enable firmware EDID - enabled
\--Userspace VESA VGA graphics support - enabled
\--VESA VGA graphics support - enabled
Console Display Driver Support - Framebuffer console support - enabled
Bootup logo enabled so I can see the Tux army when I reboot :)
Everything else in this section and subsections is disabled,
specifically nothing nvidia-related is enabled.

in kernel General setup, initramfs source file(s) is set to
/usr/share/v86d/initramfs

in grub my boot line contains this video section for a 16:9 uvesafb console:
video=uvesafb:1280x720p-59,mtrr:2,ywrap

Relevant package versions and USE flags:
vanilla-kernel-2.6.36.2 compiled without genkernel, with v86d
(uvesafb) in initramfs for high-res console
nvidia-drivers-260.19.21 [acpi gtk kernel_linux multilib -custom-cflags]
xorg-server-1.9.2.902 [kdrive nptl udev xorg -dmx -doc -ipv6 -minimal
-static-libs -tslib]
v86d-0.1.9 [x86emu -debug]

I can send you my kernel .config if you want. Let me know! Good luck :)

Reply via email to