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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-16-02, 01:32 AM   #37
a3c
Registered User
 
Join Date: Dec 2002
Location: Slovakia
Posts: 1
Unhappy Yet another loozer...

hi! i've ecounter small problem. when my X starts everything is ok (from log -logverebose 5) but screen just flash three or four times and after that it stay in text mode and is filled with random characters (moustly with smielies:-) Last line in log is Setting resolution to 800x600 (or like).
i have GEFORCE 2 MX400 (agp) and kinetiz zb7 (VIA chipset).
i think i've met all critherias: SYSVSHM and USER_LDT option enabled in my kernel, correct versions of X, server, client and libs. i also have Linux ABI compatiability module loaded.
installation (make setup) is w/o errors. after reboot module is loaded and there is line starting nvidia... in dmesg. i've use XF86Config.sample (i changed only Monitor section and BoardName;-).
but startx + few moments and screen unreadeabe (it seems to shift all characters). only way out is ctrl+alt+delete... thank you
a3c is offline   Reply With Quote
Old 12-17-02, 01:37 AM   #38
amistry
Registered User
 
Join Date: Nov 2002
Posts: 6
Default tv-out problems

I'm having trouble getting my tv-out to display. If I remove the ConnectedMonitor "crt,tv" line I can start the X-Server, but there is no tv-out.
The /var/log/XFree86.0.log says that it can only detect one display with the ConnectedMonitor line removed, eventhough both the s-video cable and crt are plugged in.
/var/log/XFree86.0.log (with ConnectedMonitor line removed):
....
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NvAGP" "1"
(**) NVIDIA(0): Option "IgnoreEDID" "1"
(**) NVIDIA(0): Option "TVStandard" "NTSC-M"
(**) NVIDIA(0): Option "TVOutFormat" "SVIDEO"
(**) NVIDIA(0): Option "TwinView"
(**) NVIDIA(0): Option "TwinViewOrientation" "RightOf"
(**) NVIDIA(0): Option "SecondMonitorHorizSync" "60"
(**) NVIDIA(0): Option "SecondMonitorVertRefresh" "60"
(**) NVIDIA(0): Option "MetaModes" "640x480,640x480;"
(**) NVIDIA(0): Forcing SVIDEO output
(**) NVIDIA(0): Use of NVIDIA internal AGP requested
(**) NVIDIA(0): Ignoring EDIDs
(**) NVIDIA(0): TV Standard string: "NTSC-M"
(**) NVIDIA(0): TwinView enabled
(--) NVIDIA(0): Linear framebuffer at 0xD0000000
(--) NVIDIA(0): MMIO registers at 0xDC000000
(==) NVIDIA(0): Write-combining range (0xdc601000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xa0000,0x10000) was already clear
(==) NVIDIA(0): Write-combining range (0xdc680000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xdc601000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xdc681000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xdc0c0000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xdc682000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xdc603000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xdc683000,0x1000) was already clear
(--) NVIDIA(0): VideoRAM: 65536 kBytes
(--) NVIDIA(0): Display 0: maximum pixel clock at 8 bpp: 350 MHz
(--) NVIDIA(0): Display 0: maximum pixel clock at 16 bpp: 350 MHz
(--) NVIDIA(0): Display 0: maximum pixel clock at 32 bpp: 300 MHz
(II) NVIDIA(0): Not probing EDIDs.
(WW) NVIDIA(0): Only one display device connected; disabling TwinView.
(II) NVIDIA(0): Monitor0: Using hsync range of 30.00-70.00 kHz
(II) NVIDIA(0): Monitor0: Using vrefresh range of 50.00-90.00 Hz
....

XF86Config:
Section "ServerLayout"
Identifier "TwinViewTV"
# Screen "TVScreen"
Screen "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/share/AbiSuite/fonts"
EndSection

Section "Module"
Load "extmod"
Load "xie"
Load "pex5"
Load "glx"
Load "dbe"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Section "Monitor"
Identifier "TV"
HorizSync 30-50
VertRefresh 60
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-90
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "NVidia"
BoardName "GeForce2 MX/MX 400"
Option "TwinView"
Option "IgnoreEDID" "1"
Option "SecondMonitorHorizSync" "60"
Option "SecondMonitorVertRefresh" "60"
Option "TVOutFormat" "SVIDEO"
Option "MetaModes" "640x480,640x480;"
Option "TwinViewOrientation" "RightOf"
Option "TVStandard" "NTSC-M"
Option "NvAGP" "1"
Option "ConnectedMonitors" "crt,tv"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "TVScreen"
Device "Card0"
Monitor "TV"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
# Modes "1152x864" "1024x768" "800x600" "640x480"
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection
amistry is offline   Reply With Quote
Old 12-17-02, 04:35 PM   #39
Snow
Registered User
 
