Re: UPDATE: openarena

2011-05-09 Thread Alf Schlichting
I have used the sdl patch on my OpenBSD and Linux boxen since quite some time
and never run into issues (on the linux boxen lots of OpenQL games, flash, 
movies
and other nonsense).
Not so much on later OpenBSD (> 4.7) since I lack a 3d gfx card supported by
OpenBSD and not needing 10.000 watts.

Alf

On Thu, May 05, 2011 at 11:34:40PM +0200, Jasper Lievisse Adriaanse wrote:
> On Tue, May 03, 2011 at 06:56:49PM +, Jacob Meuser wrote:
> > On Tue, May 03, 2011 at 03:47:30PM +0200, Jasper Lievisse Adriaanse wrote:
> > > On Tue, May 03, 2011 at 10:26:16AM +0200, Alf Schlichting wrote:
> > > > On Mon, May 02, 2011 at 10:36:10PM +0300, Antti Harri wrote:
> > > > > On Monday 02 May 2011 20:33:22 Jasper Lievisse Adriaanse wrote:
> > > > > > On Mon, May 02, 2011 at 06:10:12PM +0300, Antti Harri wrote:
> > > > > > > On Monday 02 May 2011 14:53:55 Jasper Lievisse Adriaanse wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > Here's an update for openarena to the latest patch release. Any
> > > > > > > > testers? ;-) OK?
> > > > > > >
> > > > > > > Lightly tested on amd64.
> > > > > > >
> > > > > > > Display->brightness is not working, the screen is very dark by 
> > > > > > > default.
> > > > > >
> > > > > > I noticed the brightness thing on mac os x too...
> > > > > 
> > > > > This seems to be a problem in SDL that was caused by a X.org update.
> > > > > http://bugzilla.libsdl.org/show_bug.cgi?id=971
> > > > > 
> > > > 
> > > > fyi, the patch posted in that threat works fine, I use it all the time
> > > > on my linux q3 machines and used it on OpenBSD iirc (don't have a gfx 
> > > > card for
> > > > OpenBSD atm). 
> > > > 
> > > > Maybe worth to include it in OpenBSDs SDL port? 
> > > We could, though it's going to be removed for the update to 1.3.x anyway.
> > 
> > I'm pretty sure we'll need to have both 1.2.x and 1.3.x ports, actually.
> > 
> > > Jake, what do you think?
> > 
> > this came up before and I asked for testing against the other SDL ports
> > (there are many) and got basically no responses.
> FWIW, it seems to have no negative effects on the other SDL ports I (lightly)
> tested.
>  
> > -- 
> > jake...@sdf.lonestar.org
> > SDF Public Access UNIX System - http://sdf.lonestar.org
> > 
> 
> -- 
> Cheers,
> Jasper
> 
> "Capable, generous men do not create victims, they nurture them."



Re: UPDATE: openarena

2011-05-05 Thread Jasper Lievisse Adriaanse
On Tue, May 03, 2011 at 06:56:49PM +, Jacob Meuser wrote:
> On Tue, May 03, 2011 at 03:47:30PM +0200, Jasper Lievisse Adriaanse wrote:
> > On Tue, May 03, 2011 at 10:26:16AM +0200, Alf Schlichting wrote:
> > > On Mon, May 02, 2011 at 10:36:10PM +0300, Antti Harri wrote:
> > > > On Monday 02 May 2011 20:33:22 Jasper Lievisse Adriaanse wrote:
> > > > > On Mon, May 02, 2011 at 06:10:12PM +0300, Antti Harri wrote:
> > > > > > On Monday 02 May 2011 14:53:55 Jasper Lievisse Adriaanse wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > Here's an update for openarena to the latest patch release. Any
> > > > > > > testers? ;-) OK?
> > > > > >
> > > > > > Lightly tested on amd64.
> > > > > >
> > > > > > Display->brightness is not working, the screen is very dark by 
> > > > > > default.
> > > > >
> > > > > I noticed the brightness thing on mac os x too...
> > > > 
> > > > This seems to be a problem in SDL that was caused by a X.org update.
> > > > http://bugzilla.libsdl.org/show_bug.cgi?id=971
> > > > 
> > > 
> > > fyi, the patch posted in that threat works fine, I use it all the time
> > > on my linux q3 machines and used it on OpenBSD iirc (don't have a gfx 
> > > card for
> > > OpenBSD atm). 
> > > 
> > > Maybe worth to include it in OpenBSDs SDL port? 
> > We could, though it's going to be removed for the update to 1.3.x anyway.
> 
> I'm pretty sure we'll need to have both 1.2.x and 1.3.x ports, actually.
> 
> > Jake, what do you think?
> 
> this came up before and I asked for testing against the other SDL ports
> (there are many) and got basically no responses.
FWIW, it seems to have no negative effects on the other SDL ports I (lightly)
tested.
 
