Problems with Nvidia driver

Sagitarius

New Member


Messages: 19

Hello all.
I have a problem with nvidia driver.
I maked....

cd /usr/ports/x11/nvidia-driver
make install clean
Good :D

cd /usr/ports/x11/nvidia-xconfig
make install clean
Good :D

cd /usr/ports/x11/nvidia-settings
make install clean
Good :D

I added in /boot/loader.conf:
nvidia_load"YES
WITHLINUX=yes

I added in /etc/rc.conf
linux_enable="YES"
compat5x_enable="YES"

I added in /compat/linux/etc/host.conf
order hosts,bind
multi on

I added in xorg.conf
http://pastebin.com/m4f8eee48

I haven't got accelerarion effects ='(
Can help me?
Thanks you
 

DrJ

Well-Known Member

Reaction score: 46
Messages: 308

Sagitarius said:
I added in /boot/loader.conf:
nvidia_load"YES
WITHLINUX=yes
That should be
Code:
nvidia_load="YES"
linux_load="YES"
I haven't got accelerarion effects ='(
Can help me?
How do you know this? Are you using the BSD or the nVidia agp chipset support?
 
OP
S

Sagitarius

New Member


Messages: 19

DrJ said:
That should be
Code:
nvidia_load="YES"
linux_load="YES"
How do you know this? Are you using the BSD or the nVidia agp chipset support?
:/
Sorry, I dont' put the nvidia card.
Nvidia 7300 is PCI (256MB)
 

adamk

Daemon

Reaction score: 266
Messages: 1,622

Nothing appears to be wrong in that log file.

Specifically, what problem are you having? What, exactly, are you doing and what do you expect to happen?

Adam
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 9,282
Messages: 33,825

Looks fine to me too, both 2D and 3D acceleration is turned on.
 
OP
S

Sagitarius

New Member


Messages: 19

Hello, mmm....
But i haven't got aceleration :(
I can't open Quake3, Openarena can open with the very very slow velocity.... caput!
I haven't got desktop effects and Stellarium is very slow slow slow... velocity...
=(
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 9,282
Messages: 33,825

Desktop effects? You mean like compiz-fusion? Did you actually install it? Is it running?

Try running quake/openarena from an xterm window, it will probably spit out a few messages that will contain clues. Same goes for stellarium.
 

tangram

Aspiring Daemon

Reaction score: 75
Messages: 523

adamk said:
Nothing appears to be wrong in that log file.
Aside from type1 and freetype modules. Comment them out from xorg.conf.

However these errors don't implicate anything negative, the log show you have loaded nvidia's module with success.
 

tangram

Aspiring Daemon

Reaction score: 75
Messages: 523

Sagitarius said:
Hello, mmm....
But i haven't got aceleration :(
I can't open Quake3, Openarena can open with the very very slow velocity.... caput!
I haven't got desktop effects and Stellarium is very slow slow slow... velocity...
=(
Did you upgrade xorg-server after installing nvidia's drivers? If so reinstall them.

Can you post Quake3's error? Follow SirDice's advice on how to get the errors.
 
OP
S

Sagitarius

New Member


Messages: 19

tangram said:
Did you upgrade xorg-server after installing nvidia's drivers? If so reinstall them.

Can you post Quake3's error? Follow SirDice's advice on how to get the errors.
make reinstall in xorg and xorg-libraries some errors.
# cd /usr/ports/x11/xorg-libraries && make deinstall clean && make install clean && cd /usr/ports/xorg && make deinstall clean && make install clean

No errors founds with my code.
Haven't, haven't got aceleration.
=(
 

DrJ

Well-Known Member

Reaction score: 46
Messages: 308

You got that backwards. The issue is that if you update xorg after installing the nVidia driver, it overwrites nVidia's version of certain libraries with the xorg version. Those use software rather than hardware acceleration, so they is slow.

Now that you have done so, you *must* reinstall the nVidia driver.

That you were not able to install the mesa-demos actually is a good sign, since they don't install if you have nVidia installed.

You should also check that the kldstat command lists nvidia.ko.
 

adamk

Daemon

Reaction score: 266
Messages: 1,622

I've installed mesa-demos while having the nvidia drivers installed. If mesa-demos won't build, I'd be interested in knowing what error he is getting.

Adam
 

DrJ

Well-Known Member

Reaction score: 46
Messages: 308

adamk said:
I've installed mesa-demos while having the nvidia drivers installed.
That has never, ever worked for me. In fact, the only way I can update them is if I have updated xorg and before I have reinstalled nVidia.

The OP also has not asnwered if he is using the FreeBSD or nVidia AGPGART. The former is slower.
 

jb_fvwm2

Daemon

Reaction score: 191
Messages: 1,734

I put this information in a file in /xorg-server/.
...
the following ports should be updated thusly:
libdrm
dri
libGL
libGLw
xorg-server
libGLU
libglut
kldunload nvidia (if applicable)
kldload nvidia
mesa-demos, glclock, glexcess,,,, (not yet in the
list precisely.
Because I also have those on a sticky-note, I
am comfortable with not upgrading until necessary.
And I do not upgrade any without upgrading all for
fear of breaking the Xorg server or graphics app's
or xorg.conf...
........
Posted for anyone reading this thread who can no
longer run X for any reason. They might not have
this information (if it is indeed 100 percent
accurate).
 

DrJ

Well-Known Member

Reaction score: 46
Messages: 308

Well, I've not found it to be that involved. I just update the xorg server and the various other files in the xorg metaport (portupgrade -R xorg), then do the mesa-demos and the like, and then reinstall nvidia with -DFORCE_PKG_REGISTER if there has been no version change. If there has been, I do a portupgrade on that. If there's no xorg change, then you can update nvidia as you like.
 

jb_fvwm2

Daemon

Reaction score: 191
Messages: 1,734

Well, I hardly ever use portupgrade because I need
to know precisely when the build will finish, the
computer is only on a few hours at a time.
 
OP
S

Sagitarius

New Member


Messages: 19

SirDice said:
Desktop effects? You mean like compiz-fusion? Did you actually install it? Is it running?

Try running quake/openarena from an xterm window, it will probably spit out a few messages that will contain clues. Same goes for stellarium.
No, I'm using kdeplasma (4.2.3)
 
OP
S

Sagitarius

New Member


Messages: 19

jb_fvwm2 said:
I put this information in a file in /xorg-server/.
...
the following ports should be updated thusly:
libdrm
dri
libGL
libGLw
xorg-server
libGLU
libglut
kldunload nvidia (if applicable)
kldload nvidia
mesa-demos, glclock, glexcess,,,, (not yet in the
list precisely.
Because I also have those on a sticky-note, I
am comfortable with not upgrading until necessary.
And I do not upgrade any without upgrading all for
fear of breaking the Xorg server or graphics app's
or xorg.conf...
........
Posted for anyone reading this thread who can no
longer run X for any reason. They might not have
this information (if it is indeed 100 percent
accurate).
The kldload nvidia not exist.
kldload: can't load nvidia: File exists
:S
The nvidia driver is installed...
I don't know.
Repeat, My card is PCI Xpress not AGP...
 
OP
S

Sagitarius

New Member


Messages: 19

DrJ said:
That has never, ever worked for me. In fact, the only way I can update them is if I have updated xorg and before I have reinstalled nVidia.

The OP also has not asnwered if he is using the FreeBSD or nVidia AGPGART. The former is slower.
I reinstalled nvidia driver and update the xorg-libraries and xorg.
Nothing...
My card is PCI Xpress not AGP
 

DutchDaemon

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 2,954
Messages: 11,353

The right order is: NVIDIA last. If you upgrade X.org after NVIDIA, you're back where you started. The NVIDIA libraries must overwrite the X.org ones.
 

tangram

Aspiring Daemon

Reaction score: 75
Messages: 523

Make sure you don't have any mistypes in loader.conf and rc.conf.

/boot/loader.conf:
Code:
nvidia_load="YES"
/etc/rc.conf:
Code:
linux_enable="YES"
 
Top