LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   A Guide: Enabling 3D Acceleration in X11 (https://www.linuxquestions.org/questions/slackware-14/a-guide-enabling-3d-acceleration-in-x11-402003/)

cwwilson721 10-02-2010 08:51 PM

Good questions. At least you're thinking beforehand, and getting stuff straight in your mind.
  1. It doesn't matter what wm/de you use. The acceleration is in X, so all wm/de's will be accelerated
  2. I don't recall what will mess up nvidia's drivers when you pare down the kernel. I haven't rolled my own in quite awhile. I do remember to watch out for agpgart, and the framebuffer options, but what to watch out for, I don't recall. Try it, and let us know. I might add that info to post #1
  3. Yes, it definately will. While the open-source drivers are far above what they used to be, they are just 2d, and Nvidia knows all the ins and outs of their own chipset(s). You will be suprised, I believe, by the difference.
The best thing, though, is that you can try it out yourself. See how it does.

It's your system. (I would do it, though...lol)

EDIT: Additional info: 2d "windows" actually use some 3d video accel calls to move windows, etc. So, doing the proprietary drivers will help.

Tuttle 10-02-2010 09:53 PM

Quote:

Originally Posted by marquisor (Post 4115945)
hello cwwilson721!

good thread so far and guide, thx for your effort!

now BEFORE i try to setup 3D hardware acc. i have a few questions:

hardware:

got a AMD X2 3800+ here. 2GB RAM, SATA/IDE etc. nothing special

my gfx board is an AGP nVidia 7800 GS with 512MB RAM (it has the 7900 G71 chip on.. one of the fastest AGP available back then)

questions:
  1. i favor xfce4, will 3D acc. work with that wm?
  2. i plan to configure/setup a new smaller lean kernel, what do i have to pay attention on? failed on fedora with nvidia.ko kernelmodule etc. a hassle deluxe :(
  3. will it run faster? i already got builtin standard 2D driver "nv" loaded, but dunno what options. switching workspaces, restoring, maximizing firefox window etc. is very slow.

EDIT:

glxinfo:
Code:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
... <snip> ...

glxgears:
Code:

bash-4.1$ glxgears
1111 frames in 5.0 seconds = 222.002 FPS
1106 frames in 5.0 seconds = 220.870 FPS
1099 frames in 5.0 seconds = 219.706 FPS
1099 frames in 5.0 seconds = 219.770 FPS
1102 frames in 5.0 seconds = 220.289 FPS
1106 frames in 5.0 seconds = 221.173 FPS
1039 frames in 5.0 seconds = 207.719 FPS
^C

iirc glxgears was 8x-10x faster on fedora with nvidia-173xx drivers.

thx so far in advance!

as this is all in testing stadium, how linux fits for me as a workstation i can't destroy much, so i try different distros, but slackware is the best for me i guess... i hate SELinux and big kernels with features i don't need (radio, tv capture, firewire, fibre channel, raid, ISDN, modem and many more...)

regards
marquisor

Yes, XFCE compiz acceleration works well!

Hey, don't worry too much about slimming your kernel, in most cases if the module isn't required it doesn't get loaded into the kernel at boot so your system will run fast anyway.
I used to keep up with my kernel compilation but now see it as a complete waste of time, the huge kernel supplied with slackware works "just fine" and you have the advantage of being able to add and remove any hardware with ZERO hassle... impress your friends!

marquisor 10-02-2010 11:12 PM

Quote:

Originally Posted by cwwilson721 (Post 4115995)
Good questions. At least you're thinking beforehand, and getting stuff straight in your mind.
  1. It doesn't matter what wm/de you use. The acceleration is in X, so all wm/de's will be accelerated
  2. I don't recall what will mess up nvidia's drivers when you pare down the kernel. I haven't rolled my own in quite awhile. I do remember to watch out for agpgart, and the framebuffer options, but what to watch out for, I don't recall. Try it, and let us know. I might add that info to post #1
  3. Yes, it definately will. While the open-source drivers are far above what they used to be, they are just 2d, and Nvidia knows all the ins and outs of their own chipset(s). You will be suprised, I believe, by the difference.
The best thing, though, is that you can try it out yourself. See how it does.

It's your system. (I would do it, though...lol)

EDIT: Additional info: 2d "windows" actually use some 3d video accel calls to move windows, etc. So, doing the proprietary drivers will help.

awesome! it works, now with 256.xx version nvidia driver.
good to know that it also accelerates 2D functions and you're right! the workspaces now switch instantly. great so far.

installation was really easy. nvidia detects the gfx board and resp. chipset automatically. i had to get another dependent package first, but no problem at all. i wish i had known that before deleting fedora from harddisk hehe, might have had fixed my nvidia.ko issue... well slack is better/faster. and all i need.

/var/log/nvidia-install.log
Code:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Oct  3 03:05:11 2010
installer version: 256.53

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall              : false
  driver info            : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files    : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup              : false
  kernel module only      : false
  sanity                  : false
  add this kernel        : false
  no runlevel check      : false
  no network              : false
  no ABI note            : false
  no RPMs                : false
  no kernel module        : false
  force SELinux          : default
  no X server check      : false
  no cc version check    : false
  force tls              : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path  : (not specified)
  OpenGL install prefix  : (not specified)
  OpenGL install libdir  : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name            : (not specified)
  kernel include path    : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path    : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list          : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 256.53.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.33.4-smp/source'
-> Kernel output path: '/lib/modules/2.6.33.4-smp/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
  executing: 'cd ./kernel; make clean'...
-> Building kernel module:
  executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.33.4-smp/source
  SYSOUT=/lib/modules/2.6.33.4-smp/build'...
  NVIDIA: calling KBUILD...
  make -C /lib/modules/2.6.33.4-smp/build \
          KBUILD_SRC=/usr/src/linux-2.6.33.4 \
          KBUILD_EXTMOD="/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel" -f /usr/src
  /linux-2.6.33.4/Makefile \
          modules
  test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
          echo;                                                                \
          echo "  ERROR: Kernel configuration is invalid.";                \
          echo "        include/generated/autoconf.h or include/config/auto.conf are
  missing.";\
          echo "        Run 'make oldconfig && make prepare' on kernel src to fix it
  .";        \
          echo;                                                                \
          /bin/false)
  mkdir -p /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.tmp_versions ; rm
  -f /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.tmp_versions/*
  make -f /usr/src/linux-2.6.33.4/scripts/Makefile.build obj=/tmp/selfgz26503/
  NVIDIA-Linux-x86-256.53/kernel
    cc -Wp,-MD,/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.nv.o.d  -nostd
  inc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/linu
  x-2.6.33.4/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.33.4/include -in
  clude include/generated/autoconf.h  -I/tmp/selfgz26503/NVIDIA-Linux-x86-256
  .53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fn
  o-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-for
  mat-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm
  =3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=gener
  ic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-pr
  otector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-com
  pare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
  -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-
  statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconse
  rve-stack  -I/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsi
  gn-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSI
  ON_STRING=\"256.53\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s
  " -D"KBUILD_BASEN
  AME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfg
  z26503/NVIDIA-Linux-x86-256.53/kernel/nv.o /tmp/selfgz26503/NVIDIA-Linux-x86
  -256.53/kernel/nv.c
  In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
  :571,
                    from include/linux/poll.h:13,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-lin
  ux.h:84,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv.c:1
  3:
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
  _from_user':
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
  arison between signed and unsigned integer expressions
    set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
  le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz26503/NVID
  IA-Linux-x86-256.53/kernel/nv.o";
    cc -Wp,-MD,/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.nv_gvi.o.d  -n
  ostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/
  linux-2.6.33.4/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.33.4/include
  -include include/generated/autoconf.h  -I/tmp/selfgz26503/NVIDIA-Linux-x86-
  256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
  -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-
  format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregp
  arm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=ge
  neric -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack
  -protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-
  compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dn
  ow -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-aft
  er-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fco
  nserve-stack  -I/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -
  Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VE
  RSION_STRING=\"256.53\" -UDEBUG -U_D
  EBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(n
  v_gvi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz26503/NVIDI
  A-Linux-x86-256.53/kernel/nv_gvi.o /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/
  kernel/nv_gvi.c
  In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
  :571,
                    from include/linux/poll.h:13,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-lin
  ux.h:84,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv_gvi
  .c:15:
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
  _from_user':
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
  arison between signed and unsigned integer expressions
    set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
  le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz26503/NVID
  IA-Linux-x86-256.53/kernel/nv_gvi.o";
    cc -Wp,-MD,/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.nv-vm.o.d  -no
  stdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/l
  inux-2.6.33.4/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.33.4/include
  -include include/generated/autoconf.h  -I/tmp/selfgz26503/NVIDIA-Linux-x86-
  256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
  -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-
  format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregp
  arm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=ge
  neric -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack
  -protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-
  compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dn
  ow -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-aft
  er-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fco
  nserve-stack  -I/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -
  Wsign-compare -Wno-cast-qual -Wno
  -error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -UDEBUG -
  U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_ST
  R(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz26503/NVI
  DIA-Linux-x86-256.53/kernel/nv-vm.o /tmp/selfgz26503/NVIDIA-Linux-x86-256.53
  /kernel/nv-vm.c
  In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
  :571,
                    from include/linux/poll.h:13,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-lin
  ux.h:84,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-vm.
  c:14:
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
  _from_user':
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
  arison between signed and unsigned integer expressions
    set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
  le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz26503/NVID
  IA-Linux-x86-256.53/kernel/nv-vm.o";
    cc -Wp,-MD,/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.os-agp.o.d  -n
  ostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/
  linux-2.6.33.4/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.33.4/include
  -include include/generated/autoconf.h  -I/tmp/selfgz26503/NVIDIA-Linux-x86-
  256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
  -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-
  format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregp
  arm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=ge
  neric -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack
  -protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-
  compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dn
  ow -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-aft
  er-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fco
  nserve-stack  -I/tmp/selfgz26503/
  NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-
  error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -UDEBUG -U
  _DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR
  (os_agp)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz26503/NVI
  DIA-Linux-x86-256.53/kernel/os-agp.o /tmp/selfgz26503/NVIDIA-Linux-x86-256.5
  3/kernel/os-agp.c
  In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
  :571,
                    from include/linux/poll.h:13,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-lin
  ux.h:84,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/os-agp
  .c:24:
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
  _from_user':
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
  arison between signed and unsigned integer expressions
    set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
  le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz26503/NVID
  IA-Linux-x86-256.53/kernel/os-agp.o";
    cc -Wp,-MD,/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.os-interface.o
  .d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/us
  r/src/linux-2.6.33.4/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.33.4/i
  nclude -include include/generated/autoconf.h  -I/tmp/selfgz26503/NVIDIA-Lin
  ux-x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-tri
  graphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaratio
  n -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float
  -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mt
  une=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -
  fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno
  -sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -m
  no-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclarati
  on-after-statement -Wno-pointe
  r-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack  -I/tmp/se
  lfgz26503/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsign-compare -Wno-cast-
  qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\"
  -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
  KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp
  /selfgz26503/NVIDIA-Linux-x86-256.53/kernel/os-interface.o /tmp/selfgz26503/
  NVIDIA-Linux-x86-256.53/kernel/os-interface.c
  In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
  :571,
                    from include/linux/poll.h:13,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-lin
  ux.h:84,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/os-int
  erface.c:26:
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
  _from_user':
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
  arison between signed and unsigned integer expressions
    set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
  le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz26503/NVID
  IA-Linux-x86-256.53/kernel/os-interface.o";
    cc -Wp,-MD,/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.os-registry.o.
  d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr
  /src/linux-2.6.33.4/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.33.4/in
  clude -include include/generated/autoconf.h  -I/tmp/selfgz26503/NVIDIA-Linu
  x-x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trig
  raphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
  -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -
  mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtu
  ne=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -f
  stack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-
  sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mn
  o-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -W
  declaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwar
  f2-cfi-asm -fconserve-stack  -I/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/ker
  nel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE
  -DNVRM -DNV_VERSION_STRING=\"256.53\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D
  "KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)"  -D"KBUILD_MO
  DNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/ke
  rnel/os-registry.o /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/os-regist
  ry.c
  In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
  :571,
                    from include/linux/poll.h:13,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-lin
  ux.h:84,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/os-reg
  istry.c:15:
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
  _from_user':
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
  arison between signed and unsigned integer expressions
    set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
  le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz26503/NVID
  IA-Linux-x86-256.53/kernel/os-registry.o";
    cc -Wp,-MD,/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.nv-i2c.o.d  -n
  ostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/
  linux-2.6.33.4/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.33.4/include
  -include include/generated/autoconf.h  -I/tmp/selfgz26503/NVIDIA-Linux-x86-
  256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
  -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-
  format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregp
  arm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=ge
  neric -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack
  -protector -DCONFIG_AS_CFI=1 -DC
  ONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind
  -tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-
  optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -
  fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack  -I/tmp/selfgz2650
  3/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wn
  o-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -UDEBUG
  -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_S
  TR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz26503/N
  VIDIA-Linux-x86-256.53/kernel/nv-i2c.o /tmp/selfgz26503/NVIDIA-Linux-x86-256
  .53/kernel/nv-i2c.c
  In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
  :571,
                    from include/linux/poll.h:13,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-lin
  ux.h:84,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-i2c
  .c:8:
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
  _from_user':
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
  arison between signed and unsigned integer expressions
    set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
  le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz26503/NVID
  IA-Linux-x86-256.53/kernel/nv-i2c.o";
    cc -Wp,-MD,/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.nvacpi.o.d  -n
  ostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/src/
  linux-2.6.33.4/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.33.4/include
  -include include/generated/autoconf.h  -I/tmp/selfgz26503/NVIDIA-Linux-x86-
  256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
  -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-
  format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregp
  arm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=ge
  neric -maccumulate-outgoing-a
  rgs -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1
  -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unw
  ind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -f
  no-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sig
  n -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack  -I/tmp/selfgz2
  6503/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsign-compare -Wno-cast-qual
  -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -UDEB
  UG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUIL
  D_STR(nvacpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz2650
  3/NVIDIA-Linux-x86-256.53/kernel/nvacpi.o /tmp/selfgz26503/NVIDIA-Linux-x86-
  256.53/kernel/nvacpi.c
  In file included from /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess.h
  :571,
                    from include/linux/poll.h:13,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-lin
  ux.h:84,
                    from /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nvacpi
  .c:15:
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h: In function 'copy
  _from_user':
  /usr/src/linux-2.6.33.4/arch/x86/include/asm/uaccess_32.h:209: warning: comp
  arison between signed and unsigned integer expressions
    set -e ; perl /usr/src/linux-2.6.33.4/scripts/recordmcount.pl "i386" "litt
  le" "32" "objdump" "objcopy" "cc" "ld" "nm" "" "" "1" "/tmp/selfgz26503/NVID
  IA-Linux-x86-256.53/kernel/nvacpi.o";
    ld -m elf_i386  -r -o /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nvi
  dia.o /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-kernel.o /tmp/selfg
  z26503/NVIDIA-Linux-x86-256.53/kernel/nv.o /tmp/selfgz26503/NVIDIA-Linux-x86
  -256.53/kernel/nv_gvi.o /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nv-v
  m.o /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/os-agp.o /tmp/selfgz2650
  3/NVIDIA-Linux-x86-256.53/kernel/os-interface.o /tmp/selfgz26503/NVIDIA-Linu
  x-x86-256.53/kernel/os-registry.o /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/k
  ernel/nv-i2c.o /tmp/selfgz
  26503/NVIDIA-Linux-x86-256.53/kernel/nvacpi.o
  (cat /dev/null;  echo kernel//tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kerne
  l/nvidia.ko;) > /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/modules.orde
  r
  make -f /usr/src/linux-2.6.33.4/scripts/Makefile.modpost
    scripts/mod/modpost  -i /usr/src/linux-2.6.33.4/Module.symvers -I /tmp/se
  lfgz26503/NVIDIA-Linux-x86-256.53/kernel/Module.symvers  -o /tmp/selfgz26503
  /NVIDIA-Linux-x86-256.53/kernel/Module.symvers -S -w  -s
    cc -Wp,-MD,/tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/.nvidia.mod.o.d
    -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.4.4/include -I/usr/s
  rc/linux-2.6.33.4/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.33.4/incl
  ude -include include/generated/autoconf.h  -I/tmp/selfgz26503/NVIDIA-Linux-
  x86-256.53/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigra
  phs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -
  Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -m
  regparm=3 -freg-struct-r
  eturn -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-o
  utgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_
  AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchr
  onous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-p
  ointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-po
  inter-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack  -I/tm
  p/selfgz26503/NVIDIA-Linux-x86-256.53/kernel -Wall -MD -Wsign-compare -Wno-c
  ast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.5
  3\" -UDEBUG -U_DEBUG -DNDEBUG  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUIL
  D_STR(nvidia.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -DMODULE -c -o /t
  mp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nvidia.mod.o /tmp/selfgz26503/
  NVIDIA-Linux-x86-256.53/kernel/nvidia.mod.c
    ld -r -m elf_i386 -T /usr/src/linux-2.6.33.4/scripts/module-common.lds --b
  uild-id -o /tmp/selfgz26503/NVIDIA-Linux-x86-256.53/kernel/nvidia.ko /tmp/se
  lfgz26503/NVIDIA-Linux-x86-256.53/kernel/nvidia.o /tmp/selfgz26503/NVIDIA-Li
  nux-x86-256.53/kernel/nvidia.mod.o
  NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
-> Kernel messages:
  input: Logitech USB Receiver as
  /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/input/input4
  logitech 0003:046D:C517.0001: input,hidraw0: USB HID v1.10 Keyboard
  [Logitech USB Receiver] on usb-0000:00:10.0-1/input0
  Linux agpgart interface v0.103
  logitech 0003:046D:C517.0002: fixing up Logitech keyboard report descriptor
  input: Logitech USB Receiver as
  /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.1/input/input5
  logitech 0003:046D:C517.0002: input,hiddev96,hidraw1: USB HID v1.10 Mouse
  [Logitech USB Receiver] on usb-0000:00:10.0-1/input1
  agpgart-amd64 0000:00:00.0: AGP bridge [1106/0282]
  agpgart-amd64 0000:00:00.0: AGP aperture is 64M @ 0xdc000000
  VIA 82xx Audio 0000:00:11.5: PCI INT C -> GSI 22 (level, low) -> IRQ 22
  VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
  Adding 2000084k swap on /dev/sdb2.  Priority:-1 extents:1 across:2000084k
  fuse init (API version 7.13)
  lp0: using parport0 (interrupt-driven).
  lp0: console ready
  skge eth0: enabling interface
  skge eth0: Link is up at 100 Mbps, full duplex, flow control both
  NET: Registered protocol family 10
  lo: Disabled Privacy Extensions
  eth0: no IPv6 routers present
  process `skype' is using obsolete setsockopt SO_BSDCOMPAT
  nvidia: module license 'NVIDIA' taints kernel.
  Disabling lock debugging due to kernel taint
  nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
  vgaarb: device changed decodes:
  PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
  NVRM: loading NVIDIA UNIX x86 Kernel Module  256.53  Fri Aug 27 21:03:42 PDT
  2010
-> Installing both new and classic TLS OpenGL libraries.
-> Searching for conflicting X files:
-> done.
-> Searching for conflicting OpenGL files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86' (256.53):
  executing: '/sbin/ldconfig'...
  executing: '/sbin/depmod -aq'...
-> done.
-> Driver file installation is complete.
-> Running post-install sanity check:
-> done.
-> Post-install sanity check passed.
-> Shared memory test passed.
-> Running runtime sanity check:
-> done.
-> Runtime sanity check passed.
-> Would you like to run the nvidia-xconfig utility to automatically update you
  r X configuration file so that the NVIDIA X driver will be used when you res
  tart X?  Any pre-existing X configuration file will be backed up. (Answer: Y
  es)
-> Your X configuration file has been successfully updated.  Installation of
  the NVIDIA Accelerated Graphics Driver for Linux-x86 (version: 256.53) is
  now complete.

glxinfo:
Code:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:

glxgears:
Code:

34918 frames in 5.0 seconds = 6983.460 FPS
34905 frames in 5.0 seconds = 6979.336 FPS
35050 frames in 5.0 seconds = 7009.857 FPS
35129 frames in 5.0 seconds = 7025.789 FPS
35075 frames in 5.0 seconds = 7014.979 FPS
35186 frames in 5.0 seconds = 7037.048 FPS
^C

great!

BUT! i got some issues switching to console via ctrl-alt f1 etc. you know it KILLS my xserver!

how can i fix it? what .log file would you need for that? Xorg.0.log only states the "bootup" of X i guess...

regards
marquisor

cwwilson721 10-03-2010 12:47 AM

First off, 'f6' is the one you want (Slackware defaults to this one as the 'only' one that will work while in init 4. Look in, and read, /etc/initab comments.

Second, Fedora uses such a 'patched' kernel to force their idea of an OS to work that I'm not real surprised it failed. You either do things the Fedora/RH way, or you're on your own. Same for Ubuntu, and quite a few other distro's. Mess with recompiling the kernel, and many things break, due to 'patching'. (That's one reason I haven't compiled a kernel in a long time. I use Ubuntu 10.04LTS as my 'main', and I don't even bother with it. In my SW13.1 install, I just install the 64-bit SMP, and let it ride. I figure "if it ain't broke, I ain't gonna fix it til I break it")

Maybe I'm getting old...sigh....

marquisor 10-06-2010 01:20 PM

Quote:

Originally Posted by cwwilson721 (Post 4116105)
First off, 'f6' is the one you want (Slackware defaults to this one as the 'only' one that will work while in init 4. Look in, and read, /etc/initab comments.

very good to know!!

ok, now i would need your help again. my "server" arrived. p4 1,8GHz, with onboard intel and AGP riva TNT2 model 64 gfx card.

i dl'ed the nvidia driver for it: "NVIDIA-Linux-x86-71.86.14-pkg1.run" and installed it.
but glxinfo and glxgears don't work anymore. before installed it worked with about 90 FPS.
deleting xorg.conf, xorgsetup, reinstalling nvidia drivers was no help.

Code:

root@p4srv:~# less /var/log/Xorg.0.log |grep \(EE\)
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Failed to initialize GLX extension (NVIDIA X driver not found)

what now? are TNT2s supported for glx or not?
and how to "uninstall" the nvidia driver? to get at least slow glx back?

thx!!

regards
marquisor

Tuttle 10-06-2010 02:55 PM

I think you'll need a new card or an older driver, the TNT2 is about 10 years old!
Ps. no need to uninstall, just use "nv" as the "Driver", not "nvidia"


Thinking about it, the onboard intel hardware might out-perform the nvidia!

marquisor 10-06-2010 03:05 PM

Code:

        Identifier  "Card0"
        Driver      "nv"
        VendorName  "Unknown Vendor"
        BoardName  "Unknown Board"
        BusID      "PCI:1:0:0"

well, it IS "nv" which causes the above statet error msg.. (post #725)
Driver "nvidia" is not valid setting, so says the startx if i change it to Driver "nvidia".
so i cannot uninstall it?!

nvidia.com states that my downloaded driver is for TNT and TNT2 boards. ok its release is from 2010.

is TNT2 generally capable of doing glx?
why would they build in another gfx board on AGP if the PCI onboard is faster? (besides dualhead).
btw... to use the AGP port. i think i got a ATI 128 in spare... but ATI... damn, that would be more hassles.
as i want a very silent PC, what AGP card would you recommend?

Tuttle 10-07-2010 12:21 AM

You know what I'd do?
Start again! Re-install slack13.1 from scratch.

nv should work fine after a clean install, maybe there are some annoying stale files laying around there...

cwwilson721 11-07-2010 10:03 AM

Something I just thought of...

Did you "multilib" SW? (Using Alien Bob's wiki. Search this forum, tons of links)

Why do you need multi-lib? Because you also need to install the Nvidia 32-bit libraries when it asks. If not...

soviet 12-11-2010 04:49 PM

Does anyone of you have expirience with slackware64 13.1 on core i3 and ati mobility radeon hd5470?
I am trying to install ati catalyst drivers on my hp g72-a20em laptop but with no success.
I am actualy very dissapointed with ati support, not only for linux but windows... I recently returned ati hd6850 and get nvidia gts460 because ati has no support for win xp and now Im facing same problem with laptop but slackware as OS.

mazda 12-17-2010 02:42 AM

Thanks for the info.
 
Thanks for the info..........

Didier Spaier 02-12-2011 03:24 PM

3D acceleration out of the box for nVidia with -current
 
If you have a nVidia GPU, you should have 3D acceleration out of the box on Slackware-current which include the 'nouveau' open source driver, used by default by xorg-server.

Granted, by far you won't get as many FPS as with the proprietary driver, but still there is some progress ;)

As of now Slackware-current ships mesa-7.9 compiled with configure's option '--enable-gallium-nouveau'.

You can try mesa-7.10 in /testing if you are brave enough (works here) or mesa-7.8 in /pasture in case of a problem.

rob_rojas 07-06-2011 10:48 PM

Here is a guide I wrote for the SalixOS wiki about installing the AMD/ATI proprietary drivers, i tested myself that it works ok in Slackware 13.37 and 13.1 too :P
http://www.salixos.org/wiki/index.ph...all_ATI_Driver

cwwilson721 09-17-2011 12:04 PM

Quote:

Originally Posted by Didier Spaier (Post 4256434)
If you have a nVidia GPU, you should have 3D acceleration out of the box on Slackware-current which include the 'nouveau' open source driver, used by default by xorg-server.

Granted, by far you won't get as many FPS as with the proprietary driver, but still there is some progress ;)

As of now Slackware-current ships mesa-7.9 compiled with configure's option '--enable-gallium-nouveau'.

You can try mesa-7.10 in /testing if you are brave enough (works here) or mesa-7.8 in /pasture in case of a problem.

The open source drivers DO an amazing job with 2D, but 3D is nowhere near (as of yet) to the proprietary drivers.

If you just need acceleration for websurfing and very light general duties, the nouveau drivers will work fine. However, if you need to watch movies in High Definition, or play any 3D games, the Nvidia drivers are still the way to go. They just know their hardware, and how to make it work as well as it can.

gauchao 09-21-2011 07:41 PM

Help with blank screen on X only from user
 
1 Attachment(s)
I have been running X with ATI fglrx proprietary driver. Everything was working smoothly. After I changed my processor (I guess it is not important but it was the point where things started) I reinstalled fglrx and when I startx as user I only have a blank screen. However, if I startx as root everything works fine. Any ideas? Any locked session???? I am running 13.37 64 bit on phenom II X6 with ATI Radeon 6870.

$ cat /var/log/Xorg.0.log

(attached)

Thank you!


All times are GMT -5. The time now is 02:39 AM.