Entrar
¿Usuario nuevo? Regístrate
allegro-espanol · Una lista en español sobre la librería Allegro.
? ¿Ya estás suscrito? Entrar en Yahoo!

Consejos de Yahoo! Grupos

¿Sabías que...?
Puedes determinar el orden de los mensajes. Pulsa el enlace en la columna correspondiente a la fecha. Tus preferencias serán guardadas y no tendrás que introducirlas de nuevo.

Mensajes

  Mensajes Ayuda
Avanzado
Error de desempeño??   Lista de mensajes  
Responder | Reenviar Mensaje #650 de 9896 |
Hola a todos

Me escribió un amigo que tiene unos problemas raros
con Allegro, dice que tiene mejor desempeño en Windows
que en Linux (todos sabemos que devería ser al revéz)
y cree que pueda ser por un error de configuración en
linux, pero no ha podido arreglar el problema, así es
que aquí se los mando a todos los Gurús que hay por
aquí a ver si alguien tendrá alguna idea de qué podrá
ser.

aquí están lagunos datos:

** Msg **

te platicaba acerca de las diferencias de desempeño en
la ejecucion de los juegos entre Linux y Windows, te
decia que el Linux los juegos se ejecutan mucho mas
lento que en windows98, tu me mencionaste que te
enviara mas informacion para poder ayudarme, aqui te
envio la informacion....

hardware:

procesador AMD Duron 850 Mhz
ram 512 mb
tarjeta de video MSI GForce 2 MX400 64 mb
tarjeta de sonido SoundBlaster Live exgame 32 bits
etc...

Los sistemas operativos los tengo instalados en la
misma maquina en dos discos separados con booteo dual.

Configuracion de la maquina:

Windows
--------------------------------
S.O. Windows 98 se
API Allegro 4.0.0
compilador gcc
(aqui la ejecucion es mas rapida)

Linux
--------------------------------
S.O. Linux RedHat 7.0 (instalado tal
cual)
kernel 2.2.16
compilador gcc
API Allegro 4.0.0

Allegro trae un archivo de configuracion (el cual te
anexo), en este configure lo mas basico y que pude
entender ya que en el dice que autodetecta la
configuracion del hardware, pero tal vez este sea el
causante de que en Linux la ejecucion sea mas lenta.

Me insteresa configurar bien el entorno en Linux ya
que por el momento quiero desarrollar todo aqui....

** End of Msg **

¿cómo ven?... esta raro ¿no?, ¿alguien tiene alguna
idea de qué pueda ser?


saludos

jakovo

--
Grupo de Desarrolladores de Video Juegos
----------------------------------------
http://linux.cem.itesm.mx/vjuegos
vjuegos@...
----------------------------------------

_________________________________________________________
Do You Yahoo!?
Encuentra el coche de tus sueños en Yahoo! Autos http://autos.yahoo.com.mx

Lun, 11 de Feb, 2002 2:03 am

jakovito_punk
Sin conexión Sin conexión
Enviar mensaje Enviar mensaje

------------8<----------------------------8<-----------------------------
#
# Configuration file for the Allegro library.
#
# If you leave a parameter blank, Allegro will autodetect (ie. guess :-)
#
# This file should be kept either in the same directory as your program,
# or in a location pointed to by the "ALLEGRO" environment variable.
#
# On Unix, this file may also be stored as ~/.allegrorc or /etc/allegrorc.




[system]

# Unix system drivers:
#
# XWIN - XWindows
# LNXC - Linux console

system = XWIN



# Keyboard mapping file (this can be a .cfg file on disk, or an object from
# keyboard.dat). Currently available layouts are:
#
# BE - Belgium
# BR - Brazil
# CH - Switzerland
# CZ - Czech Republic
# DE - Germany
# DK - Denmark
# DVORAK - Dvorak
# ES - Spain
# FI - Finland
# FR - France
# IT - Italy
# NO - Norway
# PL - Poland
# PT - Portugal
# RU - Russia
# SE - Sweden
# SK - Slovakia
# UK - United Kingdom
# US - United States

keyboard = US



