Old PCI Riva TNT

Marc Matteo <[email protected]>
Newsgroups gmane.os.openbsd.x11
Message-ID <[email protected]>
Hi all,

I got a new OpenBSD box, one with an 845GE based mobo.  Now I know
there's no 845G/845GE support in XFree86 4.2 so in the meantime I threw
in an old Riva TNT PCI card so hopefully I could still use X (obviously,
stunning graphics performance isn't an issue).

Here the thing, it works, but when exiting X it kicks the monitor
out-of-sync and basically I have to ssh in and actually power the box
down to get it back.

So any thoughts on avoiding this?

Attached are my dmesg and my XF86Config.

Thanks,
Marc
OpenBSD 3.2-current (GENERIC) #0: Tue Nov 19 21:47:27 PST 2002
    [email protected]:/home/marcm/Conf/GENERIC
cpu0: Intel Pentium 4 ("GenuineIntel" 686-class) 2.40 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F
XSR,SIMD
real mem  = 527282176 (514924K)
avail mem = 483332096 (472004K)
using 4278 buffers containing 26468352 bytes (25848K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 09/09/02, BIOS32 rev. 0 @ 0xf0010
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf46e0/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB PCI-ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
WARNING: can't reserve area for BIOS PROM.
bios0: ROM list: 0xc0000/0x8000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845G/GL" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82845G/GL Video" rev 0x03: aperture at
0x20000000, size 0x8000000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x02: irq 3
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x02: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x02: irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
"Intel 82801DB USB" rev 0x02 at pci0 dev 29 function 7 not configured
ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x82
pci1 at ppb0 bus 1
"Nvidia Riva TNT" rev 0x04 at pci1 dev 0 function 0 not configured
fxp0 at pci1 dev 8 function 0 "Intel PRO/100 VE" rev 0x82: irq 11, address
00:07:e9:b6:11:b0
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
pcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x02: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <ST340016A>
wd0: 16-sector PIO, LBA, 38166MB, 16383 cyl, 16 head, 63 sec, 78165360
sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, CD-RW CRX0811, MYS2> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
"Intel 82801DB SMB" rev 0x02 at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97 Audio" rev 0x02: irq 11,
ICH4 AC97
ac97: codec id 0x41445374 (Analog Devices <74>)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c268 netmask ca68 ttymask daea
pctr: user-level cycle counter enabled
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	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/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Serverflags"
	Option "StandbyTime"	"0"
	Option "SuspendTime"	"0"
	Option "OffTime"	"15"
EndSection

Section "Module"
	Load  "extmod"		# Misc. required extensions
	Load  "glx"		# OpenGL X protocol interface
#	Load  "GLcore"		# OpenGL support (loaded by glx)
	Load  "dbe"		# Double-buffering
	Load  "record"		# X event recorder
#	Load  "xtrap"
	Load  "speedo"		# Speedo font handler
	Load  "type1"		# Adobe Type 1 font handler
	Load  "freetype"	# FreeType TrueType font handler
#	Load  "xtt"		# X-TrueType font handler
EndSection

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

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

Section "Monitor"
	Identifier   "Sun 17-inch"
	VendorName   "Sun"
	ModelName    "17-inch"
	HorizSync    30 - 70
	VertRefresh  50 - 160
	Option       "DPMS"
EndSection

Section "Device"
	Identifier  "845GE"
	Driver      "i810"
	VendorName  "Intel"
	BoardName   "Intel® Extreme Graphics"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
	Identifier  "TNT"
	Driver      "nv"
	VendorName  "Nvidia"
	BoardName   "Riva TNT"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "TNT"
	Monitor    "Sun 17-inch"
	DefaultDepth	24

	SubSection "Display"
		Depth	8
		Modes	"1024x768"
	EndSubSection
	Subsection "Display"
		Depth	16
		Modes	"1024x768"
	EndSubsection
	SubSection "Display"
		Depth	24
		Modes	"1024x768"
	EndSubSection
EndSection
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.