Owain Ainsworth wrote:
On Thu, Jul 31, 2008 at 12:14:36AM +0200, Reyk Floeter wrote:
On Wed, Jul 30, 2008 at 10:58:10PM +0200, thacrazze wrote:
Hello,
sorry that I give you a hard time
but how is status of 3D Hardware Accerlation in OpenBSD? I heard it
works with the i810 driver. But how is the current status?
You can try a recent snapshot and compile a kernel with "inteldrm* at
vga?" (commented out with a '#' in GENERIC).
$ dmesg | grep vga
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1: Intel i965GM(0), 1.6.0 20080312
$ uname -srvmp
OpenBSD 4.4 GENERIC.MP#74 amd64 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz
Or indeed radeondrm, etc. Look at the bottom of GENERIC for commented
entries.
If you find any problems, mail me.
I tried it out, but, unfortunately, I do not have any problems to
report. :-) It Just Works(tm).
It sure made a *huge* difference on neverputt and neverball which I had
to reinstall and try again... :-)
glxgears went from ~250 to ~1000 FPS.
dmesg follows for the interested, obviously non-generic. It's GENERIC.MP
+ inteldrm* + a little bluetooth.
/Alexander
OpenBSD 4.4-beta (HARDY) #9: Thu Jul 31 07:52:26 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/HARDY
cpu0: Intel(R) Core(TM)2 Duo CPU L7300 @ 1.40GHz ("GenuineIntel"
686-class) 1.40 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem = 1029984256 (982MB)
avail mem = 987418624 (941MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/02/07, BIOS32 rev. 0 @ 0xfdc80,
SMBIOS rev. 2.4 @ 0xe0010 (63 entries)
bios0: vendor LENOVO version "7NET25WW (1.06 )" date 07/02/2007
bios0: LENOVO 766929G
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF!
SSDT SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) IGBE(S4) EXP0(S4)
EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3)
USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU L7300 @ 1.40GHz ("GenuineIntel"
686-class) 1.40 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: duplicate apic id, remapped to apid 2
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus -1 (EXP4)
acpiprt7 at acpi0: bus 5 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T5247" serial 620 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc0000/0x10000! 0xd0000/0x1000 0xd1000/0x1000
0xe0000/0x10000!
cpu0: Enhanced SpeedStep 1600 MHz (1292 mV): speeds: 1600, 1400, 1200,
27200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1
info: [drm] Intel i965GM (unit 0)
info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized i915 1.6.0 20080312
"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
em0 at pci0 dev 25 function 0 "Intel ICH8 IGP M AMT" rev 0x03: apic 2
int 20 (irq 11), address 00:16:d3:ca:1a:1f
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 2 int
20 (irq 11)
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 2 int
21 (irq 11)
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 2 int
22 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic
2 int 17 (irq 11)
azalia0: RIRB time out
azalia0: RIRB time out
azalia0: codec[s]: Analog Devices AD1984, Conexant/0x2bfa, using Analog
Devices AD1984
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 2 int
20 (irq 11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: apic 2 int
21 (irq 11)
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
apic 2 int 17 (irq 11), MoW2, address 00:1b:77:a4:89:18
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 2 int
16 (irq 10)
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 2 int
17 (irq 11)
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 2 int
19 (irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
pci3 at ppb2 bus 5
cbb0 at pci3 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xba: apic 2 int
16 (irq 10)
"Ricoh 5C832 Firewire" rev 0x04 at pci3 dev 0 function 1 not configured
sdhc0 at pci3 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x21: apic 2 int
18 (irq 11)
sdmmc0 at sdhc0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 6 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801HEM LPC" rev 0x03
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x03: apic 2
int 16 (irq 10), AHCI 1.1
scsibus0 at ahci0: 32 targets, initiator 32
sd0 at scsibus0 targ 0 lun 0: <ATA, FUJITSU MHW2120B, 0084> SCSI3
0/direct fixed
sd0: 114473MB, 14593 cyl, 255 head, 63 sec, 512 bytes/sec, 234441648 sec
total
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: apic 2
int 23 (irq 11)
iic0 at ichiic0
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
[EMAIL PROTECTED]:~>cat /var/run/dmesg.boot
OpenBSD 4.4-beta (HARDY) #9: Thu Jul 31 07:52:26 CEST 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/HARDY
cpu0: Intel(R) Core(TM)2 Duo CPU L7300 @ 1.40GHz ("GenuineIntel"
686-class) 1.40 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem = 1029984256 (982MB)
avail mem = 987418624 (941MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/02/07, BIOS32 rev. 0 @ 0xfdc80,
SMBIOS rev. 2.4 @ 0xe0010 (63 entries)
bios0: vendor LENOVO version "7NET25WW (1.06 )" date 07/02/2007
bios0: LENOVO 766929G
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF!
SSDT SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) IGBE(S4) EXP0(S4)
EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3)
USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU L7300 @ 1.40GHz ("GenuineIntel"
686-class) 1.40 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: duplicate apic id, remapped to apid 2
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus -1 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus -1 (EXP4)
acpiprt7 at acpi0: bus 5 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T5247" serial 620 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc0000/0x10000! 0xd0000/0x1000 0xd1000/0x1000
0xe0000/0x10000!
cpu0: Enhanced SpeedStep 1600 MHz (1292 mV): speeds: 1600, 1400, 1200,
27200 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1
info: [drm] Intel i965GM (unit 0)
info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized i915 1.6.0 20080312
"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
em0 at pci0 dev 25 function 0 "Intel ICH8 IGP M AMT" rev 0x03: apic 2
int 20 (irq 11), address 00:16:d3:ca:1a:1f
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 2 int
20 (irq 11)
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 2 int
21 (irq 11)
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 2 int
22 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic
2 int 17 (irq 11)
azalia0: RIRB time out
azalia0: RIRB time out
azalia0: codec[s]: Analog Devices AD1984, Conexant/0x2bfa, using Analog
Devices AD1984
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 2 int
20 (irq 11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: apic 2 int
21 (irq 11)
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
apic 2 int 17 (irq 11), MoW2, address 00:1b:77:a4:89:18
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 2 int
16 (irq 10)
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 2 int
17 (irq 11)
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 2 int
19 (irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
pci3 at ppb2 bus 5
cbb0 at pci3 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xba: apic 2 int
16 (irq 10)
"Ricoh 5C832 Firewire" rev 0x04 at pci3 dev 0 function 1 not configured
sdhc0 at pci3 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x21: apic 2 int
18 (irq 11)
sdmmc0 at sdhc0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 6 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801HEM LPC" rev 0x03
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x03: apic 2
int 16 (irq 10), AHCI 1.1
scsibus0 at ahci0: 32 targets, initiator 32
sd0 at scsibus0 targ 0 lun 0: <ATA, FUJITSU MHW2120B, 0084> SCSI3
0/direct fixed
sd0: 114473MB, 14593 cyl, 255 head, 63 sec, 512 bytes/sec, 234441648 sec
total
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: apic 2
int 23 (irq 11)
iic0 at ichiic0
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub6 at uhub0 port 3 "D-Link product 0xf103" rev 2.00/1.00 addr 2
uhidev0 at uhub6 port 4 configuration 1 interface 0 "A4Tech USB Optical
Mouse" rev 1.10/0.01 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 7 buttons, Z dir
wsmouse1 at ums0 mux 0
umass0 at uhub6 port 5 configuration 1 interface 0 "Packard Bell
Store&Save USB 2.0 Packard Bell Store&Save USB 2.0" rev 2.00/0.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <Ext Hard, Disk, > SCSI2 0/direct fixed
sd1: 381554MB, 48641 cyl, 255 head, 63 sec, 512 bytes/sec, 781422768 sec
total
ugen0 at uhub2 port 2 "STMicroelectronics Biometric Coprocessor" rev
1.00/0.01 addr 2
softraid0 at root
root on sd0a swap on sd0b dump on sd0b