# Language translation file (this can be a .cfg file on disk, or an
# object from language.dat). Currently available translations are:
#
# CZ - Czech
# DE - German
# DK - Danish
# EN - English
# ES - Spanish
# FI - Finnish
# FR - French
# IT - Italian
# NO - Norwegian
# PL - Polish
# PT - Portuguese
# RU - Russian
# SE - Swedish
# SK - Slovak

language = ES



# how long to take for menus to auto-open (time in msecs or -1 to disable)
menu_opening_delay =




[graphics]

# DOS graphics drivers:
#
# VGA - Standard VGA
# MODX - Mode-X
# VBE1 - VESA 1.x
# VB2B - VBE 2.0 (banked)
# VB2L - VBE 2.0 (linear)
# VBE3 - VBE 3.0
# VBAF - VBE/AF
# XTND - Xtended mode
#
# Windows graphics drivers:
#
# DXAC - DirectX with hardware acceleration
# DXSO - DirectX without hardware acceleration
# DXSA - DirectX in safe-mode, with all the fancy features disabled
# DXWN - DirectX in windowed mode
# DXOV - DirectX overlay (fast windowed mode, only works on some cards)
# GDIB - GDI mode (slow windowed mode, works on all cards)
#
# Linux console graphics drivers:
#
# FB - fbcon device
# VBAF - VBE/AF
# SVGA - SVGAlib
# VGA - Standard VGA
# MODX - Mode-X
#
# X graphics drivers:
#
# XWIN - standard X Windows
# XWFS - Fullscreen X Windows
# XDGA - XFree86 Direct Graphics Access 1.0 (DGA)
# XDFS - Fullscreen DGA 1.0 mode
# DGA2 - DGA 2.0 mode
# DGAS - DGA 2.0 software only mode
#
# BeOS graphics drivers:
#
# BFS - Fullscreen (BWindowScreen, hardware acceleration)
# BFSS - Fullscreen safe (BWindowScreen, software only)
# BWN - Windowed (BDirectWindow)
#
# QNX graphics drivers:
#
# QPHD - Photon direct (Fullscreen)
# QPH - Photon
#
# You can also specify different drivers for a particular mode or color
# depth, eg. "gfx_card_640x480x16 = VBE3", "gfx_card_24bpp = VBE1", or
# you can provide a number of alternative drivers, for example
# "gfx_card1 = VGA", "gfx_card2 = MODX", etc.

gfx_card1 = XWIN
gfx_card2 = XDGA



# driver to use when autodetecting windowed modes
gfx_cardw =



# DOS and Linux: where to look for the VBE/AF driver
vbeaf_driver =



# Linux only: fbcon device file (see below for fbcon timing data)
framebuffer =




# Linux/fbcon mode timings. Duplicate then fill in `X', `Y' and
# the timings themselves. You can copy them from fb.modes directly -- the
# first two figures on the geometry line are X and Y here, and the figures
# on the timings line are the first fields here (up to `vsync_len')

[fb_mode_XxY]
pixclock =
left_margin =
right_margin =
upper_margin =
lower_margin =
hsync_len =
vsync_len =
vmode =
sync =




[mouse]

# DOS mouse drivers:
#
# MICK - mickey mode driver (normally the best)
# I33 - int 0x33 callback driver
# POLL - timer polling
# WNT - Windows NT 3.5x/4.0 specific driver
# W2K - Windows 2000 specific driver
#
# Linux console mouse drivers:
#
# LPS2 - PS2 mouse
# LIPS - PS2 mouse with Intellimouse extension
# MS - Microsoft serial mouse
# IMS - Microsoft serial mouse with Intellimouse extension
# GPMD - GPM repeater data (Mouse Systems protocol)

mouse = LPS2



# number of buttons (specifying this overrides autodetection)
num_buttons = 3



# whether to emulate the third mouse button (yes or no)
emulate_three = no



# Linux only: name of the mouse device file (eg. /dev/mouse)
mouse_device = /dev/mouse



# Windows only: mouse acceleration factor (1 by default, 0 to disable)
mouse_accel_factor =




[sound]