> -- 
> jake...@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
> 

-- 
Cheers,
Jasper

"Capable, generous men do not create victims, they nurture them."



Re: UPDATE: openarena

2011-05-03 Thread Jacob Meuser
On Tue, May 03, 2011 at 03:47:30PM +0200, Jasper Lievisse Adriaanse wrote:
> On Tue, May 03, 2011 at 10:26:16AM +0200, Alf Schlichting wrote:
> > On Mon, May 02, 2011 at 10:36:10PM +0300, Antti Harri wrote:
> > > On Monday 02 May 2011 20:33:22 Jasper Lievisse Adriaanse wrote:
> > > > On Mon, May 02, 2011 at 06:10:12PM +0300, Antti Harri wrote:
> > > > > On Monday 02 May 2011 14:53:55 Jasper Lievisse Adriaanse wrote:
> > > > > > Hi,
> > > > > >
> > > > > > Here's an update for openarena to the latest patch release. Any
> > > > > > testers? ;-) OK?
> > > > >
> > > > > Lightly tested on amd64.
> > > > >
> > > > > Display->brightness is not working, the screen is very dark by 
> > > > > default.
> > > >
> > > > I noticed the brightness thing on mac os x too...
> > > 
> > > This seems to be a problem in SDL that was caused by a X.org update.
> > > http://bugzilla.libsdl.org/show_bug.cgi?id=971
> > > 
> > 
> > fyi, the patch posted in that threat works fine, I use it all the time
> > on my linux q3 machines and used it on OpenBSD iirc (don't have a gfx card 
> > for
> > OpenBSD atm). 
> > 
> > Maybe worth to include it in OpenBSDs SDL port? 
> We could, though it's going to be removed for the update to 1.3.x anyway.

I'm pretty sure we'll need to have both 1.2.x and 1.3.x ports, actually.

> Jake, what do you think?

this came up before and I asked for testing against the other SDL ports
(there are many) and got basically no responses.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: UPDATE: openarena

2011-05-03 Thread Antti Harri

I just tested the sdl patch and brightness switch works just fine in Openarena 
now. I also tested UFO:AI in fullscreen and windowed modes without problems.

-- 
Antti Harri



Re: UPDATE: openarena

2011-05-03 Thread Jasper Lievisse Adriaanse
On Tue, May 03, 2011 at 03:47:30PM +0200, Jasper Lievisse Adriaanse wrote:
> On Tue, May 03, 2011 at 10:26:16AM +0200, Alf Schlichting wrote:
> > On Mon, May 02, 2011 at 10:36:10PM +0300, Antti Harri wrote:
> > > On Monday 02 May 2011 20:33:22 Jasper Lievisse Adriaanse wrote:
> > > > On Mon, May 02, 2011 at 06:10:12PM +0300, Antti Harri wrote:
> > > > > On Monday 02 May 2011 14:53:55 Jasper Lievisse Adriaanse wrote:
> > > > > > Hi,
> > > > > >
> > > > > > Here's an update for openarena to the latest patch release. Any
> > > > > > testers? ;-) OK?
> > > > >
> > > > > Lightly tested on amd64.
> > > > >
> > > > > Display->brightness is not working, the screen is very dark by 
> > > > > default.
> > > >
> > > > I noticed the brightness thing on mac os x too...
> > > 
> > > This seems to be a problem in SDL that was caused by a X.org update.
> > > http://bugzilla.libsdl.org/show_bug.cgi?id=971
> > > 
> > 
> > fyi, the patch posted in that threat works fine, I use it all the time
> > on my linux q3 machines and used it on OpenBSD iirc (don't have a gfx card 
> > for
> > OpenBSD atm). 
> > 
> > Maybe worth to include it in OpenBSDs SDL port? 
> We could, though it's going to be removed for the update to 1.3.x anyway.
> 
> Jake, what do you think?
>  
> > > It's not perfect but this can be worked around by calling xgamma or 
> > > xrandr 
> > > before starting the game.
> > > 
> > > >
> > > > > I experience sound stuttering when aucat is on. Tried default buffer 
> > > > > size
> > > > > and -b 2048.
> > > > >
> > > > > Same thing with the 0.8.1p1 though.
> > > >
> > > > Guess it's going in then ;-)
> > > 
> > > 
> > > -- 
> > > Antti Harri
> > > 
> > 
> 
> -- 
> Cheers,
> Jasper
> 
> "Capable, generous men do not create victims, they nurture them."
> 

Here's the diff btw, it's much better now with OA.

-- 
Cheers,
Jasper

"Capable, generous men do not create victims, they nurture them."

