Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] New monitor problems. < sighs >
Date: Wed, 15 Dec 2010 15:55:58
Message-Id: AANLkTim3mRh6Azat4OvMPoznYkWorxs9J7ZcpW8x_f7M@mail.gmail.com
In Reply to: [gentoo-user] New monitor problems. < sighs > by Dale
1 On Wed, Dec 15, 2010 at 2:40 AM, Dale <rdalek1967@×××××.com> wrote:
2 > Hi again,
3 >
4 > For those mot up to date.  I built a new rig that has a Nvidia GT220 card in
5 > it.  I bought a brand new monitor this morning, a LG W2253, and it worked
6 > one time.  I had to reboot to move some things around and when I rebooted,
7 > the GUI doesn't come up.  The BIOS screen shows up and I can see the
8 > services start up as well but when it switches to vt7, it just has a little
9 > blinking cursor at the top.
10
11 At first glance my guess is that your kernel is configured incorrectly somehow.
12
13 I have a similar card (Nvidia GT 240). I am using fully ~amd64 system
14 and it all works. FWIW, below are my settings & a couple thoughts too.
15
16 Right away I think you need to enable the glx module in your
17 xorg.conf. I don't think the monitor and screen sections are necessary
18 at all (it should autodetect everything if you have a modern monitor
19 with EDID support (anything from past 10 years probably has it), and
20 forcing its hsync/vsync could be a cause of problems if they are
21 incorrect). So I'd try removing those.
22
23 The README that comes with the nvidia-drivers has answers to many of
24 the common error messages, including one of yours:
25 from /usr/share/doc/nvidia-drivers-260.19.21/README.bz2:
26 Q. X crashes during 'startx', and my X log file contains this error message:
27 (EE) NVIDIA(0): Failed to obtain a shared memory identifier.
28
29 A. The NVIDIA OpenGL driver and the NVIDIA X driver require shared memory to
30 communicate; you must have 'CONFIG_SYSVIPC' enabled in your kernel.
31
32
33 One thing that I don't know if anyone suggested is to check your
34 framebuffer settings in kernel. I seem to remember that enabling the
35 nvidia framebuffer support in kernel could prevent the drivers from
36 loading. I'm personally using uvesafb from sys-apps/v86d to get a
37 high-res console and it works nicely with the closed nvidia-drivers.
38
39 here's what I get on my working system:
40
41 /etc/X11/xorg.conf in its entirety:
42 Section "Module"
43 Load "glx"
44 EndSection
45
46 Section "Device"
47 Identifier "nVidia GT 240"
48 Driver "nvidia"
49 Option "NoLogo" "1"
50 EndSection
51
52
53 "dmesg | grep nvidia" shows me this:
54 [ 9.485269] nvidia: module license 'NVIDIA' taints kernel.
55 [ 10.118846] nvidia 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
56 [ 10.118857] nvidia 0000:03:00.0: setting latency timer to 64
57
58
59 "grep -i nvidia /var/log/Xorg.0.log" shows this:
60 [ 49.453] (**) | |-->Device "nVidia GT 240"
61 [ 50.891] (II) Module glx: vendor="NVIDIA Corporation"
62 [ 50.906] (II) NVIDIA GLX Module 260.19.21 Thu Nov 4 21:42:11 PDT 2010
63 [ 51.008] (II) LoadModule: "nvidia"
64 [ 51.008] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
65 [ 51.126] (II) Module nvidia: vendor="NVIDIA Corporation"
66 [ 51.205] (II) NVIDIA dlloader X Driver 260.19.21 Thu Nov 4
67 21:18:43 PDT 2010
68 [ 51.205] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
69 [ 51.400] (II) NVIDIA(0): Creating default Display subsection in
70 Screen section
71 [ 51.400] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
72 [ 51.400] (==) NVIDIA(0): RGB weight 888
73 [ 51.400] (==) NVIDIA(0): Default visual is TrueColor
74 [ 51.400] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
75 [ 51.400] (**) NVIDIA(0): Option "NoLogo" "1"
76 [ 51.401] (**) NVIDIA(0): Enabling RENDER acceleration
77 [ 51.401] (II) NVIDIA(0): Support for GLX with the Damage and
78 Composite X extensions is
79 [ 51.401] (II) NVIDIA(0): enabled.
80 [ 52.061] (II) NVIDIA(0): NVIDIA GPU GeForce GT 240 (GT215) at
81 PCI:3:0:0 (GPU-0)
82 [ 52.061] (--) NVIDIA(0): Memory: 1048576 kBytes
83 [ 52.061] (--) NVIDIA(0): VideoBIOS: 70.15.24.00.00
84 [ 52.061] (II) NVIDIA(0): Detected PCI Express Link width: 16X
85 [ 52.061] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
86 [ 52.061] (--) NVIDIA(0): Connected display device(s) on GeForce GT
87 240 at PCI:3:0:0
88 [ 52.061] (--) NVIDIA(0): DELL SP2309W (DFP-0)
89 [ 52.061] (--) NVIDIA(0): DELL SP2309W (DFP-0): 330.0 MHz maximum pixel clock
90 [ 52.061] (--) NVIDIA(0): DELL SP2309W (DFP-0): Internal Dual Link TMDS
91 [ 52.107] (II) NVIDIA(0): Assigned Display Device: DFP-0
92 [ 52.107] (==) NVIDIA(0):
93 [ 52.107] (==) NVIDIA(0): No modes were requested; the default mode
94 "nvidia-auto-select"
95 [ 52.107] (==) NVIDIA(0): will be used as the requested mode.
96 [ 52.107] (==) NVIDIA(0):
97 [ 52.107] (II) NVIDIA(0): Validated modes:
98 [ 52.107] (II) NVIDIA(0): "nvidia-auto-select"
99 [ 52.107] (II) NVIDIA(0): Virtual screen size determined to be 2048 x 1152
100 [ 52.138] (--) NVIDIA(0): DPI set to (101, 100); computed from
101 "UseEdidDpi" X config
102 [ 52.139] (--) NVIDIA(0): option
103 [ 52.139] (==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
104 [ 52.139] (II) NVIDIA: Using 768.00 MB of virtual memory for
105 indirect memory access.
106 [ 52.140] (II) NVIDIA(0): Initialized GPU GART.
107 [ 52.147] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
108 [ 52.219] (II) NVIDIA(0): Initialized OpenGL Acceleration
109 [ 52.305] (==) NVIDIA(0): Disabling shared memory pixmaps
110 [ 52.305] (II) NVIDIA(0): Initialized X Rendering Acceleration
111 [ 52.305] (==) NVIDIA(0): Backing store disabled
112 [ 52.305] (==) NVIDIA(0): Silken mouse enabled
113 [ 52.329] (==) NVIDIA(0): DPMS enabled
114 [ 52.342] (EE) NVIDIA: Failed to load module "dri2" (module does
115 not exist, 0)
116 [ 52.342] (II) NVIDIA(0): The X server will not be able to send the
117 VDPAU driver name to
118 [ 52.342] (II) NVIDIA(0): libvdpau.
119
120 (the dri2 error is insignificant as far as I know nvidia-drivers
121 doesn't use it so it is expected)
122
123 Framebuffer settings from kernel menuconfig:
124 Direct Rendering Manager - enabled as module, no sub-modules enabled
125 Support for frame buffer devices - enabled
126 \--Enable firmware EDID - enabled
127 \--Userspace VESA VGA graphics support - enabled
128 \--VESA VGA graphics support - enabled
129 Console Display Driver Support - Framebuffer console support - enabled
130 Bootup logo enabled so I can see the Tux army when I reboot :)
131 Everything else in this section and subsections is disabled,
132 specifically nothing nvidia-related is enabled.
133
134 in kernel General setup, initramfs source file(s) is set to
135 /usr/share/v86d/initramfs
136
137 in grub my boot line contains this video section for a 16:9 uvesafb console:
138 video=uvesafb:1280x720p-59,mtrr:2,ywrap
139
140 Relevant package versions and USE flags:
141 vanilla-kernel-2.6.36.2 compiled without genkernel, with v86d
142 (uvesafb) in initramfs for high-res console
143 nvidia-drivers-260.19.21 [acpi gtk kernel_linux multilib -custom-cflags]
144 xorg-server-1.9.2.902 [kdrive nptl udev xorg -dmx -doc -ipv6 -minimal
145 -static-libs -tslib]
146 v86d-0.1.9 [x86emu -debug]
147
148 I can send you my kernel .config if you want. Let me know! Good luck :)

Replies

Subject Author
Re: [gentoo-user] New monitor problems. < sighs > Dale <rdalek1967@×××××.com>