Ok, I used apt-get/synaptic to update the kernel for the k_athlon version I had. After I have had problems with the NVdriver loading. In otherwords, when a do an "lsmod" there's no "NVdriver" or "agpgart" loaded as before. I have check and made sure that libGL.so.1 is symlinked to the proper driver in /usr/lib/GL which is libGL.so.1.0.3123.nv_glx. and in the module.conf file I have "alias char-major-195 NVdriver", though the placement of this line is now different, whereas before it was under the section "Moxa Multiport Serial Boards" it is now the last line in modules after the YaST2/(alsa) sound system dependent part. (I'm also curious as to why the previous module "agpgart" is not loading either). After upgrading the kernel I got with synaptic I ran "mk_initrd". I also have reinstall the NVIDIA_kernel and GLX packages and in the manner spec'ed by nVidia (do an -Uhv for the kernel packages and then rpm -e followed by -ihv for the GLX package). Accord to the "Available HardWare" in the kde CC it's installed and configured. 3Ddiag give the following: Crusher-1:/home/crrey # 3Ddiag 3Ddiag version 0.496 Verifying 3D configuration: Using 3dinfo ************************************************************ Verifying 3D configuration based on XFree86 4 for 3D board "nVidia Corporation GeForce3 Ti 200 (10de@0201)": Tests for package "NVIDIA_GLX": package ... done. package files ... done. Tests for package "NVIDIA_kernel": package ... done. package files ... done. Tests for correct OpenGL libraries/GLX extensions: Symbolic Links ... done. /etc/sysconfig/3ddiag (SCRIPT_3D=switch2nvidia_glx) ... done. Test for correct XFree86 version ... done. Tests for XFree86 configuration: Config File /etc/X11/XF86Config ... done. Driver ... failed! ================================================================ 3D Hardware acceleration is not used. To use 3D Hardware acceleration please specify the entry Driver "nvidia" in the Section "Device" of your /etc/X11/XF86Config. ================================================================ Color Depth ... done. Extensions ... failed! ================================================================ 3D Hardware acceleration is not used. To use 3D Hardware acceleration please specify these entries Load "glx" in the Section "Module" of your /etc/X11/XF86Config. ================================================================ Options ... done. ----------------------- NOTE ----------------------------------- If 3D hardware OpenGL configuration is not stable enough, you should switch back to 'Mesa Software Rendering'. You can verify this configuration with the command "3Ddiag --mesasoft". ----------------------- NOTE ----------------------------------- Checking GLU/glut runtime configuration: GLU ... done (package mesaglu) glut ... done (package mesaglut) If I manually load the NVdriver it will show in an lsmod as loaded, but at the end of the listing and listed as unused (I can't remember if this is as normal or not, the unused listing that is). How do I get it to be loaded from the modules.conf file as before? I have modules.conf, modules.conf.- , and a modules.conf.old files in the /etc directory. I'm wondering if I should try to cp the present mod conf to something like modules.conf.bkup and then cp'ing one of the other mod confs to be read (like cp modules.conf.- or the modules.conf.old). Any help will be greatly appreciated. TIA, Curtis. -- Billboard Writer vs. Literature = Micorsoft vs. Computing,
On Friday 06 December 2002 13:48, Curtis Rey wrote:
Ok, I used apt-get/synaptic to update the kernel for the k_athlon version I had. After I have had problems with the NVdriver loading. In otherwords, when a do an "lsmod" there's no "NVdriver" or "agpgart" loaded as before.
You definitely shouldn't have _both_ loaded simulaneously. One or the other.
I have check and made sure that libGL.so.1 is symlinked to the proper driver in /usr/lib/GL which is libGL.so.1.0.3123.nv_glx. and in the module.conf file I have "alias char-major-195 NVdriver",
As do I. # cat /etc/modules.conf | grep NV alias char-major-195 NVdriver #
though the placement of this line is now different, whereas before it was under the section "Moxa Multiport Serial Boards" it is now the last line in modules after the YaST2/(alsa) sound system dependent part.
modules.conf is not divided into sections, and all lines can be moved to any position. It doesn't matter that it has moved.
(I'm also curious as to why the previous module "agpgart" is not loading either).
agpgart is the Linux kernel's AGP implementation; NVdriver is NVidia's. Honestly, I don't know if NVidia's kernel module works with agpgart. Seems not, as NVidia lists both as requirements [http://www.nvidia.com/view.asp?IO=linux_display_1.0-3123]: STEP 3: Download the Driver You must download 2 files: a GLX driver file and a kernel driver file. The version of these files must match.
After upgrading the kernel I got with synaptic I ran "mk_initrd". I also have reinstall the NVIDIA_kernel and GLX packages and in the manner spec'ed by nVidia (do an -Uhv for the kernel packages and then rpm -e followed by -ihv for the GLX package). Accord to the "Available HardWare" in the kde CC it's installed and configured. 3Ddiag give the following:
Crusher-1:/home/crrey # 3Ddiag 3Ddiag version 0.496 Verifying 3D configuration: Using 3dinfo ************************************************************
Verifying 3D configuration based on XFree86 4 for 3D board "nVidia Corporation GeForce3 Ti 200 (10de@0201)":
Tests for package "NVIDIA_GLX": package ... done. package files ... done. Tests for package "NVIDIA_kernel": package ... done. package files ... done.
Tests for correct OpenGL libraries/GLX extensions: Symbolic Links ... done. /etc/sysconfig/3ddiag (SCRIPT_3D=switch2nvidia_glx) ... done.
Test for correct XFree86 version ... done.
Tests for XFree86 configuration: Config File /etc/X11/XF86Config ... done. Driver ... failed! ================================================================ 3D Hardware acceleration is not used. To use 3D Hardware acceleration please specify the entry
Driver "nvidia"
in the Section "Device" of your /etc/X11/XF86Config.
IMPORTANT. Just as the output says, you need to use the "nvidia" driver module. You're probably using "nv" right now, which, IIRC, is just a shell for the SVGA driver. Just replace your "nv" with "nvidia". My machine: # cat /etc/X11/XF86Config | grep nv Driver "nvidia" #
================================================================ Color Depth ... done. Extensions ... failed! ================================================================ 3D Hardware acceleration is not used. To use 3D Hardware acceleration please specify these entries
Load "glx"
in the Section "Module" of your /etc/X11/XF86Config. ================================================================ Options ... done.
Yup. The "Load "glx"" will specify which GLX driver to load. AFAIK, this is what actually provides an OpenGL interface. My /etc/X11/XF86Config: Section "Module" Load "dbe" Load "type1" # Load "speedo" Load "extmod" Load "freetype" Load "glx" EndSection
----------------------- NOTE ----------------------------------- If 3D hardware OpenGL configuration is not stable enough, you should switch back to 'Mesa Software Rendering'. You can verify this configuration with the command "3Ddiag --mesasoft". ----------------------- NOTE -----------------------------------
Checking GLU/glut runtime configuration: GLU ... done (package mesaglu) glut ... done (package mesaglut)
If I manually load the NVdriver it will show in an lsmod as loaded, but at the end of the listing and listed as unused (I can't remember if this is as normal or not, the unused listing that is).
Try with the changes. For me (I'm using NVidia's kernel module and GLX driver): # lsmod | grep NV NVdriver 1061920 10 (autoclean) #
How do I get it to be loaded from the modules.conf file as before?
You already have it, as you specify in the beginning of this email that you have "alias char-major-195 NVdriver" in your modules.conf.
I have modules.conf, modules.conf.- , and a modules.conf.old files in the /etc directory. I'm wondering if I should try to cp the present mod conf to something like modules.conf.bkup and then cp'ing one of the other mod confs to be read (like cp modules.conf.- or the modules.conf.old).
Any help will be greatly appreciated.
TIA, Curtis.
Good luck, Curtis. You should be up and running if you add/change those
two lines in your /etc/X11/XF86Config. Post back and tell everyone how
it goes.
--
Karol Pietrzak
On Friday 06 December 2002 23.26, Karol Pietrzak wrote:
You definitely shouldn't have _both_ loaded simulaneously. One or the other.
That depends on your config. the XF86Config option NvAGP determines which implementation will be used.
agpgart is the Linux kernel's AGP implementation; NVdriver is NVidia's. Honestly, I don't know if NVidia's kernel module works with agpgart.
NVdriver is much more than AGP. It can use agpgart if you tell it to do so. However, in my experience it's not necessary. Anders
On Friday 06 December 2002 18:00, Anders Johansson wrote:
On Friday 06 December 2002 23.26, Karol Pietrzak wrote:
You definitely shouldn't have _both_ loaded simulaneously. One or the other.
That depends on your config. the XF86Config option NvAGP determines which implementation will be used.
Thanks for clearing that up, Johansson. As I have not come across such
a use of NVidia_GLX, I had no idea. Just to read up on this, I checked
out my /usr/share/doc/packages/nv_glx/README:
Option "NvAGP" "integer"
Configure AGP support. Integer argument can be one of:
0 : disable agp
1 : use NVIDIA's internal AGP support, if possible
2 : use AGPGART, if possible
3 : use any agp support (try AGPGART, then NVIDIA's AGP)
Please note that NVIDIA's internal AGP support cannot
work if AGPGART is either statically compiled into your
kernel or is built as a module, but loaded into your
kernel (some distributions load AGPGART into the kernel
at boot up). Default: 3 (the default was 1 until after
1.0-1251).
--
Karol Pietrzak
Ya, I know about the nvagp options and have implemented them in several versions of SuSE. However, something about the way the kernel driver interacts with the OS and X seems to have changed. I have never had a situation where a module that's listed in the modules.conf file and is compiled into the kernal is not loaded. I most likely didn't do something I should have but can't figure out what. I did things as I normally used to do and this time it didn't work. I really suspect it was the k_athlon kernel update I did via apt-get/synaptic. As far as agpgart is concerned I used to forego it because it wasn't necessary. But since v-8.0 it seems to be the default config done during the OS install and this is true for v-8.1. I just never had a situation where the NVdriver wouldn't load after the boot up unless it was configured with Sax2. Before I used to not even used sax and just hand config my X server. But it seems to be especially cranky of late, and as this has been since 8.0. Like I said, in v-8.1 it seems that sax2 has a larger play into the modules loaded pertaining to the X config. Cheers, Curtis.
That depends on your config. the XF86Config option NvAGP determines which implementation will be used.
agpgart is the Linux kernel's AGP implementation; NVdriver is NVidia's. Honestly, I don't know if NVidia's kernel module works with agpgart.
NVdriver is much more than AGP. It can use agpgart if you tell it to do so. However, in my experience it's not necessary.
Anders
-- Billboard Writer vs. Literature = Micorsoft vs. Computing,
Thanks for the advice Karol. I have already done all of these and more. I have repeatedly used both the rpm and tar.gz - completely removing all between each install and config attempts. checking symlinks and dependencies, etc... I did do some things described by grimmer's modules/kernel page on the suse sdb. It's seems that there was a difference between the /usr/src/ and the /boot files. I did some shifting around of the /boot/vmlinuz.... files and did SuSEconfig, mk_initrd, and a depmod -a. Then a reinstalled some of the updates via yast2-you and ran the sax2 from the CC (sax2 would crash previously in either the gui or ncurses - probably because no NVdriver and couldn't initialize correctly). Anyway, it asked if I wanted to setup 3d config for xf86 (before nvidia drivers shouldn't have the "enable 3d acceleration" turned on). What I find interesting is no matter what I did (short of loading the module via boot.local with "modprobe NVdriver" and the same for the agpgart) the modules were not loaded. After enabling the 3d accel option in sax the drivers were loaded (which include videodev, agpgart, and NVdriver) and voila - gears works and 3d/glx is on. I am at a loss as to some of the new ways 8.1 seems to handle the video (and apparently it's associated modules/drivers) configs. I play a fair amount of 3d games and before if i changed the res (e.g. 800x600 to 1024x768 or 1280x1024) the screen would resize no problems. But after 8.1 doing this would result in either a smaller screen with a black border around it (like 1024x768 inset in the screen) while up'ing the res or the opposite (800x600 inset with a black border around it), this seemed dependent on certain monitor options such as iterate precisely or calc'ing the desktop geometry. I have it working know but, the part Sax2 plays related to why a kernal module is or is not load has me a bit baffled - since these never seemed to influence one anothers functions related to modules being loaded during boot before. Cheers, Curtis On Friday 06 December 2002 16:26, Karol Pietrzak wrote:
On Friday 06 December 2002 13:48, Curtis Rey wrote:
Ok, I used apt-get/synaptic to update the kernel for the k_athlon version I had. After I have had problems with the NVdriver loading. In otherwords, when a do an "lsmod" there's no "NVdriver" or "agpgart" loaded as before.
You definitely shouldn't have _both_ loaded simulaneously. One or the other.
I have check and made sure that libGL.so.1 is symlinked to the proper driver in /usr/lib/GL which is libGL.so.1.0.3123.nv_glx. and in the module.conf file I have "alias char-major-195 NVdriver",
As do I.
# cat /etc/modules.conf | grep NV alias char-major-195 NVdriver #
though the placement of this line is now different, whereas before it was under the section "Moxa Multiport Serial Boards" it is now the last line in modules after the YaST2/(alsa) sound system dependent part.
modules.conf is not divided into sections, and all lines can be moved to any position. It doesn't matter that it has moved.
(I'm also curious as to why the previous module "agpgart" is not loading either).
agpgart is the Linux kernel's AGP implementation; NVdriver is NVidia's. Honestly, I don't know if NVidia's kernel module works with agpgart.
Seems not, as NVidia lists both as requirements [http://www.nvidia.com/view.asp?IO=linux_display_1.0-3123]:
STEP 3: Download the Driver You must download 2 files: a GLX driver file and a kernel driver file. The version of these files must match.
After upgrading the kernel I got with synaptic I ran "mk_initrd". I also have reinstall the NVIDIA_kernel and GLX packages and in the manner spec'ed by nVidia (do an -Uhv for the kernel packages and then rpm -e followed by -ihv for the GLX package). Accord to the "Available HardWare" in the kde CC it's installed and configured. 3Ddiag give the following:
Crusher-1:/home/crrey # 3Ddiag 3Ddiag version 0.496 Verifying 3D configuration: Using 3dinfo ************************************************************
Verifying 3D configuration based on XFree86 4 for 3D board "nVidia Corporation GeForce3 Ti 200 (10de@0201)":
Tests for package "NVIDIA_GLX": package ... done. package files ... done. Tests for package "NVIDIA_kernel": package ... done. package files ... done.
Tests for correct OpenGL libraries/GLX extensions: Symbolic Links ... done. /etc/sysconfig/3ddiag (SCRIPT_3D=switch2nvidia_glx) ... done.
Test for correct XFree86 version ... done.
Tests for XFree86 configuration: Config File /etc/X11/XF86Config ... done. Driver ... failed! ================================================================ 3D Hardware acceleration is not used. To use 3D Hardware acceleration please specify the entry
Driver "nvidia"
in the Section "Device" of your /etc/X11/XF86Config.
IMPORTANT. Just as the output says, you need to use the "nvidia" driver module. You're probably using "nv" right now, which, IIRC, is just a shell for the SVGA driver.
Just replace your "nv" with "nvidia". My machine:
# cat /etc/X11/XF86Config | grep nv Driver "nvidia" #
================================================================ Color Depth ... done. Extensions ... failed! ================================================================ 3D Hardware acceleration is not used. To use 3D Hardware acceleration please specify these entries
Load "glx"
in the Section "Module" of your /etc/X11/XF86Config. ================================================================ Options ... done.
Yup. The "Load "glx"" will specify which GLX driver to load. AFAIK, this is what actually provides an OpenGL interface.
My /etc/X11/XF86Config:
Section "Module" Load "dbe" Load "type1" # Load "speedo" Load "extmod" Load "freetype" Load "glx" EndSection
----------------------- NOTE ----------------------------------- If 3D hardware OpenGL configuration is not stable enough, you should switch back to 'Mesa Software Rendering'. You can verify this configuration with the command "3Ddiag --mesasoft". ----------------------- NOTE -----------------------------------
Checking GLU/glut runtime configuration: GLU ... done (package mesaglu) glut ... done (package mesaglut)
If I manually load the NVdriver it will show in an lsmod as loaded, but at the end of the listing and listed as unused (I can't remember if this is as normal or not, the unused listing that is).
Try with the changes. For me (I'm using NVidia's kernel module and GLX driver):
# lsmod | grep NV NVdriver 1061920 10 (autoclean) #
How do I get it to be loaded from the modules.conf file as before?
You already have it, as you specify in the beginning of this email that you have "alias char-major-195 NVdriver" in your modules.conf.
I have modules.conf, modules.conf.- , and a modules.conf.old files in the /etc directory. I'm wondering if I should try to cp the present mod conf to something like modules.conf.bkup and then cp'ing one of the other mod confs to be read (like cp modules.conf.- or the modules.conf.old).
Any help will be greatly appreciated.
TIA, Curtis.
Good luck, Curtis. You should be up and running if you add/change those two lines in your /etc/X11/XF86Config. Post back and tell everyone how it goes.
-- Billboard Writer vs. Literature = Micorsoft vs. Computing,
On Friday 06 December 2002 18:08, you wrote:
Thanks for the advice Karol. I have already done all of these and more. I have repeatedly used both the rpm and tar.gz - completely removing all between each install and config attempts. checking symlinks and dependencies, etc... I did do some things described by grimmer's modules/kernel page on the suse sdb. It's seems that there was a difference between the /usr/src/ and the /boot files. I did some shifting around of the /boot/vmlinuz.... files and did SuSEconfig, mk_initrd, and a depmod -a. Then a reinstalled some of the updates via yast2-you and ran the sax2 from the CC (sax2 would crash previously in either the gui or ncurses - probably because no NVdriver and couldn't initialize correctly).
Well, the NVdriver module is loaded automatically. Just for the record, what I do/did to install the latest NVidia incarnation is: - install binary GLX from NVidia.com - rebuild kernel module SRPM (I use my own kernel) On one machine with a clean SuSE 8.1 install, all I had to do to get the latest NVidia stuff was to select "Current NVidia driver" in YOU. The machine had a GeForce3 Ti200 video card.
Anyway, it asked if I wanted to setup 3d config for xf86 (before nvidia drivers shouldn't have the "enable 3d acceleration" turned on). What I find interesting is no matter what I did (short of loading the module via boot.local with "modprobe NVdriver" and the same for the agpgart) the modules were not loaded. After enabling the 3d accel option in sax the drivers were loaded (which include videodev, agpgart, and NVdriver) and voila - gears works and 3d/glx is on.
This sounds like the 'Load "glx"' was added to the /etc/X11/XF86config .
I am at a loss as to some of the new ways 8.1 seems to handle the video (and apparently it's associated modules/drivers) configs. I play a fair amount of 3d games and before if i changed the res (e.g. 800x600 to 1024x768 or 1280x1024) the screen would resize no problems. But after 8.1 doing this would result in either a smaller screen with a black border around it (like 1024x768 inset in the screen) while up'ing the res or the opposite (800x600 inset with a black border around it), this seemed dependent on certain monitor options such as iterate precisely or calc'ing the desktop geometry.
Hmm. This seems like a XFree86 bug more than anything else. That's truly bizarre.
I have it working know but, the part Sax2 plays related to why a kernal module is or is not load has me a bit baffled - since these never seemed to influence one anothers functions related to modules being loaded during boot before.
As far as I understand the internals, the kernel module is auto-loaded
through the kernel module loader when called upon by the GLX XFree86
module. The 'Load "glx"' line is commented out (i.e., non-functioning)
if 3D acceleration is turned off via SaX2, uncommented otherwise.
At least you "have it working now"...
--
Karol Pietrzak
[snip] didjda try to run ldconfig and depmod -a after you configured /etc/modules.conf?
The 02.12.06 at 12:48, Curtis Rey wrote:
Ok, I used apt-get/synaptic to update the kernel for the k_athlon version I had. After I have had problems with the NVdriver loading. In otherwords, when a do an "lsmod" there's no "NVdriver" or "agpgart" loaded as before. I have check and made sure that libGL.so.1 is symlinked to the proper driver in /usr/lib/GL which is libGL.so.1.0.3123.nv_glx. and in the module.conf file I have "alias char-major-195 NVdriver", though the placement of this line is now different, whereas before it was under the section "Moxa Multiport Serial Boards" it is now the last line in modules after the YaST2/(alsa) sound system dependent part. (I'm also curious as to why the previous module "agpgart" is not loading either).
Read the file /usr/src/kernel-modules/nv_glx/README, specially after changing the kernel: Instructions for compiling the 'NVdriver' kernel module on SuSE Linux 8.0 ------------------------------------------------------------------------- Your kernel sources (package kernel-source) must be installed for this. Then do the following to compile and install the 'NVdriver' kernel module for the running kernel. # cd /usr/src/linux; make cloneconfig; make dep # cd /usr/src/kernel-modules/nv_glx # make # install -m 644 -o root -g root NVdriver /lib/modules/`uname -r`/video # depmod -a -- Cheers, Carlos Robinson
participants (5)
-
Anders Johansson
-
Carlos E. R.
-
Curtis Rey
-
George Marselis
-
Karol Pietrzak