Index: Makefile
===
RCS file: /cvs/ports/devel/sdl/Makefile,v
retrieving revision 1.78
diff -p -u -r1.78 Makefile
--- Makefile15 Nov 2010 19:46:09 -  1.78
+++ Makefile3 May 2011 14:12:23 -
@@ -5,7 +5,7 @@ COMMENT=cross-platform multimedia libra
 VERSION=   1.2.13
 DISTNAME=  SDL-${VERSION}
 PKGNAME=   ${DISTNAME:L}
-REVISION = 14
+REVISION = 15
 CATEGORIES=devel
 
 HOMEPAGE=  http://www.libsdl.org/
Index: patches/patch-src_video_x11_SDL_x11sym_h
===
RCS file: patches/patch-src_video_x11_SDL_x11sym_h
diff -N patches/patch-src_video_x11_SDL_x11sym_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_video_x11_SDL_x11sym_h3 May 2011 14:12:23 -
@@ -0,0 +1,24 @@
+$OpenBSD$
+
+Add support for XRandR and VidMode gamma ramps.
+From upstream bz: http://bugzilla.libsdl.org/show_bug.cgi?id=971
+
+Will not be part of SDL 1.3 to gamma API removal.
+
+--- src/video/x11/SDL_x11sym.h.origMon Dec 31 05:48:13 2007
 src/video/x11/SDL_x11sym.h Tue May  3 15:12:12 2011
+@@ -190,6 +190,14 @@ SDL_X11_SYM(SizeID,XRRConfigCurrentConfiguration,(XRRS
+ SDL_X11_SYM(XRRScreenSize *,XRRConfigSizes,(XRRScreenConfiguration *config, 
int *nsizes),(config,nsizes),return)
+ SDL_X11_SYM(Status,XRRSetScreenConfig,(Display *dpy, XRRScreenConfiguration 
*config, Drawable draw, int size_index, Rotation rotation, Time 
timestamp),(dpy,config,draw,size_index,rotation,timestamp),return)
+ SDL_X11_SYM(void,XRRFreeScreenConfigInfo,(XRRScreenConfiguration 
*config),(config),)
++SDL_X11_SYM(XRRScreenResources *,XRRGetScreenResources,(Display *dpy, Window 
window),(dpy,window),return)
++SDL_X11_SYM(XRRScreenResources *,XRRGetScreenResourcesCurrent,(Display *dpy, 
Window window),(dpy,window),return)
++SDL_X11_SYM(void,XRRFreeScreenResources,(XRRScreenResources 
*resources),(resources),)
++SDL_X11_SYM(int,XRRGetCrtcGammaSize,(Display *dpy, RRCrtc 
crtc),(dpy,crtc),return)
++SDL_X11_SYM(XRRCrtcGamma *,XRRAllocGamma,(int size),(size),return)
++SDL_X11_SYM(void,XRRFreeGamma,(XRRCrtcGamma *gamma),(gamma),)
++SDL_X11_SYM(XRRCrtcGamma *,XRRGetCrtcGamma,(Display *dpy, RRCrtc 
crtc),(dpy,crtc),return)
++SDL_X11_SYM(void,XRRSetCrtcGamma,(Display *dpy, RRCrtc crtc, XRRCrtcGamma 
*gamma),(dpy,crtc,gamma),)
+ #endif
+ 
+ /* DPMS support */
Index: patches/patch-src_video_x11_SDL_x11video_c
===
RCS file: patches/patch-src_video_x11_SDL_x11video_c
diff -N patches/patch-src_video_x11_SDL_x11video_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_video_x11_SDL_x11video_c  3 May 2011 14:12:23 -
@@ -0,0 +1,288 @@
+$OpenBSD$
+
+Add support for XRandR and VidMode gamma ramps.
+From upstream bz: http://bugzilla.libsdl.org/show_bug.cgi?id=971
+
+Will not be part of SDL 1.3 to gamma API removal.
+
+--- src/video/x11/SDL_x11video.c.orig  Mon Dec 31 05:48:13 2007
 src/video/x11/SDL_x11video.c   Tue May  

Re: UPDATE: openarena

2011-05-03 Thread Jasper Lievisse Adriaanse
On Tue, May 03, 2011 at 10:26:16AM +0200, Alf Schlichting wrote:
> On Mon, May 02, 2011 at 10:36:10PM +0300, Antti Harri wrote:
> > On Monday 02 May 2011 20:33:22 Jasper Lievisse Adriaanse wrote:
> > > On Mon, May 02, 2011 at 06:10:12PM +0300, Antti Harri wrote:
> > > > On Monday 02 May 2011 14:53:55 Jasper Lievisse Adriaanse wrote:
> > > > > Hi,
> > > > >
> > > > > Here's an update for openarena to the latest patch release. Any
> > > > > testers? ;-) OK?
> > > >
> > > > Lightly tested on amd64.
> > > >
> > > > Display->brightness is not working, the screen is very dark by default.
> > >
> > > I noticed the brightness thing on mac os x too...
> > 
> > This seems to be a problem in SDL that was caused by a X.org update.
> > http://bugzilla.libsdl.org/show_bug.cgi?id=971
> > 
> 
> fyi, the patch posted in that threat works fine, I use it all the time
> on my linux q3 machines and used it on OpenBSD iirc (don't have a gfx card for
> OpenBSD atm). 
> 
> Maybe worth to include it in OpenBSDs SDL port? 
We could, though it's going to be removed for the update to 1.3.x anyway.

Jake, what do you think?
 
> > It's not perfect but this can be worked around by calling xgamma or xrandr 
> > before starting the game.
> > 
> > >
> > > > I experience sound stuttering when aucat is on. Tried default buffer 
> > > > size
> > > > and -b 2048.
> > > >
> > > > Same thing with the 0.8.1p1 though.
> > >
> > > Guess it's going in then ;-)
> > 
> > 
> > -- 
> > Antti Harri
> > 
> 

-- 
Cheers,
Jasper

"Capable, generous men do not create victims, they nurture them."



Re: UPDATE: openarena

2011-05-03 Thread Alf Schlichting
On Mon, May 02, 2011 at 10:36:10PM +0300, Antti Harri wrote:
> On Monday 02 May 2011 20:33:22 Jasper Lievisse Adriaanse wrote:
> > On Mon, May 02, 2011 at 06:10:12PM +0300, Antti Harri wrote:
> > > On Monday 02 May 2011 14:53:55 Jasper Lievisse Adriaanse wrote:
> > > > Hi,
> > > >
> > > > Here's an update for openarena to the latest patch release. Any
> > > > testers? ;-) OK?
> > >
> > > Lightly tested on amd64.
> > >
> > > Display->brightness is not working, the screen is very dark by default.
> >
> > I noticed the brightness thing on mac os x too...
> 
> This seems to be a problem in SDL that was caused by a X.org update.
> http://bugzilla.libsdl.org/show_bug.cgi?id=971
> 

