Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-09-08, 03:24 AM   #1
alexdupre
Registered User
 
Join Date: Apr 2007
Posts: 17
Default 173.14.05 problems

1) Doesn't compile on 6.3. Patch:
Code:
--- src/nv-freebsd.h.orig       2008-06-09 08:40:34.000000000 +0200
+++ src/nv-freebsd.h    2008-06-09 08:42:42.000000000 +0200
@@ -271,7 +271,7 @@
 #define PAT_WRITE_BACK          0x06
 #endif

-#if __FreeBSD_version < 700055
+#if __FreeBSD_version < 602110 || __FreeBSD_version >= 700000 && __FreeBSD_version < 700055
 static inline int pmap_change_attr(vm_offset_t va, vm_size_t size, int mode)
 {
     vm_offset_t tmp;
@@ -310,7 +310,7 @@

 static inline void pmap_unmapdev_attr(vm_offset_t va, vm_size_t size)
 {
-#if __FreeBSD_version < 700055
+#if __FreeBSD_version < 602110 || __FreeBSD_version >= 700000 && __FreeBSD_version < 700055
     vm_offset_t tmp;

     if (va != 0) {
2) Doesn't work with my GeForce 6100: when X starts, all seems ok, the Xorg.0.log is ok, but on the screen there is only one-pixel row filled at the top and the rest of the screen is black.
alexdupre is offline   Reply With Quote
Old 06-11-08, 02:18 AM   #2
nORKy
Registered User
 
Join Date: Oct 2007
Posts: 9
Default Re: 173.14.05 problems

I installed the patch, but, now, I have a new build error (freebsd 6.3-RELEASE)

Code:
cc -O2 -fno-strict-aliasing -pipe -DNV_VERSION_STRING=\"173.14.05\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/src -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c nvidia_subr.c
nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init'
./nv-freebsd.h:406: error: previous declaration of 'nv_os_agp_init' was here
nvidia_subr.c:654: error: conflicting types for 'nv_os_agp_init'
./nv-freebsd.h:406: error: previous declaration of 'nv_os_agp_init' was here
nvidia_subr.c:739: error: conflicting types for 'nv_os_agp_teardown'
./nv-freebsd.h:407: error: previous declaration of 'nv_os_agp_teardown' was here
nvidia_subr.c:739: error: conflicting types for 'nv_os_agp_teardown'
./nv-freebsd.h:407: error: previous declaration of 'nv_os_agp_teardown' was here
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.05/src.
*** Error code 1
nORKy is offline   Reply With Quote
Old 06-11-08, 05:53 AM   #3
alexdupre
Registered User
 
Join Date: Apr 2007
Posts: 17
Default Re: 173.14.05 problems

I suspect you are using the port with WITH_FREEBSD_AGP (or manually defining NV_SUPPORT_OS_AGP). Using the nvidia agp driver I haven't such error.
alexdupre is offline   Reply With Quote
Old 06-11-08, 07:08 AM   #4
nORKy
Registered User
 
Join Date: Oct 2007
Posts: 9
Default Re: 173.14.05 problems

Quote:
Originally Posted by alexdupre View Post
I suspect you are using the port with WITH_FREEBSD_AGP (or manually defining NV_SUPPORT_OS_AGP). Using the nvidia agp driver I haven't such error.
yes ! It builds now.

But... (lol)

Code:
(II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so
dlopen: /usr/local/lib/xorg/modules/extensions//libglx.so: Undefined symbol "_nv
000040gl"
(EE) Failed to load /usr/local/lib/xorg/modules/extensions//libglx.so
(II) UnloadModule: "glx"
So, what is the problem with liblgx ???
I try to reinstall xorg-server, xorg-librairie, nvidia-driver, reload nvidia.ko, but _nv000040gl is still unknown...
nORKy is offline   Reply With Quote
Old 06-11-08, 03:21 PM   #5
alexdupre
Registered User
 
Join Date: Apr 2007
Posts: 17
Default Re: 173.14.05 problems

Quote:
Originally Posted by alexdupre View Post
2) Doesn't work with my GeForce 6100: when X starts, all seems ok, the Xorg.0.log is ok, but on the screen there is only one-pixel row filled at the top and the rest of the screen is black.
It works with my GeForce 6200, even if there is *still* the problem with the dead consoles.
alexdupre is offline   Reply With Quote
Old 06-12-08, 05:36 AM   #6
alexdupre
Registered User
 
Join Date: Apr 2007
Posts: 17
Default Re: 173.14.05 problems

The FreeBSD port now compiles without patches (and with FreeBSD AGP, too).
alexdupre is offline   Reply With Quote
Old 06-12-08, 08:03 AM   #7
rnejdl
Registered User
 
Join Date: Nov 2007
Location: Dallas, TX
Posts: 96
Default Re: 173.14.05 problems

http://www.freshports.org/x11/nvidia-driver

They just fixed the builds for AGP and FreeBSD 6.x. Not sure what they did as it appears to be only a change to the Makefile.

Rusty
rnejdl is offline   Reply With Quote
Old 06-13-08, 11:42 AM   #8
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 173.14.05 problems

Thank you for reporting these problems. I'll take a look and get this fixed for future driver releases.
zander is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with drivers after 295.40 (OpenSuSE 12.1, GeFroce 7900 GS, Phenom II X4) alawa NVIDIA Linux 0 06-09-12 06:37 PM
Problems with drivers fforw NVIDIA Linux 7 10-11-02 07:06 PM
Nvidia Problems in Slackware 8.1 xtreme NVIDIA Linux 3 10-01-02 12:03 PM
F1 2002 problems with driver 40.41 arutten NVIDIA Windows Graphics Drivers 6 10-01-02 07:07 AM
DirectX 8 problems with GeForce4 Derwin NVIDIA GeForce 7, 8, And 9 Series 19 08-20-02 01:23 AM

All times are GMT -5. The time now is 01:20 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.