Gå til innhold

Sliter med lagg i Quake4


Anbefalte innlegg

Hei.

 

Klikk for å se/fjerne innholdet nedenfor
Kjører Ubuntu 6.10 og har nettopp handlet Q4 fra tuxgamers. Får derimot ikke til å innstallere spillet. Går til stedet hvor cdromen er mounta og skriver source ./setup

 

Det som da skjer når jeg får opp ett vindu hvor jeg trykker install ruller denne feilmeldinga ut på skjermen:

 

Initialising files

Extracting archive from CD

Uncompressing archive

If you do not see a popup window, then please simply

untar the files in the install directory and read the

appropriate README files

util/functions.sh: 3: function: not found

util/functions.sh: 19: cannot create : Directory nonexistent

 

Er det noe jeg kan gjøre for å fikse dette eller er det mangler på cd'en?

 

Nytt problem. Lagger som juling. Kan det være ATI driverne som rett og slett er for dårlige?

Endret av NevroMance
Lenke til kommentar
Videoannonse
Annonse

Her er hvertfal innholdet av fila functions.sh

 

Klikk for å se/fjerne innholdet nedenfor
#!/bin/sh -

 

function dialogOK

{

echo OKDIALOG:$1 >> $LOG

 

suffix=_DIALOG

 

filename=$LOG$suffix

 

while [ ! -f $filename ]

do

sleep 1

done

 

returnval=`cat $filename`

 

rm -f $filename

}

 

function dialogOKCancel

{

echo OKCDIALOG:$1 >> $LOG

 

suffix=_DIALOG

 

filename=$LOG$suffix

 

while [ ! -f $filename ]

do

sleep 1

done

 

returnval=`cat $filename`

 

rm -f $filename

}

 

function check_version

{

version=""

 

if [ "x$1" = "x" ]

then

version=error

else

if [ "x$2" = "x" ]

then

version=lower

fi

fi

 

if [ "x$version" = "x" ]

then

 

loop=1

 

while [ "x$version" = "x" ]

do

 

need=`echo $1 | tr '.' '\012' | head -$loop | tail -1`

have=`echo $2 | tr '.' '\012' | head -$loop | tail -1`

 

if [ `echo $1 | tr '.' '\012' | wc -l` -lt $loop ]

then

need=""

fi

if [ `echo $2 | tr '.' '\012' | wc -l` -lt $loop ]

then

have=""

fi

 

if [ "x$need" = "x" ]

then

if [ "x$have" = "x" ]

then

version=equal

else

version=higher

fi

else

if [ "x$have" = "x" ]

then

version=lower

else

if [ "$have" -lt "$need" ]

then

version=lower

else

if [ "$have" -gt "$need" ]

then

version=higher

fi

fi

fi

fi

 

loop=`expr $loop + 1`

 

done

 

fi

}

Lenke til kommentar

vet ikke om det hjelper deg, men tok en kjapp googling og fant dette:

 

Before you copy the needed files from the retail CDs prior to running the installer, create the directories needed for Quake 4 by executing the following command as root:

 

mkdir -p /usr/local/games/quake4/q4base

 

Each of the four CDs contains a directory named /Setup/Data/q4base. You'll need to insert each of the four CDs and -- as root -- copy the needed files to your hard drive. Depending on what the mount point is for your CD -- /cdrom works on mine -- the following command should do it.

 