fyi, the patch posted in that threat works fine, I use it all the time
on my linux q3 machines and used it on OpenBSD iirc (don't have a gfx card for
OpenBSD atm). 

Maybe worth to include it in OpenBSDs SDL port? 

> It's not perfect but this can be worked around by calling xgamma or xrandr 
> before starting the game.
> 
> >
> > > I experience sound stuttering when aucat is on. Tried default buffer size
> > > and -b 2048.
> > >
> > > Same thing with the 0.8.1p1 though.
> >
> > Guess it's going in then ;-)
> 
> 
> -- 
> Antti Harri
> 



Re: UPDATE: openarena

2011-05-02 Thread Antti Harri
On Monday 02 May 2011 20:33:22 Jasper Lievisse Adriaanse wrote:
> On Mon, May 02, 2011 at 06:10:12PM +0300, Antti Harri wrote:
> > On Monday 02 May 2011 14:53:55 Jasper Lievisse Adriaanse wrote:
> > > Hi,
> > >
> > > Here's an update for openarena to the latest patch release. Any
> > > testers? ;-) OK?
> >
> > Lightly tested on amd64.
> >
> > Display->brightness is not working, the screen is very dark by default.
>
> I noticed the brightness thing on mac os x too...

This seems to be a problem in SDL that was caused by a X.org update.
http://bugzilla.libsdl.org/show_bug.cgi?id=971

It's not perfect but this can be worked around by calling xgamma or xrandr 
before starting the game.

>
> > I experience sound stuttering when aucat is on. Tried default buffer size
> > and -b 2048.
> >
> > Same thing with the 0.8.1p1 though.
>
> Guess it's going in then ;-)


-- 
Antti Harri



Re: UPDATE: openarena

2011-05-02 Thread Jasper Lievisse Adriaanse
On Mon, May 02, 2011 at 06:10:12PM +0300, Antti Harri wrote:
> On Monday 02 May 2011 14:53:55 Jasper Lievisse Adriaanse wrote:
> > Hi,
> >
> > Here's an update for openarena to the latest patch release. Any testers?
> > ;-) OK?
> 
> Lightly tested on amd64.
> 
> Display->brightness is not working, the screen is very dark by default.
I noticed the brightness thing on mac os x too... 

> I experience sound stuttering when aucat is on. Tried default buffer size and 
> -b 2048.
> 
> Same thing with the 0.8.1p1 though.
Guess it's going in then ;-)
 