# DOS digital sound drivers:
#
# 0 - none
# SB - Sound Blaster (autodetect breed)
# SB10 - Sound Blaster 1.0
# SB15 - Sound Blaster 1.5
# SB20 - Sound Blaster 2.0
# SBP - Sound Blaster Pro
# SB16 - Sound Blaster 16
# ESS - ESS AudioDrive
# ESC - Ensoniq Soundscape
# WSS - Windows Sound System
#
# Windows digital sound drivers:
#
# 0 - none
# DXA - first DirectSound device
# DXB - second DirectSound device
# ... - etc
# AXA - first DirectSound device using Allegro mixer
# AXB - second DirectSound device using Allegro mixer
# ... - etc
# WOA - high quality WaveOut device
# WOB - low quality WaveOut device
#
# Unix digital sound drivers:
#
# 0 - none
# OSSD - Open Sound System
# ESDD - Enlightened Sound Daemon
# ALSA - ALSA Sound System
#
# BeOS digital sound drivers:
#
# 0 - none
# BDIG - BeOS digital sound system
#

digi_card = ESDD



# DOS music drivers:
#
# 0 - none
# OPL - Adlib (autodetect OPL version)
# OPL2 - OPL2 FM synth
# OPLX - Dual OPL2 (SB Pro-1)
# OPL3 - OPL3 FM synth
# SB - raw SB MIDI interface
# MPU - MPU-401 MIDI interface
# DIGI - DIGMID software wavetable
# AWE - AWE32
#
# Windows music drivers:
#
# 0 - none
# W32M - win32 MIDI mapper
# W32A - first win32 MIDI device
# W32B - second win32 MIDI device
# ... - etc
# DIGI - DIGMID software wavetable
#
# Linux music drivers:
#
# 0 - none
# OSSM - Open Sound System
# DIGI - DIGMID software wavetable
# AMID - ALSA Sound System
#
# BeOS music drivers:
#
# 0 - none
# BMID - BeOS MIDI synthetizer
# DIGI - DIGMID software wavetable
#

midi_card = AMID



# sound input drivers (same format as above, can usually be left blank)
digi_input_card =
midi_input_card =



# how many voices to reserve for each driver
digi_voices =
midi_voices =



# how loud? (range 0-255)
digi_volume =
midi_volume =



# sample mixing quality (0=fastest, 1=full 16 bit precision, 2=interpolation)
quality =



# toggling this between 0 and 1 reverses the left/right panning of samples
flip_pan =



# DOS, Unix and BeOS: sample output frequency (eg. 44100)
sound_freq =



# Unix and BeOS: preferred number of bits (8 or 16)
sound_bits =



# Unix and BeOS: stereo output (1 or 0)
sound_stereo =



# DOS only: soundcard port address (usually 220)
sound_port =



# DOS only: soundcard DMA channel (usually 1)
sound_dma =



# DOS only: soundcard IRQ number (usually 7)
sound_irq =



# DOS only: FM synth port address (usually 388)
fm_port =



# DOS only: MPU-401 port address (usually 330)
mpu_port =



# DOS only: MPU-401 IRQ number (usually the same as sound_irq)
mpu_irq =



# DOS only: instrument definitions for the Adlib driver
ibk_file =
ibk_drum_file =



# Unix only: OSS device driver name (usually /dev/dsp or /dev/audio)
oss_driver =



# Unix only: number of OSS driver fragments (buffers) and size of each buffer
oss_numfrags =
oss_fragsize =



# Unix only: OSS MIDI device name (usually /dev/sequencer)
oss_midi_driver =



# Unix only: OSS mixer device name (usually /dev/mixer)
oss_mixer_driver =



# Unix only: name of the Enlightened Sound Daemon server
esd_server =



# Unix only: card number and PCM device for the ALSA driver
alsa_card =
alsa_pcmdevice =



# Unix only: size of ALSA driver fragments (buffers)
alsa_numfrags =



# BeOS only: MIDI synthetizer instruments quality (0=low, 1=high)
be_midi_quality =



# BeOS only: MIDI sample mixing frequency in Hz (11025, 22050 or 44100)
be_midi_freq =



# BeOS only: MIDI interpolation (0=none, 1=fast linear, 2=linear)
be_midi_interpolation =



