Автор Тема: X resolution problem 2  (Прочетена 1909 пъти)

the_real_maniac

  • Напреднали
  • *****
  • Публикации: 1258
  • Kernel panic, me - no panic ;-) :-)
    • Профил
X resolution problem 2
« -: Oct 02, 2004, 12:52 »
За втори път по този проблем ще пиша.

Пускам някоя OpenGL игра и монитора се превключва на откачена резолюция на още по откачена честота на опресняване , мислех , че съм оправил проблема , но уви не.

Loki Software -> Linux version of games: RUNE , SOF

ето какво става пускам играта пише , че превключва на 640х480,но дефакто превключва на 1280х960@60.2kHz/60Hz.

долагам лог-а , който направих и Xconfig-a.

Цитат

Loading: Package Engine
Loading: Package Core
Unreal engine initialized
Bound to SDLDrv.so
Joystick
  • : Unknown Joystick
SDLClient initialized.
Bound to Render.so
Lighting subsystem initialized
Rendering initialized
LoadMap: Entry
Loading: Package Entry
Loading: Package Sky
Bound to RuneI.so
Loading: Package RuneI
Loading: Package CreaturesSnd
Loading: Package Players
Loading: Package creatures
Loading: Package WeaponsSnd
Loading: Package RuneFX
Bound to Fire.so
Loading: Package Fire
Loading: Package FootstepsSnd
Loading: Package objects
Loading: Package weapons
Loading: Package plants
Loading: Package OtherSnd
Loading: Package Statues
Loading: Package RuneFX2
Loading: Package EnvironmentalSnd
Loading: Package MurmurSnd
Loading: Package DoorsSnd
Loading: Package BloodFX
Loading: Package MusicalSnd
Game class is 'RuneSinglePlayer'
Level is Level Entry.MyLevel
Bringing Level Entry.MyLevel up for play (0)...
InitGame:
Base Mutator is Entry.Mutator0
Browse: intro.run?Name=Ragnar?Class=Runei.Ragnar?team=0?skin=0
LoadMap: intro.run?Name=Ragnar?Class=Runei.Ragnar?team=0?skin=0
Loading: Package intro
Loading: Package RUNESTONES
Loading: Package Organic
Loading: Package SongSnd
Collecting garbage
Purging garbage
Garbage: objects: 14031->14031; refs: 187237
Game class is 'RuneSinglePlayer'
Level is Level intro.MyLevel
Bringing Level intro.MyLevel up for play (0)...
InitGame: ?Name=Ragnar?Class=Runei.Ragnar?team=0?skin=0
Base Mutator is intro.Mutator1
Initialized moving brush tracker for Level intro.MyLevel
Created and initialized a new SDL viewport.
Loading: Package RMenu
Loading: Package UWindow
Loading: Package RBrowser
Loading: Package UBrowser
Bound to IpDrv.so
Loading: Package IpDrv
Current GameInfo: RuneSinglePlayer1
Team 0
Login: Ragnar
Possessed PlayerPawn: Ragnar intro.Ragnar0
All inventory from Ragnar is accepted
Input system initialized for SDLViewport0
Opening SDL viewport.
Bound to OpenGLDrv.so
Loaded render device class.
Initializing OpenGLDrv...
binding libGL.so.1
Resizing SDL viewport. X: 640 Y: 480
OpenGL
GL_VENDOR     : ATI Technologies Inc.
GL_RENDERER   : RADEON 9100 DDR Generic
GL_VERSION    : 1.3 (X4.3.0-3.11.1)
GL_EXTENSIONS : GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_occlusion_query GL_ARB_point_parameters 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_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_texture_env_combine3 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_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_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_texgen_reflection GL_NV_blend_square GL_NV_occlusion_query GL_SGI_color_matrix GL_SGIS_texture_edge_clamp GL_SGIS_texture_border_clamp GL_SGIS_texture_lod GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SUN_multi_draw_arrays Device supports: GL
Device supports: GL_EXT_bgra
Device supports: GL_ARB_texture_compression
Device supports: GL_EXT_texture_compression_s3tc
Device supports: GL_EXT_texture_env_combine
Device supports: GL_EXT_texture_filter_anisotropic
Device supports: GL_EXT_compiled_vertex_array
Device supports: GL_EXT_fog_coord
Device supports: GL_EXT_secondary_color
Device supports: GL_ARB_multitexture
MinLogTextureSize = 2
MaxLogTextureSize = 8
Bound to ALAudio.so
fcntl: Invalid argument
fcntl: Invalid argument
Unable to open /dev/cdrom
OpenAL Audio subsystem initialized.
Game engine initialized
Startup time: 11.957676 seconds.
Entering main loop.
Loading: Package UWindowFonts
XIO:  fatal IO error 104 (Connection reset by peer) on X server "':0'.0"

      after 38 requests (37 known processed) with 0 events remaining.