> -- 
> Antti Harri
> 
> OpenBSD 4.9-current (GENERIC.MP) #77: Wed Apr 20 23:40:23 MDT 2011
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3747110912 (3573MB)
> avail mem = 3633319936 (3465MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0450 (73 entries)
> bios0: vendor Dell Inc. version "A11" date 11/30/2006
> bios0: Dell Inc. OptiPlex GX620
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S3 S4 S5
> acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET
> acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5) 
> PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Pentium(R) D CPU 2.80GHz, 2793.48 MHz
> cpu0: 
> FPU,VME,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,CNXT-ID,CX16,xTPR,NXE,LONG
> cpu0: 1MB 64b/line 8-way L2 cache
> cpu0: apic clock running at 199MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Pentium(R) D CPU 2.80GHz, 2793.08 MHz
> cpu1: 
> FPU,VME,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,CNXT-ID,CX16,xTPR,NXE,LONG
> cpu1: 1MB 64b/line 8-way L2 cache
> ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 8
> acpimcfg0 at acpi0 addr 0xf000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 4 (PCI4)
> acpiprt1 at acpi0: bus 2 (PCI2)
> acpiprt2 at acpi0: bus 3 (PCI3)
> acpiprt3 at acpi0: bus 1 (PCI1)
> acpiprt4 at acpi0: bus -1 (PCI5)
> acpiprt5 at acpi0: bus -1 (PCI6)
> acpiprt6 at acpi0: bus 0 (PCI0)
> acpicpu0 at acpi0
> acpicpu1 at acpi0
> acpibtn0 at acpi0: VBTN
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02
> ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: apic 8 int 16 
> (irq 11)
> pci1 at ppb0 bus 1
> vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xe000, size 0x1000
> inteldrm0 at vga1: apic 8 int 16 (irq 11)
> drm0 at inteldrm0
> "Intel 82945G Video" rev 0x02 at pci0 dev 2 function 1 not configured
> ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 8 int 16 
> (irq 11)
> pci2 at ppb1 bus 2
> bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1 
> (0x4001): apic 8 int 16 (irq 11), address 00:13:72:d8:c9:e3
> brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
> ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 8 int 17 
> (irq 10)
> pci3 at ppb2 bus 3
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 8 int 21 
> (irq 9)
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 8 int 22 
> (irq 5)
> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 8 int 18 
> (irq 3)
> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 8 int 23 
> (irq 10)
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 8 int 21 
> (irq 9)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
> pci4 at ppb3 bus 4
> auich0 at pci0 dev 30 function 2 "Intel 82801GB AC97" rev 0x01: apic 8 int 23 
> (irq 10), ICH7 AC97
> ac97: codec id 0x41445374 (Analog Devices AD1981B)
> ac97: codec features headphone, 20 bit DAC, No 3D Stereo
> audio0 at auich0
> pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01
> pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 
> 0 configured to compatibility, channel 1 configured to compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0:  ATAPI 5/cdrom 
> removable
> cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 
> 0 configured to native-PCI, channel 1 configured to native-PCI
> pciide1: using apic 8 int 20 (irq 5) for native-PCI in

Re: UPDATE: openarena

2011-05-02 Thread Kirill Bychkov
On Mon, May 2, 2011 19:10, Antti Harri wrote:
> On Monday 02 May 2011 14:53:55 Jasper Lievisse Adriaanse wrote:
>> Hi,
>>
>> Here's an update for openarena to the latest patch release. Any testers?
>> ;-) OK?
>
> Lightly tested on amd64.
>
> Display->brightness is not working, the screen is very dark by default.

same on my amd64

> I experience sound stuttering when aucat is on. Tried default buffer size and
> -b 2048.

Sound is OK without aucat.

> Same thing with the 0.8.1p1 though.
>
> --
> Antti Harri
>




Re: UPDATE: openarena

2011-05-02 Thread Antti Harri
On Monday 02 May 2011 14:53:55 Jasper Lievisse Adriaanse wrote:
> Hi,
>
> Here's an update for openarena to the latest patch release. Any testers?
> ;-) OK?

Lightly tested on amd64.

Display->brightness is not working, the screen is very dark by default.

I experience sound stuttering when aucat is on. Tried default buffer size and 
-b 2048.

Same thing with the 0.8.1p1 though.

-- 
Antti Harri

