Re: [gentoo-amd64] problem with X configuration
I am also having similar issue. could any one suggest what do we need to do. On Tue, 22 Feb 2005 22:40:59 -0700, Scott Serr [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Mark Creamer [EMAIL PROTECTED] wrote: When I run glxinfo | grep direct, it returns: error: couldn't find RGB GLX visual. I would try changing Driver nvidia to Driver nv and run opengl-update xorg-x11 and that way at least you will see if it has anything to do with the nvidia driver. snip I'm having alot better luck with nvidia 6111 than the current 6629 version -- on two systems, my Athlon64 notebook with 440MX Go whatever... and a P4 with a Nvidia Quattro 380XL (something) at work. 6629 won't even drop me to a sain VC after I break out of a doinked X. I masked: # more /etc/portage/package.mask =media-video/nvidia-kernel-1.0.6629-r1 =media-video/nvidia-glx-1.0.6629-r1 =media-video/nvidia-settings-1.0.6629 =app-emulation/emul-linux-x86-nvidia-1.0.6629 =media-video/mjpegtools-1.6.2-r3 -- gentoo-amd64@gentoo.org mailing list -- -Yogesh Kanitkar -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] problem with X configuration
Hi, Yogesh Kanitkar wrote: (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! (EE) NVIDIA(0): *** Aborting *** (II) UnloadModule: nvidia (EE) Screen(s) found, but none have a usable configuration. I am using linux on Amd64 Kernal 2.6.7-gentoo-r11. I might have relatively new kernal header installed. newer nvidia packages have problems with kernel 2.6.9 when you have SMP in the kernel. update your kernel and everything will work again :) I know the exact same settings in xorg.conf was working fine with my monitor. I think the problem happened after updating nvidia-kernal . Greetings, blubb -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] problem with X configuration
I am having trouble updating kernal. the problem is with kernal configuration. I am a newbee and dont know much about the kernal configuration especially on Amd64. can some one please share there kernal config for 2.6.9. I have had many failed attempts. i even tried to use the old 2.6.7 config and did make oldconfig . some how i am not able to build a stable kernel. thanks for the suggestion quick reply. -yogesh On Fri, 25 Feb 2005 19:04:39 +0100, Simon Stelling [EMAIL PROTECTED] wrote: Hi, Yogesh Kanitkar wrote: (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! (EE) NVIDIA(0): *** Aborting *** (II) UnloadModule: nvidia (EE) Screen(s) found, but none have a usable configuration. I am using linux on Amd64 Kernal 2.6.7-gentoo-r11. I might have relatively new kernal header installed. newer nvidia packages have problems with kernel 2.6.9 when you have SMP in the kernel. update your kernel and everything will work again :) I know the exact same settings in xorg.conf was working fine with my monitor. I think the problem happened after updating nvidia-kernal . Greetings, blubb -- gentoo-amd64@gentoo.org mailing list -- -Yogesh Kanitkar -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] problem with X configuration
Yogesh Kanitkar [EMAIL PROTECTED] wrote: I am having trouble updating kernal. the problem is with kernal configuration. I am a newbee and dont know much about the kernal configuration especially on Amd64. can some one please share there kernal config for 2.6.9. I have had many failed attempts. i even tried to use the old 2.6.7 config and did make oldconfig . some how i am not able to build a stable kernel. Probably you should be making a 2.6.10 kernel, not 2.6.9. By a failed attempt, what do you mean? Trouble compiling the kernel, or you can compile it but it doesn't work correctly? If it doesn't work correctly, can you give more details? pgpb9UWPQt2yj.pgp Description: PGP signature
RE: [gentoo-amd64] problem with X configuration
Does a kernel upgrade (such as from 2.6.9 to 2.6.10) involve a complete recompile, or is there an easier way that sort-of keeps all existing settings regarding USE flags, modules, etc.? mc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, February 25, 2005 2:13 PM To: [EMAIL PROTECTED] Subject: Re: [gentoo-amd64] problem with X configuration Yogesh Kanitkar [EMAIL PROTECTED] wrote: I am having trouble updating kernal. the problem is with kernal configuration. I am a newbee and dont know much about the kernal configuration especially on Amd64. can some one please share there kernal config for 2.6.9. I have had many failed attempts. i even tried to use the old 2.6.7 config and did make oldconfig . some how i am not able to build a stable kernel. Probably you should be making a 2.6.10 kernel, not 2.6.9. By a failed attempt, what do you mean? Trouble compiling the kernel, or you can compile it but it doesn't work correctly? If it doesn't work correctly, can you give more details? This e-mail transmission contains information that is intended to be confidential and privileged. If you receive this e-mail and you are not a named addressee you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so is prohibited and may be unlawful. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please delete and otherwise erase it and any attachments from your computer system. Your assistance in correcting this error is appreciated. Thank you. Cintas Corporation. -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] problem with X configuration
Creamer, Mark [EMAIL PROTECTED] wrote: Does a kernel upgrade (such as from 2.6.9 to 2.6.10) involve a complete recompile, or is there an easier way that sort-of keeps all existing settings regarding USE flags, modules, etc.? Copy your /usr/src/linux-whatever/.config file from the old kernel's sources to the new kernel's sources and run make oldconfig. This usually works. If there are new features it will ask you if you want them. It won't ask you about stuff you already selected for the old kernel. Compile the new kernel and install it and its modules just like the old kernel. -- [EMAIL PROTECTED]http://www.chemoelectric.org I have directed that in the future I sign each letter. -- Rumsfeld pgpQDoE0VIEzX.pgp Description: PGP signature
Re: [gentoo-amd64] problem with X configuration
I wrote: Creamer, Mark [EMAIL PROTECTED] wrote: Does a kernel upgrade (such as from 2.6.9 to 2.6.10) involve a complete recompile, or is there an easier way that sort-of keeps all existing settings regarding USE flags, modules, etc.? Copy your /usr/src/linux-whatever/.config file from the old kernel's sources to the new kernel's sources and run make oldconfig. This usually works. If there are new features it will ask you if you want them. It won't ask you about stuff you already selected for the old kernel. Compile the new kernel and install it and its modules just like the old kernel. I left out -- Don't forget to make /usr/src/linux a symbolic link to the new kernel's sources. -- [EMAIL PROTECTED]http://www.chemoelectric.org I have directed that in the future I sign each letter. -- Rumsfeld pgpV4fyscFjwA.pgp Description: PGP signature
Re: [gentoo-amd64] problem with X configuration
[EMAIL PROTECTED] wrote: Copy your /usr/src/linux-whatever/.config file from the old kernel's sources to the new kernel's sources and run make oldconfig. This usually works. If there are new features it will ask you if you want them. It won't ask you about stuff you already selected for the old kernel. Compile the new kernel and install it and its modules just like the old kernel. Don't forget to make /usr/src/linux a symbolic link to the new kernel's sources. I find it useful to copy /usr/src/linux/.config to /boot/config-version , with /boot on a separate partition. Then I just run genkernel all --kernel-config=/boot/config-version and copy the .config, and that makes sure I can recompile any kernel I need, even if I zap the entire installation and start again. As Barry said, make oldconfig first ensures that no new options go unnoticed. (This is where I'm told in no uncertain fashion why genkernel is bad ;-) Well, I'm happy to learn.) -- Rgds Peter Humphrey -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] problem with X configuration
Peter Humphrey [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Copy your /usr/src/linux-whatever/.config file from the old kernel's sources to the new kernel's sources and run make oldconfig. This usually works. If there are new features it will ask you if you want them. It won't ask you about stuff you already selected for the old kernel. Compile the new kernel and install it and its modules just like the old kernel. Don't forget to make /usr/src/linux a symbolic link to the new kernel's sources. I find it useful to copy /usr/src/linux/.config to /boot/config-version , with /boot on a separate partition. Then I just run genkernel all --kernel-config=/boot/config-version and copy the .config, and that makes sure I can recompile any kernel I need, even if I zap the entire installation and start again. As Barry said, make oldconfig first ensures that no new options go unnoticed. (This is where I'm told in no uncertain fashion why genkernel is bad ;-) Well, I'm happy to learn.) Configuring kernels is more tedious than it is difficult. As usual, it gets less tedious the more times you have done it. I've done it lots of times with a lot of changes and a lot of options I didn't understand. Accept that sometimes your new kernel won't do the job. How I actually make new kernels is I have my kernel set to embed a copy of the .config file, so I go into the new /usr/src/linux/ and type zcat /proc/config.gz .config. Then I run oldconfig, which not only asks about any new features but also removes features not supported. This can easily happen to me, because I switch back and forth between hardened-dev-sources and my own creations; when I switch from hardened to my own I often give up some feature that hardened has patched into it. (I usually use hardened-dev-sources only if it has the version of grsecurity and PaX that I want. Otherwise I patch a kernel myself and pay little attention to feature-adding patches.) I have a little program, written in Icon, that copies the kernel, its config file, and System.map to /boot, giving them long names that are unique and informative. The new names are constructed from an a string that's embedded in the kernel itself; my program extracts this string. The program also creates a grub.conf.NEW with the new kernel at the top; I inspect this and then move it to grub.conf. Usually I also hand copy System.map to /boot/System.map, although if I remember correctly the System.map in /usr/src/linux takes precedence. Or maybe I just don't know what I'm talking about. :) -- [EMAIL PROTECTED]http://www.chemoelectric.org I have directed that in the future I sign each letter. -- Rumsfeld pgpxlsIjwqc9t.pgp Description: PGP signature
Re: [gentoo-amd64] problem with X configuration
Note that the nv driver is great for 2D but runs 3D in software mode. Will not give you good opengl performance, if that's what you're after. Otherwise, it's really good. On 23/02/2005, at 11:21 PM, Robert Longbottom wrote: Hmm, it seems a bit odd that agp should be disabled, but I wouldn't expect that to stop it working althogether, just cause a bit of a slowdown. You might like to try changing nv back to nvidia and starting X again. you should be able to check the X log file which is usually in /var/log/xorg.log (or thereabouts). There may be some failure messages that point to the problem that the nvidia drivers are having Robert. On Wed, February 23, 2005 12:13 pm, Mark Creamer said: Here's my output of same: bash-2.05b$ lsmod Module Size Used by nvidia 4052892 0 bash-2.05b$ dmesg|grep -i nvidia nvidia: module license 'NVIDIA' taints kernel. NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-6629 Wed Nov 3 11:43:48 PST 2004 bash-2.05b$ dmesg|grep -i agpgart agpgart: Detected AGP bridge 0 agpgart: Maximum main memory to use for agp memory: 1919M agpgart: AGP aperture is 128M @ 0xe000 Linux agpgart interface v0.100 (c) Dave Jones bash-2.05b$ cat /proc/driver/nvidia/cards/0 Model: GeForce FX 5700LE IRQ: 225 Video BIOS: ??.??.??.??.?? Card Type: AGP bash-2.05b$ cat /proc/driver/nvidia/agp/status Status: Disabled bash-2.05b$ cat /proc/driver/nvidia/agp/host-bridge Host Bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge Fast Writes: Supported SBA: Supported AGP Rates: 8x 4x Registers: 0x1f000a1b:0x bash-2.05b$ cat /proc/driver/nvidia/agp/card Fast Writes: Supported SBA: Supported AGP Rates: 8x 4x Registers: 0x1f000e1b:0x On Wednesday 23 February 2005 07:05 am, Robert Longbottom wrote: On Wed, February 23, 2005 11:54 am, Mark Creamer said: I corrected the monitor specs first, rebooted. No change. Then I changed the driver to nv as Barry suggested, and resolution settings look great. Now, do I leave it that way? I want to make sure I'm getting the full performance out of my nvidia card. It's a e-GeForce FX 5700LE, 256MB DDR AGP in my xorg.conf, I notice that the line Boardname is Unknown Board. Does that matter, or is it just informational? Thanks I'm sure you've already checked this, but you do have the nvidia kernel module loaded correctly don't you? check the output of lsmod if you're not sure. Also, there should be some messages in dmesg when the driver loads (try 'dmesg |grep -i nvidia') and also about agpgart, I think these appear when Xorg starts (dmesg|grep -i agpgart) Also, you can check the contents of /proc/driver/nvidia/ once the module has been loaded - it should give you some info about what type of card it thinks you have and whether or not AGP is working and what method it is using,etc ,etc. [EMAIL PROTECTED] robert $ dmesg|grep -i nvidia nvidia: module license 'NVIDIA' taints kernel. NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-6629 Wed Nov 3 11:43:48 PST 2004 [EMAIL PROTECTED] robert $ dmesg|grep -i agpgart agpgart: Detected AGP bridge 0 agpgart: Maximum main memory to use for agp memory: 941M agpgart: AGP aperture is 128M @ 0xe000 Linux agpgart interface v0.100 (c) Dave Jones agpgart: Found an AGP 3.0 compliant device at :00:00.0. agpgart: Putting AGP V3 device at :00:00.0 into 8x mode agpgart: Putting AGP V3 device at :01:00.0 into 8x mode agpgart: Found an AGP 3.0 compliant device at :00:00.0. agpgart: Putting AGP V3 device at :00:00.0 into 8x mode agpgart: Putting AGP V3 device at :01:00.0 into 8x mode [EMAIL PROTECTED] robert $ cat /proc/driver/nvidia/cards/0 Model: GeForce FX 5200 IRQ: 16 Video BIOS: 04.34.20.16.00 Card Type: AGP [EMAIL PROTECTED] robert $ cat /proc/driver/nvidia/agp/status Status: Enabled Driver: AGPGART AGP Rate:8x Fast Writes: Disabled SBA: Enabled [EMAIL PROTECTED] robert $ cat /proc/driver/nvidia/agp/host-bridge Host Bridge: PCI device 1106:0282 (VIA Technologies, Inc.) Fast Writes: Supported SBA: Supported AGP Rates: 8x Registers: 0x1f000a1a:0x0b02 [EMAIL PROTECTED] robert $ cat /proc/driver/nvidia/agp/card Fast Writes: Supported SBA: Supported AGP Rates: 8x 4x Registers: 0x1f000e1b:0x1f000302 -- gentoo-amd64@gentoo.org mailing list -- Mark Creamer -- gentoo-amd64@gentoo.org mailing list -- gentoo-amd64@gentoo.org mailing list -- gentoo-amd64@gentoo.org mailing list
[gentoo-amd64] problem with X configuration
I've been following the suggestions made here as well as the documentation on xorg.conf and nvidia. I continue to have the same issue though. The color depth is off - my desktop background is grainy, and if I open more than one window, like Firefox and a terminal, the colors on the inactive window change to like 8 colors displayed. Here is my xorg.conf file: Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/lib/X11/rgb ModulePath /usr/lib/modules FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/TTF/ FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/CID/ FontPath /usr/share/fonts/75dpi/ FontPath /usr/share/fonts/100dpi/ EndSection Section Module Load extmod # Load dri Load dbe Load record Load xtrap Load glx Load type1 Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/mouse EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option DigitalVibrance # i #Option NoFlip # [bool] #Option Dac8Bit # [bool] #Option NoLogo # [bool] #Option UBB # [bool] #Option Stereo # i #Option SWcursor# [bool] #Option HWcursor# [bool] #Option VideoKey# i #Option NvAGP # i #Option IgnoreEDID # [bool] #Option NoDDC # [bool] #Option ConnectedMonitor# str #Option ConnectedMonitors # str #Option TVStandard # str #Option TVOutFormat # str #Option RenderAccel # [bool] #Option CursorShadow# [bool] #Option CursorShadowAlpha # i #Option CursorShadowXOffset # i #Option CursorShadowYOffset # i #Option UseEdidFreqs# [bool] #Option FlatPanelProperties # str #Option TwinView# [bool] #Option TwinViewOrientation # str #Option SecondMonitorHorizSync # str #Option SecondMonitorVertRefresh # str #Option MetaModes # str #Option UseInt10Module # [bool] #Option NoTwinViewXineramaInfo # [bool] #Option NoRenderExtension # [bool] #Option Overlay # [bool] #Option CIOverlay # [bool] #Option ForceEmulatedOverlay # [bool] #Option TransparentIndex# i #Option OverlayDefaultVisual # [bool] #Option NvEmulate # i #Option NoBandWidthTest # [bool] #Option CustomEDID-CRT-0# str #Option CustomEDID-CRT-1# str #Option CustomEDID-DFP-0# str #Option CustomEDID-DFP-1# str #Option CustomEDID-TV-0 # str #Option CustomEDID-TV-1 # str #Option TVOverScan # f #Option IgnoreDisplayDevices # str #Option MultisampleCompatibility # [bool] #Option RegistryDwords # str #Option RegistryBinary # str #Option NoPowerConnectorCheck # [bool] #Option AllowDFPStereo # [bool] #Option XvMCUsesTextures# [bool] #Option HorizSync # str #Option VertRefresh # str #Option AllowGLXWithComposite # [bool] Identifier Card0 Driver nvidia VendorName nVidia Corporation BoardName Unknown Board BusID PCI:1:0:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Depth 24 Modes 1600x1200 EndSubSection EndSection When I run glxinfo | grep direct, it returns: error: couldn't find RGB GLX visual. Thanks for any help you can provide! -- Mark Creamer -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] problem with X configuration
Mark Creamer [EMAIL PROTECTED] wrote: Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Depth 24 Modes 1600x1200 EndSubSection EndSection Your monitor can handle 1600x1200 resolution? I would try 1280x1024 or 1152x864. Maybe your monitor is barfing. -- [EMAIL PROTECTED]http://www.chemoelectric.org I have directed that in the future I sign each letter. -- Rumsfeld pgpp8YDJnhWxx.pgp Description: PGP signature
Re: [gentoo-amd64] problem with X configuration
I checked the manual, and it says 1280x1024 @ 85Hz is recommended. I set the 1280x1024, but didn't see anyplace to set the refresh rate. Anyway, after a reboot, same result so far On Tuesday 22 February 2005 10:08 pm, [EMAIL PROTECTED] wrote: Mark Creamer [EMAIL PROTECTED] wrote: Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Depth 24 Modes 1600x1200 EndSubSection EndSection Your monitor can handle 1600x1200 resolution? I would try 1280x1024 or 1152x864. Maybe your monitor is barfing. -- Mark Creamer -- gentoo-amd64@gentoo.org mailing list
Re: [gentoo-amd64] problem with X configuration
Mark Creamer [EMAIL PROTECTED] wrote: When I run glxinfo | grep direct, it returns: error: couldn't find RGB GLX visual. I would try changing Driver nvidia to Driver nv and run opengl-update xorg-x11 and that way at least you will see if it has anything to do with the nvidia driver. I checked the manual, and it says 1280x1024 @ 85Hz is recommended. I set the 1280x1024, but didn't see anyplace to set the refresh rate. Anyway, after a reboot, same result so far Here's an excerpt from my xorg.conf that might help you figure it out: Section Monitor Identifier BenQ FP951 LCD monitor VendorName BenQ ModelName FP951 HorizSync 30-82 VertRefresh 56-76 EndSection -- [EMAIL PROTECTED]http://www.chemoelectric.org I have directed that in the future I sign each letter. -- Rumsfeld pgpXis9shUeDB.pgp Description: PGP signature