# BeOS only: MIDI reverberation intensity (0 to 5)
be_midi_reverb =



# patch set for the DIGMID software wavetable driver
patches =




[joystick]

# DOS joystick drivers :
#
# STD - standard 2-button
# 2PAD - dual standard 2-button
# 4BUT - standard 4-button
# 6BUT - standard 6-button
# 8BUT - standard 8-button
# FPRO - CH Flightstick Pro
# WING - Logitech Wingman Extreme
# SW - Microsoft Sidewinder digital pad
# SWAG - Microsoft Sidewinder digital pad (aggressive)
# GPRO - Gravis GamePad Pro
# GRIP - Gravis GrIP
# GRI4 - Gravis GrIP (4-axis only)
# SNE1 - SNES joypads connected to LPT1
# SNE2 - SNES joypads connected to LPT2
# SNE3 - SNES joypads connected to LPT3
# PSX1 - PSX joypads connected to LPT1
# PSX2 - PSX joypads connected to LPT2
# PSX3 - PSX joypads connected to LPT3
# N641 - N64 joypads connected to LPT1
# N642 - N64 joypads connected to LPT2
# N643 - N64 joypads connected to LPT3
# DB91 - Pair of 2-button joysticks connected to LPT1
# DB92 - Pair of 2-button joysticks connected to LPT2
# DB93 - Pair of 2-button joysticks connected to LPT3
# TGX1 - TurboGraFX joysticks connected to LPT1
# TGX2 - TurboGraFX joysticks connected to LPT2
# TGX3 - TurboGraFX joysticks connected to LPT3
# SEGI - IF-SEGA joystick interface card (ISA bus)
# SEGP - IF-SEGA joystick interface card (PCI bus)
# SGPF - IF-SEGA joystick interface card (fast PCI bus)
# WWAR - Wingman Warrior

joytype =



# BeOS only: joystick device port name (as reported on system joystick prefs)
joystick_device =



# Linux only: which axis number the throttle is located at
throttle_axis =

# alternatively you can specify it for each joystick:
#
# throttle_axis_0 =
# throttle_axis_1 =
# ...




[grabber]

# stored grabber variables (editor state information)
xgrid = 16
ygrid = 16
backups = n
dither = n
transparency = n
griddle_xgrid =
griddle_ygrid =
griddle_mode =
griddle_empties =
griddle_autocrop =
griddle_type =
griddle_depth =



# edit these shell commands to whatever helper programs you want to use...
#data = start /w notepad
#bmp = start /w "c:\program files\accessories\mspaint.exe"
#rle = start /w "c:\program files\accessories\mspaint.exe"
#cmp = start /w "c:\program files\accessories\mspaint.exe"
#xcmp = start /w "c:\program files\accessories\mspaint.exe"
#pal = start /w "c:\program files\accessories\mspaint.exe"
#font = start /w "c:\program files\accessories\mspaint.exe"
#samp = start /w "c:\program files\cooledit\cool.exe"
#midi = start /w "c:\program files\cakewalk\wincake.exe"

# or if you are using Linux you might prefer something more like:
#
data = xterm -e fed -b
bmp = gimp
rle = gimp
cmp = gimp
xcmp = gimp
pal = gimp
font = gimp

------------------8<-------------------------------------8<-------------


Reenviar Mensaje #650 de 9896 |
Desplegar mensajes Autor Ordenar por fecha

Hola a todos Me escribió un amigo que tiene unos problemas raros con Allegro, dice que tiene mejor desempeño en Windows que en Linux (todos sabemos que...
jakovo
jakovito_punk
Sin conexión Enviar mensaje
11 de Feb, 2002
2:03 am

BUENOS DIAS!!! Y entonces, va jakovo y dice ¿[AL-ES] Error de desempeño??? ... A mi las cosas siempre me han ido un pelin ( un programa que normalmente me da...
Alvaro Alea
aleasoft
Sin conexión Enviar mensaje
12 de Feb, 2002
11:43 pm
Avanzado

Copyright © 2009 Yahoo! Todos los derechos reservados.
Política de Privacidad Actualizada - Condiciones del servicio - Directrices - Ayuda