PDA

View Full Version : Nvidia driver under 7.0-CURRENT. . .


Pages : 1 [2]

zander
01-06-07, 12:40 PM
Thanks for the updates; the differences between the 1.0-9631 and 1.0-9746 FreeBSD kernel interface files are minimal, so both should behave the same with respect to this particular problem.

@Eight Konquers: please start a new thread for this problem.

zander
01-26-07, 12:38 PM
I removed the patch I posted in my #17 comment in favor of the one attached to this post. If you're currently using e.g. 1.0-9746 with the old patch, it is recommended that you reinstall 1.0-9746 with the updated patch.

Harvey Pooka
01-26-07, 02:52 PM
This patch like the last patch appears to work for me with 9631 and 6-STABLE.

getj2k
01-29-07, 03:18 PM
I had an issue with X.org 7.2r3 hanging every time I tried to quit/kill X, causing my system to crash unexpectedly under FreeBSD 7-CURRENT. Applying this patch to the 1.0-9631 driver fixed the issue for me. I cannot test 1.0-9746 however, since the laptop I tried it on has a GeForce4 440 Go, which is now a "legacy" card.

I have very much the same problem. Could anyone please tell me the proper process of applying the patch? Thx.

Michal Varga
01-30-07, 06:57 PM
# cd /usr/ports/x11/nvidia-driver/
# make clean extract
# cd work/NVIDIA-FreeBSD-x86-1.0-9746/
# fetch "http://www.nvnews.net/vbulletin/attachment.php?attachmentid=23727&d=1169836701"
# patch < "attachment.php?attachmentid=23727&d=1169836701"
# cd /usr/ports/x11/nvidia-driver/
# make deinstall
# make install clean

SirDice
02-06-07, 05:32 AM
I have a system with 6.2-STABLE and 9746 driver that would panic with a kernel trap 12 if I reboot the machine or kldunload the nvidia module. The last patch solved this.

Another system with the same 6.2-STABLE and 9746 driver works without problems. I haven't patched that one.

The crashing one is a dual Athlon MP, the stable one is an AMD64 (running freebsd-i386).

zander
02-06-07, 11:32 AM
@SirDice: thanks for the heads-up, I hadn't been aware of problems with FreeBSD 6.x-STABLE. FWIW, future NVIDIA FreeBSD graphics driver releases should work correctly out-of-the-box again.

edhunterbg
06-15-07, 10:15 AM
Hello :D
i am new here and i was just going to write to freebsd-current maillist about the problem.

I have installed FreeBSD 7 current i386
i got nvidia 7900gs pci-e
and after installed xorg + gnome2 i got theese restarts. my machine also reboots when i try ctrl-alt-f1 (or any f).
i also have tried to install the nvidia-driver with and without agp, but in both cases the problem with restarts still exists.
i have installed nvidia driver from the ports.

I removed the patch I posted in my #17 comment in favor of the one attached to this post. If you're currently using e.g. 1.0-9746 with the old patch, it is recommended that you reinstall 1.0-9746 with the updated patch.

now here i become confused.
As i look at the Makefile in the port x11/nvidia-driver i see:

NVVERSION?= 9746 # The latest version to date

.if ${NVVERSION} == 7184
EXTRA_PATCHES+= ${FILESDIR}/6113-patch-lib::Makefile
.else
EXTRA_PATCHES+= ${FILESDIR}/7667-* \
${FILESDIR}/crash-patch-by-zander-1759235

...
so does it mean that the patch is already included in the port???

i would like to rebuild the driver now, but not sure which one to use.
do i use the one from the portstree x11/nvidia-driver or may be i should download http://www.nvidia.com/object/freebsd_1.0-9746.html.
in any cases i have to apply zander's patch, but how do i apply it ?

...
I have tried installing newer versions of driver from nvidia's site but it cant be done. i got error something like "not compatible with freebsd 7 current".

need a little help please! :)

edhunterbg
06-15-07, 10:53 AM
# cd /usr/ports/x11/nvidia-driver/
# make clean extract
# cd work/NVIDIA-FreeBSD-x86-1.0-9746/
# fetch "http://www.nvnews.net/vbulletin/attachment.php?attachmentid=23727&d=1169836701"
# patch < "attachment.php?attachmentid=23727&d=1169836701"
# cd /usr/ports/x11/nvidia-driver/
# make deinstall
# make install clean


damn it dint work :((

on the final step fails with

===> Patching for nvidia-driver-1.0.9746_5
===> Applying extra patch /usr/ports/x11/nvidia-driver/files/7667-patch-lib::Makefile
===> Applying extra patch /usr/ports/x11/nvidia-driver/files/7667-patch-scripts::setup.sh
===> Applying extra patch /usr/ports/x11/nvidia-driver/files/crash-patch-by-zander-1759235
Ignoring previously applied (or reversed) patch.
6 out of 6 hunks ignored--saving rejects to src/nv-freebsd.h.rej
Ignoring previously applied (or reversed) patch.
5 out of 5 hunks ignored--saving rejects to src/nvidia_ctl.c.rej
Ignoring previously applied (or reversed) patch.
7 out of 7 hunks ignored--saving rejects to src/nvidia_dev.c.rej
Ignoring previously applied (or reversed) patch.
3 out of 3 hunks ignored--saving rejects to src/nvidia_pci.c.rej
Ignoring previously applied (or reversed) patch.
14 out of 14 hunks ignored--saving rejects to src/nvidia_subr.c.rej
*** Error code 35

Stop in /usr/ports/x11/nvidia-driver.
*** Error code 1

some advices ?