cp /cdrom/Setup/Data/q4base/*.pk4 /usr/local/games/quake4/q4base

 

After you've copied all the files, copy the installer to /usr/local/games/quake4. Then, still as root, change to that directory and enter:

 

sh quake4-linux-1.0.2147.12.x86.run

Lenke til kommentar

Vel, som sagt fikk jeg installert det, men å kjøre det ble noe annet. Skriver quake4 i terminalen og får denne meldinga tilbake:

 

Klikk for å se/fjerne innholdet nedenfor
Quake4 Final V1.0.0.0 Build 2147.12 linux-x86 Oct 20 2005

found interface lo - loopback

found interface eth1 - 192.168.1.101/255.255.255.0

CPU: Intel CPU with MMX & SSE & SSE2 & SSE3

enabled Flush-To-Zero mode

--------- Initializing File System ----------

Loaded pk4 /usr/local/games/quake4/q4base/game000.pk4 with checksum 0x9321cee4

Loaded pk4 /usr/local/games/quake4/q4base/game100.pk4 with checksum 0x6f346a2

Current search path:

/home/martin/.quake4/q4base

/usr/local/games/quake4/q4base

/usr/local/games/quake4/q4base/game100.pk4 (2 files)

/usr/local/games/quake4/q4base/game000.pk4 (2 files)

game DLL: 0x0 in pak: 0x0

Addon pk4s:

file system initialized.

---------------------------------------------

TODO: Sys_SetClipboardData

********************

ERROR: Couldn't load default.cfg - Check your working folder.

********************

Unknown command 'vid_restart'

--------------- BSE Shutdown ----------------

---------------------------------------------

WARNING: rvServerScanGUI::Clear() - invalid scanGUI

 

idRenderSystem::Shutdown()

Sys_Error: Couldn't load default.cfg - Check your working folder.

 

Noen som vet hva som er feil og kan hjelpe meg?

Lenke til kommentar
Skriver du en Q4-review for oss om noen dager da, eller? ;-) OpenGL for the win! \o/

8165616[/snapback]

 

Tja, er ikke akkurat den store skribenten, men kan da prøve og se:P Men er xgl egentlig for tregt for spill? aiglx bedre? (har ikke peiling på dette)

 

Lagger hvertfall noe helt sinnssykt, direkte umulig å spille det atm.

Lenke til kommentar

Har de propreitære driverne fra ATI ja. Legger med noe utskrift fra terminal pluss hele xorg.conf

 

fglrxinfo:

 

Klikk for å se/fjerne innholdet nedenfor

martin@martin-laptop:~$ fglrxinfo

display: :0.0 screen: 0

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: ATI Mobility Radeon X1600

OpenGL version string: 2.0.6334 (8.34.8)

 

glxinfo:

 

Klikk for å se/fjerne innholdet nedenfor

name of display: :0.0

display: :0 screen: 0

direct rendering: Yes

server glx vendor string: SGI

server glx version string: 1.2

server glx extensions:

GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,

GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,

GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,

GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer

client glx vendor string: ATI

client glx version string: 1.3

client glx extensions:

GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,

GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,

GLX_ATI_pixel_format_float, GLX_ATI_render_texture

GLX version: 1.2

GLX extensions:

GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,

GLX_ARB_multisample

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: ATI Mobility Radeon X1600

OpenGL version string: 2.0.6334 (8.34.8)

OpenGL extensions:

GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,

GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,

GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,

GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters,

GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,

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_ARB_texture_float, GL_ARB_texture_mirrored_repeat,

GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_blend,

GL_ARB_vertex_buffer_object, GL_ARB_pixel_buffer_object,

GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,

GL_ARB_draw_buffers, GL_ATI_draw_buffers, GL_ATI_element_array,

GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_map_object_buffer,

GL_ATI_separate_stencil, GL_ATI_shader_texture_lod,

GL_ATI_texture_compression_3dc, GL_ATI_texture_env_combine3,

GL_ATI_texture_float, GL_ATI_texture_mirror_once,

GL_ATI_vertex_array_object, GL_ATI_vertex_attrib_array_object,

GL_ATI_vertex_streams, GL_ATIX_texture_env_combine3,

GL_ATIX_texture_env_route, GL_ATIX_vertex_shader_output_point_size,

GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,

GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,

GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,

GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,

GL_EXT_rescale_normal, GL_EXT_secondary_color,

GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,

GL_EXT_texgen_reflection, GL_EXT_texture3D,

GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,

GL_EXT_texture_edge_clamp, 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_vertex_array,

GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,

GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,

GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,

GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

glu version: 1.3

glu extensions:

GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

 

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav

id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat

----------------------------------------------------------------------

0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None

0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None

0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None

0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None

0x2b 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x2c 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x2d 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x2e 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x2f 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 2 1 None

0x30 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 2 1 None

0x31 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 2 1 None

0x32 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 2 1 None

0x33 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x34 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x35 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x36 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x37 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 4 1 None

0x38 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 4 1 None

0x39 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 4 1 None

0x3a 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 4 1 None

0x3b 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x3c 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x3d 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x3e 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x3f 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 6 1 None

0x40 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 6 1 None

0x41 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 6 1 None

0x42 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 6 1 None

0x43 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x44 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x45 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x46 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x47 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None

0x48 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None

0x49 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None

0x4a 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None

0x4b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x4c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x4d 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x4e 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x4f 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 2 1 None

0x50 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 2 1 None

0x51 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 2 1 None

0x52 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 2 1 None

0x53 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x54 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x55 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x56 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x57 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 4 1 None

0x58 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 4 1 None

0x59 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 4 1 None

0x5a 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 4 1 None

0x5b 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x5c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None

0x5d 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x5e 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None

0x5f 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 6 1 None

0x60 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 6 1 None

0x61 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 6 1 None

0x62 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 6 1 None

 

xorg.conf:

 

Klikk for å se/fjerne innholdet nedenfor

 

# /etc/X11/xorg.conf (xorg X Window System server configuration file)

#

# This file was generated by dexconf, the Debian X Configuration tool, using

# values from the debconf database.

#

# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.

# (Type "man /etc/X11/xorg.conf" at the shell prompt.)

#

# This file is automatically updated on xserver-xorg package upgrades *only*

# if it has not been modified since the last upgrade of the xserver-xorg

# package.

#

# If you have edited this file but would like it to be automatically updated

# again, run the following command:

# sudo dpkg-reconfigure -phigh xserver-xorg

 

Section "ServerLayout"

Identifier "Default Layout"

Screen 0 "aticonfig-Screen[0]" 0 0

InputDevice "Generic Keyboard"

InputDevice "Configured Mouse"

InputDevice "stylus" "SendCoreEvents"

InputDevice "cursor" "SendCoreEvents"

InputDevice "eraser" "SendCoreEvents"

EndSection

 

Section "Files"

 

# path to defoma fonts

FontPath "/usr/share/X11/fonts/misc"

FontPath "/usr/share/X11/fonts/cyrillic"

FontPath "/usr/share/X11/fonts/100dpi/:unscaled"

FontPath "/usr/share/X11/fonts/75dpi/:unscaled"

FontPath "/usr/share/X11/fonts/Type1"

FontPath "/usr/share/X11/fonts/100dpi"

FontPath "/usr/share/X11/fonts/75dpi"

FontPath "/usr/share/fonts/X11/misc"

FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

EndSection

 

Section "Module"

Load "i2c"

Load "bitmap"

Load "ddc"

Load "dri"

Load "extmod"

Load "freetype"

Load "glx"

Load "int10"

Load "type1"

Load "vbe"

EndSection

 

Section "ServerFlags"

Option "AIGLX" "off"

EndSection

 

Section "InputDevice"

Identifier "Generic Keyboard"

Driver "kbd"

Option "CoreKeyboard"

Option "XkbRules" "xorg"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"

Option "XkbOptions" "lv3:ralt_switch"

EndSection

 

Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"

Option "CorePointer"

Option "Device" "/dev/input/mice"

Option "Protocol" "ExplorerPS/2"

Option "ZAxisMapping" "4 5"

Option "Emulate3Buttons" "true"

EndSection

 

Section "InputDevice"

 

# /dev/input/event

# for USB

Identifier "stylus"

Driver "wacom"

Option "Device" "/dev/wacom" # Change to

Option "Type" "stylus"

Option "ForceDevice" "ISDV4" # Tablet PC ONLY

EndSection

 

Section "InputDevice"

 

# /dev/input/event

# for USB

Identifier "eraser"

Driver "wacom"

Option "Device" "/dev/wacom" # Change to

Option "Type" "eraser"

Option "ForceDevice" "ISDV4" # Tablet PC ONLY

EndSection

 

Section "InputDevice"

 

# /dev/input/event

# for USB

Identifier "cursor"

Driver "wacom"

Option "Device" "/dev/wacom" # Change to

Option "Type" "cursor"

Option "ForceDevice" "ISDV4" # Tablet PC ONLY

EndSection

 

Section "Monitor"

Identifier "Generic Monitor"

HorizSync 28.0 - 51.0

VertRefresh 43.0 - 60.0

Option "DPMS"

EndSection

 

Section "Monitor"

Identifier "aticonfig-Monitor[0]"

Option "VendorName" "ATI Proprietary Driver"

Option "ModelName" "Generic Autodetecting Monitor"

Option "DPMS" "true"

EndSection

 

Section "Device"

Identifier "Generic Video Card"

Driver "vesa"

BusID "PCI:1:0:0"

EndSection

 

Section "Device"

Identifier "aticonfig-Device[0]"

Driver "fglrx"

Option "VideoOverlay" "on"

Option "OpenGLOverlay" "off"

EndSection

 

Section "Screen"

Identifier "Default Screen"

Device "Generic Video Card"

Monitor "Generic Monitor"

DefaultDepth 24

SubSection "Display"

Depth 1

Modes "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 4

Modes "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 8

Modes "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 15

Modes "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 16

Modes "1024x768" "800x600" "640x480"

EndSubSection

SubSection "Display"

Depth 24

Modes "1024x768" "800x600" "640x480"

EndSubSection

EndSection

 

Section "Screen"

Identifier "aticonfig-Screen[0]"

Device "aticonfig-Device[0]"

Monitor "aticonfig-Monitor[0]"

DefaultDepth 24

SubSection "Display"

Viewport 0 0

Depth 24

EndSubSection

EndSection

 

Section "DRI"

Mode 0666

EndSection

 

Section "Extensions"

Option "Composite" "Disable"

EndSection

 

Vet det sikkert er litt overkill å ta med alt, men bedre føre var. Håper noen kan få noe vettugt ut av det her :p

Lenke til kommentar

Har dessverre ikke erfaring med ATI, men alt ser riktig ut for meg. Har du forsøkt å skru ned grafikk innstillingene på spillet? Skru av noen effekter og muligens skru ned oppløsningen noe?

 

EDIT: Du kjører vel ikke xgl? Har sett noen få store ytelsesproblemer med kombinasjonen 6.10, fglrx og xgl. Kjør vanlig xserver. Riktignok skal xgl kunne brukes OK med 6.06 og fglrx: https://help.ubuntu.com/community/CompositeManager/Xgl

Endret av Del
Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...