//tuk posledwa ctrl-backspace , za6toto kartinata stana uvasna , razmazana , razmestena , a monitora mi Compaq P700 poddyrva do 1280x960 ina4e igrata "widimo" si wyrwi//


/
/
/
/
/

/etc/X11/XF86Config-4:

Цитат

# File: XF86Config-4
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath   "/usr/X11R6/lib/X11/rgb"

################################## COREFONTS ############################################





################################## COREFONTS #############################################


# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

    FontPath    "/usr/X11R6/lib/X11/fonts/misc"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath    "/usr/local/share/fonts"
    FontPath    "/usr/share/fonts"
    FontPath    "/usr/X11R6/lib/X11/fonts"
    FontPath    "/usr/share/fonts/afms"
    FontPath    "/usr/share/fonts/truetype"
    FontPath    "/usr/share/fonts/type1"
    FontPath    "/usr/X11R6/lib/X11/fonts/TrueType"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

Option "HandleSpecialKeys" "always"

#    Option "NoTrapSignals"
#    Option "DontZap"
#    Option "Dont Zoom"
#    Option "DisableVidModeExtension"
#    Option "AllowNonLocalXvidtune"
#    Option "DisableModInDev"
#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "Keyboard"
    Option "AutoRepeat" "500 30"

    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"   "us, bg"
    Option "XkbVariant" " ,phonetic"
    Option "XkbOptions" "grp:alt_shift_toggle"
    Option "XkbCompat"   "group_led"
  

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier   "Mouse1"
    Driver "mouse"
    Option "Protocol"   "PS/2"
    Option "Device"     "/dev/psaux"

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   31.5 - 91.1
    VertRefresh 60 - 100
    Option "DPMS"

# === mode lines based on GTF ===
# VGA @ 100Hz
Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# SVGA @ 100Hz
Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
# XVGA @ 100Hz
Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"               "0x00000100"
    Option "MonitorLayout"              "CRT, STV"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "31.5"
    Option "VRefresh2"                  "20-60"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "NoTV"                       "no"    
    Option "TVStandard"                 "PAL-B"    
    Option "TVHSizeAdj"                 "0"    
    Option "TVVSizeAdj"                 "0"    
    Option "TVHPosAdj"                  "0"    
    Option "TVVPosAdj"                  "0"    
    Option "TVHStartAdj"                "0"    
    Option "TVColorAdj"                 "0"    
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "off"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "UseFastTLS"                 "2"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1':0':0"    # vendor=1002, device=514d
    Screen 0
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
       Modes "1600x1200" "1280x1024" "1280x960" "1024x768@100" "800x600@100" "800x600" "640x480@100" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
        Virtual     1024 768
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Server Layout"

    Screen "Screen0"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###

Активен

Powered by Debian GNU / LINUX /// Intel inside ...

„Насилието е последното убежище на некомпетентността“ - Айзък Азимов (1920 — 1992)

nemirco

  • Участници
  • ***
  • Публикации: 5
    • Профил
X resolution problem 2
« Отговор #1 -: Oct 02, 2004, 16:37 »
Цитат
Subsection "Display"
       Depth       24
       Modes "1600x1200" "1280x1024" "1280x960" "1024x768@100" "800x600@100" "800x600" "640x480@100" "640x480"
       ViewPort    0 0
Пробвай да изтриеш ненужните резолюции
Активен

the_real_maniac

  • Напреднали
  • *****
  • Публикации: 1258
  • Kernel panic, me - no panic ;-) :-)
    • Профил
X resolution problem 2
« Отговор #2 -: Oct 02, 2004, 19:37 »
Беше само 1024х768
но тогава пък беше по-голям ужас '<img'>
Трябва да се добавят алтернативни -> поне така пише , за да може да се променя резолюцията при нужда.
затова ги добавих 1600х1200, 1280х1024,800х600 и 640х480 , иначе frozen-bubble(640x480) ми излизаше на чертички и на 1600х1200 :?

и затова сега добавих и 1280х960
Активен

Powered by Debian GNU / LINUX /// Intel inside ...

„Насилието е последното убежище на некомпетентността“ - Айзък Азимов (1920 — 1992)

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
Screen Resolution
Настройка на програми
gamehack 0 1912 Последна публикация Mar 12, 2003, 21:38
от gamehack
Video Adapeter And Screen resolution
Настройка на хардуер
dimitar_mar 1 2055 Последна публикация Nov 07, 2003, 10:48
от stockton
resolution
Настройка на програми
jojopara 2 2017 Последна публикация Dec 19, 2003, 15:22
от
Monitor resolution problem
Настройка на хардуер
JoeRocket 4 2413 Последна публикация Jul 27, 2004, 23:11
от JoeRocket
Office bibliothek screen resolution problem
Настройка на програми
solskjaer 2 2343 Последна публикация Dec 23, 2006, 01:11
от alabal