Join Date: Dec 2002
Posts: 2
Default 1600x1200@24?

I've got, per dmesg, a "NVidia Riva Ultra Vanta TNT2 graphics accelerator." I was able to get it up and running just fine under Nvidia's driver, but I can't seem to get to 1600x1200@24bpp anymore. It seems to default to 800x600, and with some serious fiddling I can get to 1600x1200@8bpp. Using the "IgnoreEDID" option got me some rather Christmasy colors, but an otherwise non-functional display, so that didn't seem to be the way to go.

The curious thing is that, under XFree86-4's "nv" driver, I could run 1600x1200@24 no problem. In fact, that's what I'm running as I write this.

I can post any additional details needed, but I guess for starters, is anyone successfully running this driver at 1600x1200@24?

Thanks in advance.
Snow is offline   Reply With Quote
Old 12-18-02, 07:05 PM   #40
jamie
Registered User
 
Join Date: Nov 2002
Location: Wales, UK
Posts: 9
Default

I'm running 1600 x 1200 x 24 on my old Diamond Viper V550 (tnt 2)

There are problems:

1) It takes about 2 minutes for x-windows to start (with nv it was instant!)
2) Some of the opengl stuff is iffy with KDE, which I solved by reinstalling the original drivers (therefore sacrificing openGL support for now)

However, apart from that, it's stable at 1600 x 1200 x 24

You are welcome to see my config files, but I didn't do anything out of the ordinary..

/etc/X11/XF86Config: (non relevent bits snipped)


Section "Module"
Load "bitmap"
Load "xie"
Load "pex5"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "extmod"
Load "type1"
Load "freetype"
EndSection

Section "ServerFlags"
Option "AllowDeactivateGrabs" "on"
Option "AllowClosedownGrabs" "on"
EndSection

Section "Monitor"
Identifier "Monitor0"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 160.0
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "NVIDIA"
BoardName "RIVA TNT"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" "640x400" "512x384" "400x300" "320x240" "320x200" "256x224"
EndSubSection
EndSection

dmesg:

nvidia0: <RIVA TNT> mem 0xe6000000-0xe6ffffff,0xe4000000-0xe4ffffff irq 11 at device 0.0 on pci1

pciconf:

nvidia0@pci1:0:0: class=0x030000 card=0x48201092 chip=0x002010de rev=0x04 hdr=0x00
vendor = 'Nvidia Corporation'
device = 'Riva TNT GUI+3D Accelerator [NV4]'
class = display
subclass = VGA

Hope this helps,
Jamie
jamie is offline   Reply With Quote
Old 12-19-02, 09:24 AM   #41
Snow
Registered User
 
Join Date: Dec 2002
Posts: 2
Default

Actually, after fiddling with it for a while, it seems that I was overdriving the video card with the nv driver and never realized it.

The nvidia driver reports that the card has a maximum clock of 215MHz or so. In configuring my display, I hadn't used a range, but rather had used the specific frequencies listed in a table that came with the monitor to get 1600x1200 at 85Hz, 106.3h & 85v. The table also specifies that this requires a clock of 229.5MHz. So that's why it wasn't working under the nvidia driver. Oops.

I fell back to specifying a range (30-121h & 48-160v) and the nvidia driver came up just fine at 1600x1200, albeit only at 75Hz. And my Xvideo drivers were now working. Unfortunately, video playback was mangled by some really nasty artifacts. Which is fine, I guess, since I wasn't wild about running at 75Hz anyway.

Oh well. I'll be replacing this 21" tube with a 19" LCD that runs 1280x1024 soon enough anyway. I'll try it all again then.
Snow is offline   Reply With Quote
Old 12-20-02, 07:06 AM   #42
AlphaChild
Registered User
 
Join Date: Nov 2002
Posts: 9
Default

side topic: when are the detonator 4 drivers coming out on FreeBSD? no rush, but detonator 3 are not quite as ... you know
AlphaChild is offline   Reply With Quote
Old 01-11-03, 03:40 PM   #43
midekra
Registered User
 
Join Date: Jan 2003
Posts: 7
Default Why no gl.h and glx.h for FreeBSD?

Is there a reason for not including these headers in the FreeBSD package or do t
hey just forgot to? Can I just copy the headers for Linux and expect them to wor
k?
midekra is offline   Reply With Quote
Old 01-16-03, 12:20 PM   #44
AlphaChild
Registered User
 
Join Date: Nov 2002
Posts: 9
Default

