On Fri, Aug 20, 2010 at 12:02:52AM -0700, Ryan Freeman wrote: > Excerpts from Ryan Freeman's message of Thu Aug 19 21:48:10 -0700 2010: > > Excerpts from Alf Schlichting's message of Thu Aug 19 00:41:27 -0700 2010: > > > On Sun, Aug 15, 2010 at 10:12:54PM -0700, Ryan Freeman wrote: > > > > Excerpts from Ryan Freeman's message of Sat May 02 02:42:32 -0700 2009: > > > > > hello ports@ > > > > > > > > > > attached is an updated port from my original 'random svn checkout' > > > > > port, thankfully they finally released a new complete version, 1.36. > > > > > > > > > > builds and runs/plays great here on i386. > > > > > > > > > bump! just thought i'd revisit this and inform that i still use this > > > > port after over a year and through all snapshots, its only become > > > > better. present day sees quake3 running smooth as silk on my t41p, > > > > next to no sound issues (aucat -l -v 103 -b 1024 -z 512) and > > > > i regularly use it to play the urban terror mod. i will reattach > > > > for convenience sake, any additional comments at this time? > > > > > > > btw, what's the purpose of patch-code_sdl_sdl_snd_c ? > > > It gives me 1-2/10 sec sound delay (or even more) that I do not have > > > when deleting this patch (I have no idea of sound stuffr;). > > > > > > > hm that was pulled in as a suggestion in the original submission > > of this port. it was from openarena, which i now see does not have > > it and has many patch changes. i'm checking through them all now and > > updating ioquake3 to use the newest patches and going to see how that > > plays out. strange thing that sdl patch was originally to help sound > > but with a stuttering issue. i'll post update when i have something > > working and improved. > > included previous conversation as I did not realise it did not make > it to the list. attached is an updated version of my ioquake3 port, > this as Mr Schlichting pointed out does not use the sdl_snd_c patch > anymore, and I decided to sync all patches with the latest for > openarena, as they do share a very similar codebase. I also opted > to include Jacob Meuser's snd_sndio.c which worked without a hitch, > this is working even smoother now esp in regards to sound. I'll be > testing it more myself, comments? > > -ryan
As stated in a private mail, upgrading to the latest snapshot on i386/MP borke ioquake3 for me (my own version as well as the old port version. ioquake3 is not able to apply its gamma correction anymore (same with 10.4 ubuntu radeon drivers as well as the binary blob ATI driver for newer cards in some cases). Game is too dark, brightness settings (r_gamma) do not work anymore. Does anyone have an idea what is causing this or have a workaround like setting those gamma values (whatever their correct name is:) beforehand? Alf some ioquake3 bla: ... GL_VENDOR: DRI R300 Project GL_RENDERER: Mesa DRI R300 (RV560 7280) 20090101 x86/MMX/SSE2 TCL GL_VERSION: 1.5 Mesa 7.8.2 GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_provoking_vertex GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_MESAX_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATI_separate_stencil GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_MAX_TEXTURE_SIZE: 4096 GL_MAX_TEXTURE_UNITS_ARB: 8 PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits) MODE: -1, 1680 x 1050 fullscreen hz:N/A GAMMA: hardware w/ 0 overbright bits rendering primitives: single glDrawElements texturemode: GL_LINEAR_MIPMAP_LINEAR picmip: 5 texture bits: 32 multitexture: enabled compiled vertex arrays: enabled texenv add: disabled compressed textures: disabled HACK: using vertex lightmap approximation Forcing glFinish Initializing Shaders ^3WARNING: Bad shader file scripts/ospdm12door.shader has incorrect syntax. ^3WARNING: Bad shader file scripts/ospdm12.shader has incorrect syntax. ----- finished R_Init ----- Loading vm file vm/ui.qvm... Architecture doesn't have a bytecode compiler, using interpreter ui loaded in 2324320 bytes on the hunk 139 arenas parsed 33 bots parsed Loading vm file vm/cgame.qvm... Architecture doesn't have a bytecode compiler, using interpreter cgame loaded in 6808224 bytes on the hunk ... dmesg: OpenBSD 4.8 (GENERIC.MP) #359: Mon Aug 16 09:16:26 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz ("GenuineIntel" 686-class) 3.01 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1 real mem = 2145873920 (2046MB) avail mem = 2100781056 (2003MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/11/07, BIOS32 rev. 0 @ 0xfb2e0, SMBIOS rev. 2.4 @ 0xf0100 (38 entries) bios0: vendor Award Software International, Inc. version "F1" date 12/11/2007 bios0: Gigabyte Technology Co., Ltd. EP35-DS3P acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP HPET MCFG APIC SSDT SSDT acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5) HUB0(S5) UAR1(S1) USB0(S1) USB1(S1) USB2(S1) USB3(S1) US31(S1) USB4(S1) USB5(S1) USBE(S1) USE2(S1) AZAL(S5) PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 333MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz ("GenuineIntel" 686-class) 3.01 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (PEX0) acpiprt2 at acpi0: bus -1 (PEX1) acpiprt3 at acpi0: bus -1 (PEX2) acpiprt4 at acpi0: bus -1 (PEX3) acpiprt5 at acpi0: bus 3 (PEX4) acpiprt6 at acpi0: bus 4 (PEX5) acpiprt7 at acpi0: bus 5 (HUB0) acpicpu0 at acpi0: FVS, 3000, 2000 MHz acpicpu1 at acpi0: FVS, 3000, 2000 MHz acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc0000/0xf800 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82G33 PCIE" rev 0x02: apic 2 int 16 (irq 10) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon X1950 Pro" rev 0x9a wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 2 int 16 (irq 10) drm0 at radeondrm0 "ATI Radeon X1950 Pro Sec" rev 0x9a at pci1 dev 0 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 2 int 16 (irq 10) uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 2 int 21 (irq 12) uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x02: apic 2 int 18 (irq 10) ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 2 int 18 (irq 10) 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 82801I HD Audio" rev 0x02: apic 2 int 22 (irq 9) azalia0: codecs: Realtek ALC885 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 2 int 16 (irq 10) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 2 int 16 (irq 10) pci3 at ppb2 bus 3 jmb0 at pci3 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x02 ahci0 at jmb0: apic 2 int 16 (irq 10), AHCI 1.0 scsibus0 at ahci0: 32 targets pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 2 int 16 (irq 10) for native-PCI interrupt atapiscsi0 at pciide0 channel 0 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <ASUS, DVD-E616A3, 1.01> ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 disabled (no drives) ppb3 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x02: apic 2 int 17 (irq 12) pci4 at ppb3 bus 4 re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800), apic 2 int 17 (irq 12), address 00:1a:4d:5f:84:be rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 2 int 23 (irq 11) uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 2 int 19 (irq 11) uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 2 int 18 (irq 10) ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 2 int 23 (irq 11) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92 pci5 at ppb4 bus 5 emu0 at pci5 dev 0 function 0 "Creative Labs SoundBlaster Live" rev 0x08: apic 2 int 20 (irq 3) ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio1 at emu0 "Creative Labs PCI Gameport Joystick" rev 0x08 at pci5 dev 0 function 1 not configured unknown vendor 0x4444 product 0x0016 (class multimedia subclass video, rev 0x01) at pci5 dev 1 function 0 not configured ichpcib0 at pci0 dev 31 function 0 "Intel 82801IR LPC" rev 0x02: PM disabled pciide1 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 2 int 19 (irq 0) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <SAMSUNG HD502IJ> wd0: 16-sector PIO, LBA48, 476938MB, 976771055 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 wd1 at pciide1 channel 1 drive 0: <ST3160815AS> wd1: 16-sector PIO, LBA48, 152626MB, 312579695 sectors wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6 ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: apic 2 int 18 (irq 10) iic0 at ichiic0 iic0: addr 0x4e 02=3a 03=3e 04=3e 12=ff 13=0f 26=03 28=83 29=12 2a=12 2b=28 words 00=0000 01=003a 02=3a3e 03=3e3e 04=3e00 05=0000 06=0000 07=0000 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5 spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-6400CL5 pciide2 at pci0 dev 31 function 5 "Intel 82801I SATA" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide2: using apic 2 int 19 (irq 11) for native-PCI interrupt atapiscsi1 at pciide2 channel 1 drive 0 scsibus2 at atapiscsi1: 2 targets cd1 at scsibus2 targ 0 lun 0: <HL-DT-ST, DVDRAM GH22NS50, TN01> ATAPI 5/cdrom removable cd1(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 5 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 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb7 at uhci5: USB revision 1.0 uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x2e/2: IT8718F rev 4, EC port 0x290 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 mtrr: Pentium Pro MTRR support uhub8 at uhub5 port 1 "Genesys Logic GL650 Hub" rev 1.10/3.04 addr 2 uhidev0 at uhub3 port 2 configuration 1 interface 0 "Logitech USB Gaming Mouse" rev 2.00/49.00 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 16 buttons, Z dir wsmouse0 at ums0 mux 0 uhidev1 at uhub3 port 2 configuration 1 interface 1 "Logitech USB Gaming Mouse" rev 2.00/49.00 addr 2 uhidev1: iclass 3/0, 17 report ids uhid0 at uhidev1 reportid 16: input=6, output=6, feature=0 uhid1 at uhidev1 reportid 17: input=19, output=19, feature=0 uhidev2 at uhub8 port 4 configuration 1 interface 0 "Razer Razer Tarantula Keyboard" rev 1.10/21.00 addr 3 uhidev2: iclass 3/1 ukbd0 at uhidev2: 8 modifier keys, 6 key codes wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev3 at uhub8 port 4 configuration 1 interface 1 "Razer Razer Tarantula Keyboard" rev 1.10/21.00 addr 3 uhidev3: iclass 3/0, 2 report ids uhid2 at uhidev3 reportid 1: input=2, output=0, feature=0 uhid3 at uhidev3 reportid 2: input=1, output=0, feature=0 softraid0 at root root on wd0a swap on wd0b dump on wd0b