OpenBSD 4.9-current (GENERIC.MP) #77: Wed Apr 20 23:40:23 MDT 2011
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3747110912 (3573MB)
avail mem = 3633319936 (3465MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0450 (73 entries)
bios0: vendor Dell Inc. version "A11" date 11/30/2006
bios0: Dell Inc. OptiPlex GX620
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET
acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5) 
PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Pentium(R) D CPU 2.80GHz, 2793.48 MHz
cpu0: 
FPU,VME,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,CNXT-ID,CX16,xTPR,NXE,LONG
cpu0: 1MB 64b/line 8-way L2 cache
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) D CPU 2.80GHz, 2793.08 MHz
cpu1: 
FPU,VME,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,CNXT-ID,CX16,xTPR,NXE,LONG
cpu1: 1MB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 4 (PCI4)
acpiprt1 at acpi0: bus 2 (PCI2)
acpiprt2 at acpi0: bus 3 (PCI3)
acpiprt3 at acpi0: bus 1 (PCI1)
acpiprt4 at acpi0: bus -1 (PCI5)
acpiprt5 at acpi0: bus -1 (PCI6)
acpiprt6 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibtn0 at acpi0: VBTN
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: apic 8 int 16 (irq 
11)
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1: apic 8 int 16 (irq 11)
drm0 at inteldrm0
"Intel 82945G Video" rev 0x02 at pci0 dev 2 function 1 not configured
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 8 int 16 
(irq 11)
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1 (0x4001): 
apic 8 int 16 (irq 11), address 00:13:72:d8:c9:e3
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 8 int 17 
(irq 10)
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 8 int 21 
(irq 9)
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 8 int 22 
(irq 5)
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 8 int 18 
(irq 3)
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 8 int 23 
(irq 10)
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 8 int 21 
(irq 9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci4 at ppb3 bus 4
auich0 at pci0 dev 30 function 2 "Intel 82801GB AC97" rev 0x01: apic 8 int 23 
(irq 10), ICH7 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 8 int 20 (irq 5) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: SMI
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x51: 512MB DDR2 SDRAM non-parity P

Re: UPDATE: openarena

2011-05-02 Thread LEVAI Daniel
On Mon, May 02, 2011 at 13:53:55 +0200, Jasper Lievisse Adriaanse wrote:
> Hi,
> 
> Here's an update for openarena to the latest patch release. Any testers? ;-)
> OK?

I've sent a similar diff to ports@ in December, last year :)
It works.


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



UPDATE: openarena

2011-05-02 Thread Jasper Lievisse Adriaanse
Hi,

Here's an update for openarena to the latest patch release. Any testers? ;-)
OK?

-- 
Cheers,
Jasper

"Capable, generous men do not create victims, they nurture them."

Index: Makefile
===
RCS file: /cvs/ports/games/openarena/Makefile,v
retrieving revision 1.10
diff -p -u -r1.10 Makefile
--- Makefile22 Nov 2010 10:16:08 -  1.10
+++ Makefile2 May 2011 11:39:42 -
@@ -10,24 +10,23 @@ MULTI_PACKAGES =-main -server -data
 
 CATEGORIES =   games x11
 
-V =0.8.1
+V =0.8.5
+E_V =  0.8.1   # engine version
 
+PKGNAME =  openarena-${V}
 PKGNAME-main = openarena-${V}
-REVISION-main =1
 PKGNAME-server =   openarena-server-${V}
-REVISION-server =  0
 PKGNAME-data = openarena-data-${V}
-REVISION-data =1
 
 PKG_ARCH-data =amd64,i386,macppc
 
 DISTNAME = oa${V:S/.//g}
-DISTFILES =${DISTNAME}.zip openarena-engine-${V}-1.tar.bz2
+DISTFILES =${DISTNAME}.zip openarena-engine-${E_V}-1.tar.bz2
 
 MS_PREFIX =http://download.tuxfamily.org/openarena/rel/
 HOMEPAGE = http://www.openarena.ws/
 MASTER_SITES = ${MS_PREFIX}/${V:S/.//g}/ \
-   ${MS_PREFIX}/${V:S/.//g}/source/ \
+   ${MS_PREFIX}/${E_V:S/.//g}/source/ \
http://openbsd.fi/distfiles/
 
 # GPLv2 but contains software with other (free) licenses as well
@@ -52,7 +51,7 @@ MAKE_FLAGS =  USE_OPENAL=0 \
BINEXT='' \
DEFAULT_BASEDIR=${LOCALBASE}/share/openarena
 
-WRKDIST =  ${WRKDIR}/openarena-engine-${V}
+WRKDIST =  ${WRKDIR}/openarena-engine-${E_V}
 
 post-extract:
find ${WRKDIR} -name '*.orig' -print0 | xargs -0r rm -f
@@ -67,12 +66,14 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/openarena/missionpack
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/openarena
${INSTALL_DATA} \
-   ${WRKDIR}/openarena-$V/README \
-   ${WRKDIR}/openarena-$V/COPYING \
-   ${WRKDIR}/openarena-$V/CHANGES \
+   ${WRKDIR}/openarena-${E_V}/README \
+   ${WRKDIR}/openarena-${E_V}/COPYING \
+   ${WRKDIR}/openarena-${E_V}/CHANGES \
${PREFIX}/share/doc/openarena/
-   ${INSTALL_DATA} ${WRKDIR}/openarena-$V/baseoa/* 
${PREFIX}/share/openarena/baseoa/
-   ${INSTALL_DATA} ${WRKDIR}/openarena-$V/missionpack/* 
${PREFIX}/share/openarena/missionpack/
+   ${INSTALL_DATA} ${WRKDIR}/openarena-${E_V}/baseoa/* \
+   ${PREFIX}/share/openarena/baseoa/
+   ${INSTALL_DATA} ${WRKDIR}/openarena-${E_V}/missionpack/* \
+   ${PREFIX}/share/openarena/missionpack/
 
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/games/openarena/distinfo,v
retrieving revision 1.2
diff -p -u -r1.2 distinfo
--- distinfo5 Nov 2008 21:25:28 -   1.2
+++ distinfo2 May 2011 11:39:42 -
@@ -1,10 +1,10 @@
-MD5 (oa081.zip) = SQBrywK06Oo9BnSej05Ihw==
+MD5 (oa085.zip) = NrxQRfKfzfOBENoPD1kpkw==
 MD5 (openarena-engine-0.8.1-1.tar.bz2) = TuaW6sxLA1D527VYjc10og==
-RMD160 (oa081.zip) = kAnq9YGtC/GSlkGNoaFuLUPa7BY=
+RMD160 (oa085.zip) = SH1bw959W+u4LB5/rvW4r9F9QfQ=
 RMD160 (openarena-engine-0.8.1-1.tar.bz2) = Ej6fcGIf2FY4XGynrQWAuBRU1oc=
-SHA1 (oa081.zip) = Umw55R0LUxd7Ar1JC/gw9iLzWtU=
+SHA1 (oa085.zip) = NOn0OMPBjXmMELKwZprU04qKTtY=
 SHA1 (openarena-engine-0.8.1-1.tar.bz2) = beNFwL69h+FAbLBxiVN9uZpCKAg=
-SHA256 (oa081.zip) = yWKC3ovCrFeB31jGrbzkJlN242GQr1DXUo9R3HObbX0=
+SHA256 (oa085.zip) = +NSSnwa9+LI8k098FFPzsxBuhRaS/eQHlUXmfFiOnEg=
 SHA256 (openarena-engine-0.8.1-1.tar.bz2) = 
QwuptpHICFuUbgBPDMiQmVx/gpVJi9jIznRCk6hydNI=
-SIZE (oa081.zip) = 318927645
+SIZE (oa085.zip) = 356536552
 SIZE (openarena-engine-0.8.1-1.tar.bz2) = 2951703
Index: pkg/PLIST-data
===
RCS file: /cvs/ports/games/openarena/pkg/PLIST-data,v
retrieving revision 1.2
diff -p -u -r1.2 PLIST-data
--- pkg/PLIST-data  5 Nov 2008 21:25:28 -   1.2
+++ pkg/PLIST-data  2 May 2011 11:39:42 -
@@ -8,5 +8,6 @@ share/openarena/baseoa/pak2-players.pk3
 share/openarena/baseoa/pak4-textures.pk3
 share/openarena/baseoa/pak5-TA.pk3
 share/openarena/baseoa/pak6-misc.pk3
+share/openarena/baseoa/pak6-patch085.pk3
 share/openarena/missionpack/
 share/openarena/missionpack/mp-pak0.pk3



UPDATE: openarena to 0.8.5

2010-11-14 Thread LEVAI Daniel
Hi!


Here is a diff which updates openarena to 0.8.5. The engine is still
0.8.1, but the data files are 0.8.5.
Tested on i386.

BTW, I've also tested jakemsr@'s openal enabler diff [1], but openal
seems to suck on my machine; the sound just stutters with it.


Daniel



[1] - http://marc.info/?l=openbsd-ports&m=128287006602735&w=2

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F
Index: Makefile
===
RCS file: /cvs/ports/games/openarena/Makefile,v
retrieving revision 1.8
diff -p -u -r1.8 Makefile
--- Makefile8 Nov 2010 15:54:54 -   1.8
+++ Makefile14 Nov 2010 13:56:33 -
@@ -10,24 +10,25 @@ MULTI_PACKAGES =-main -server -data
 
 CATEGORIES =   games x11
 
-V =0.8.1
+V-engine = 0.8.1
+V =0.8.5
 
 PKGNAME-main = openarena-${V}
-REVISION-main =1
+REVISION-main =2
 PKGNAME-server =   openarena-server-${V}
-REVISION-server =  0
+REVISION-server =  1
 PKGNAME-data = openarena-data-${V}
-REVISION-data =1
+REVISION-data =2
 
 PKG_ARCH-data =amd64,i386,macppc
 
 DISTNAME = oa${V:S/.//g}
-DISTFILES =${DISTNAME}.zip openarena-engine-${V}-1.tar.bz2
+DISTFILES =${DISTNAME}.zip openarena-engine-${V-engine}-1.tar.bz2
 
 MS_PREFIX =http://download.tuxfamily.org/openarena/rel/
 HOMEPAGE = http://www.openarena.ws/
 MASTER_SITES = ${MS_PREFIX}/${V:S/.//g}/ \
-   ${MS_PREFIX}/${V:S/.//g}/source/ \
+   ${MS_PREFIX}/${V-engine:S/.//g}/source/ \
http://openbsd.fi/distfiles/
 
 # GPLv2 but contains software with other (free) licenses as well
@@ -52,7 +53,7 @@ MAKE_FLAGS =  USE_OPENAL=0 \
BINEXT='' \
DEFAULT_BASEDIR=${LOCALBASE}/share/openarena
 
-WRKDIST =  ${WRKDIR}/openarena-engine-${V}
+WRKDIST =  ${WRKDIR}/openarena-engine-${V-engine}
 
 post-extract:
find ${WRKDIR} -name '*.orig' -print0 | xargs -0r rm -f
@@ -67,12 +68,12 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/openarena/missionpack
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/openarena
${INSTALL_DATA} \
-   ${WRKDIR}/openarena-$V/README \
-   ${WRKDIR}/openarena-$V/COPYING \
-   ${WRKDIR}/openarena-$V/CHANGES \
+   ${WRKDIR}/openarena-${V-engine}/README \
+   ${WRKDIR}/openarena-${V-engine}/COPYING \
+   ${WRKDIR}/openarena-${V-engine}/CHANGES \
${PREFIX}/share/doc/openarena/
-   ${INSTALL_DATA} ${WRKDIR}/openarena-$V/baseoa/* 
${PREFIX}/share/openarena/baseoa/
-   ${INSTALL_DATA} ${WRKDIR}/openarena-$V/missionpack/* 
${PREFIX}/share/openarena/missionpack/
+   ${INSTALL_DATA} ${WRKDIR}/openarena-${V-engine}/baseoa/* 
${PREFIX}/share/openarena/baseoa/
+   ${INSTALL_DATA} ${WRKDIR}/openarena-${V-engine}/missionpack/* 
${PREFIX}/share/openarena/missionpack/
 
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/games/openarena/distinfo,v
retrieving revision 1.2
diff -p -u -r1.2 distinfo
--- distinfo5 Nov 2008 21:25:28 -   1.2
+++ distinfo14 Nov 2010 13:56:33 -
@@ -1,10 +1,10 @@
-MD5 (oa081.zip) = SQBrywK06Oo9BnSej05Ihw==
+MD5 (oa085.zip) = NrxQRfKfzfOBENoPD1kpkw==
 MD5 (openarena-engine-0.8.1-1.tar.bz2) = TuaW6sxLA1D527VYjc10og==
-RMD160 (oa081.zip) = kAnq9YGtC/GSlkGNoaFuLUPa7BY=
+RMD160 (oa085.zip) = SH1bw959W+u4LB5/rvW4r9F9QfQ=
 RMD160 (openarena-engine-0.8.1-1.tar.bz2) = Ej6fcGIf2FY4XGynrQWAuBRU1oc=
-SHA1 (oa081.zip) = Umw55R0LUxd7Ar1JC/gw9iLzWtU=
+SHA1 (oa085.zip) = NOn0OMPBjXmMELKwZprU04qKTtY=
 SHA1 (openarena-engine-0.8.1-1.tar.bz2) = beNFwL69h+FAbLBxiVN9uZpCKAg=
-SHA256 (oa081.zip) = yWKC3ovCrFeB31jGrbzkJlN242GQr1DXUo9R3HObbX0=
+SHA256 (oa085.zip) = +NSSnwa9+LI8k098FFPzsxBuhRaS/eQHlUXmfFiOnEg=
 SHA256 (openarena-engine-0.8.1-1.tar.bz2) = 
QwuptpHICFuUbgBPDMiQmVx/gpVJi9jIznRCk6hydNI=
-SIZE (oa081.zip) = 318927645
+SIZE (oa085.zip) = 356536552
 SIZE (openarena-engine-0.8.1-1.tar.bz2) = 2951703
Index: pkg/PLIST-data
===
RCS file: /cvs/ports/games/openarena/pkg/PLIST-data,v
retrieving revision 1.2
diff -p -u -r1.2 PLIST-data
--- pkg/PLIST-data  5 Nov 2008 21:25:28 -   1.2
+++ pkg/PLIST-data  14 Nov 2010 13:56:33 -
@@ -8,5 +8,6 @@ share/openarena/baseoa/pak2-players.pk3
 share/openarena/baseoa/pak4-textures.pk3
 share/openarena/baseoa/pak5-TA.pk3
 share/openarena/baseoa/pak6-misc.pk3
+share/openarena/baseoa/pak6-patch085.pk3
 share/openarena/missionpack/
 share/openarena/missionpack/mp-pak0.pk3