jaime, i had a quick look at your xf86config file, and from that quick look, i see you are loading the dri module. that is a big no-no. you get rid of the dri, and that should hopefully solve your problems. the reason is because the nvidia drivers use their own separate rendering system, and loading the dri module causes a conflict. i hope that helps
AlphaChild is offline   Reply With Quote

Old 01-23-03, 12:39 PM   #45
icon001
Registered User
 
Join Date: Jan 2003
Posts: 2
Question working good - but no 32bit

running the following:

FreeBSD 4.7
XFree86-4.2.0_1,1
XFree86-libraries-4.2.1_1
XFree86-Server-4.2.1_3
XFree86-clients-4.2.1_1
NVIDIA FreeBSD Driver 1.0-3203

with

Section "Module"
Load "bitmap"
Load "extmod"
Load "dbe"
Load "type1"
Load "glx"
Load "freetype"
EndSection

Section "Device"
Identifier "Device"
Driver "nvidia"
VendorName "NVIDIA"
BoardName "GeForce3"
EndSection

and a Geforce3 card w/ 128m

Made all the changes and everything works, boots and runs fine - but for some reason beyond my limited knowledge I cannot run in 32bit mode. 8,16,24 are no issue
But trying 32bit mode the system returns an error saying the "nvidia" drivers don''t support this mode.
I even tried running the XF86Config scripts both text and graphical and neither one offers me the option of using 32bit modes...?

Any ideas?
icon001 is offline   Reply With Quote
Old 01-26-03, 11:05 AM   #46
midekra
Registered User
 
Join Date: Jan 2003
Posts: 7
Default Re: working good - but no 32bit

Quote:
Originally posted by icon001
Made all the changes and everything works, boots and runs fine - but for some reason beyond my limited knowledge I cannot run in 32bit mode. 8,16,24 are no issue
But trying 32bit mode the system returns an error saying the "nvidia" drivers don''t support this mode.
I even tried running the XF86Config scripts both text and graphical and neither one offers me the option of using 32bit modes...?
That's because depth 32 visuals do not exist. Older XFree86 (up to 3.X) had a depth 32 visual which was actually a depth 24 visual with a different bits per pixel.

XFree86 4 supports the same modes as 3.X did, only it does so in a more sensible way. "depth" refers to the number of bits of active color information. This value is one of 1/2/4/8/15/16/24 There is no such thing as 32 bit color . The bit width of a pixel on the other hand, is now refered to as "fbbpp", and is 8/16/24/32 depending on the mode and visual.

Just remove the 32 depth subsection and it will work fine, and it will work just as you want it to.
midekra is offline   Reply With Quote
Old 01-26-03, 08:53 PM   #47
icon001
Registered User
 
Join Date: Jan 2003
Posts: 2
Default Re: Re: working good - but no 32bit

Quote:
Originally posted by midekra
That's because depth 32 visuals do not exist. Older XFree86 (up to 3.X) had a depth 32 visual which was actually a depth 24 visual with a different bits per pixel.

XFree86 4 supports the same modes as 3.X did, only it does so in a more sensible way. "depth" refers to the number of bits of active color information. This value is one of 1/2/4/8/15/16/24 There is no such thing as 32 bit color . The bit width of a pixel on the other hand, is now refered to as "fbbpp", and is 8/16/24/32 depending on the mode and visual.

Just remove the 32 depth subsection and it will work fine, and it will work just as you want it to.
Ok then, that explains it, I appreciate the reply at least I know what's happening now.
icon001 is offline   Reply With Quote
Old 01-31-03, 11:34 AM   #48
ArturBac
Registered User
 
Join Date: Jan 2003
Location: Poland
Posts: 1
Default

TO BE ABLE TO COMPILE FOR
FreeBSD 5.0-CURRENT with srccvs AFTER #1: Fri Jan 30 CET 2003
DO THAT

FIX THIS FOR GCC3.2.1

ADD TO ./src/nv-freebsd.h
AFTER #include <sys/sysctl.h>
AT LINE 38
/*FREEBSD5.0 ONLY FIX*/
#include <sys/proc.h>
#include <sys/filedesc.h>
#include <sys/conf.h>
ArturBac 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
NVIDIA R304.64 Certified Drivers for Linux, Solaris and FreeBSD News Archived News Items 0 11-07-12 02:30 PM
NVIDIA drivers 302.17 for Linux, FreeBSD and Solaris News Archived News Items 0 06-16-12 07:20 AM
NVIDIA drivers 302.11 for Linux, FreeBSD and Solaris News Archived News Items 0 05-19-12 11:20 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Official detonator 40.71 feedback thread Crake NVIDIA Windows Graphics Drivers 88 10-01-02 11:38 AM

All times are GMT -5. The time now is 08:34 AM.


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