Strona 1 z 1

geforce4 mx 400 problemy z akceleracją sprzętową

: 16 października 2008, 13:54
autor: kleofas
Witam,

Problem jak w opisie - przy uruchamianiu gier korzystających z akceleracji sprzętowej dostaję różne błędy. Przy rozpoczęciu gry w Frets On Fire dostaję błąd:

Kod: Zaznacz cały

Traceback (most recent call last):
  File "src/GameEngine.py", line 350, in run
  File "src/GameEngine.py", line 342, in main
  File "src/View.py", line 183, in render
  File "src/GuitarScene.py", line 372, in render
  File "src/Font.py", line 179, in render
  File "src/Font.py", line 155, in _renderString
  File "/usr/lib/python2.4/site-packages/OpenGL/error.py", line 188, in glCheckError
GLError: GLError(
        err = 1285,
        description = 'out of memory',
        baseOperation = glDrawArrays,
        cArguments = (GL_QUADS, 0, 4)
)
Warto dodać, że menu chodzi bez zastrzeżeń.

Uruchamiając Unreal Tournament jako użytkownik dostaję podobny komunikat, jednak błąd dotyczy braku uprawnień (?), natomiast jako root mam błąd taki:

Kod: Zaznacz cały

GL_EXTENSIONS : GL_ARB_imaging GL_ARB_multitexture GL_ARB_pixel_buffer_object
GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects
GL_ARB_shading_language_100 GL_ARB_texture_compression GL_ARB_texture_cube_map
GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3
GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix
GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader
GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra
GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint
GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_draw_range_elements
GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays
GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object
GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color
GL_EXT_separate_specular_color GL_EXT_shared_texture_palette GL_EXT_stencil_wrap
GL_EXT_texture_compression_s3tc GL_EXT_texture_cfcntl: Invalid argument
fcntl: Invalid argument
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
X11: Unknown xsym, sym = 0x1008ff13
ube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_
ip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_
 GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_N
S_texture_lod GL_SUN_slice_accum Signal: SIGTERM [terminate]
Requesting Exit.
SIGTERM na końcu to moja sprawka. Gra uruchamia się, lecz ekran jest cały czarny.

Gdy próbuję UT (z wybranym urządzeniem "Direct 3D") uruchomić przy pomocy wine dostaję w okienku taki błąd:

Kod: Zaznacz cały

General protection fault!

History: UD3DRenderDevice::CreateVideoTexture <- AllocTextures <-
UD3DRenderDevice::SetRes <- Ud3DRenderDevice::Init <-
UWindowsViewport::TryRenderDevice <-
UWindowsViewport::OpenWindow <- UGameEngine::Init <- InitEngine
Ciekawostkę stanowi wynik glxgears - wszystko chodzi płynnie i na terminalu dostaję oczekiwany rezultat:

Kod: Zaznacz cały

3286 frames in 5.0 seconds = 657.170 FPS
3364 frames in 5.0 seconds = 672.701 FPS
3392 frames in 5.0 seconds = 678.399 FPS
3399 frames in 5.0 seconds = 679.734 FPS
Podobnie wynalazki typu sdljump działają bez zastrzeżeń, a przecież również korzystają z akceleracji sprzętowej.

Wszystkich błędów szukałem dogłębnie przez Google, czuję się nieco bezradny. Bardzo proszę o pomoc.

Moja płyta główna ASUS a7n8x vm/400
karta graficzna zintegrowana nvidia geforce4 mx 400
W biosie próbowałem ustawiać różną wielkość pamięci współdzielonej - od 64mb do 512mb.

Jajko: Linux 2.6.26-1-686 #1 SMP Wed Oct 1 12:03:14 UTC 2008 i686 GNU/Linux (z repozytoriów Debiana Sid)

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-7)

xorg.conf

Kod: Zaznacz cały

#Section "ServerLayout"
#       Identifier     "XFree86 Configured"
#       Screen      0  "Screen0" 0 0
#       InputDevice    "Mouse0" "CorePointer"
#       InputDevice    "Keyboard0" "CoreKeyboard"
#EndSection

Section "Files"
    FontPath    "/usr/share/fonts/X11/misc"
    FontPath    "/usr/share/fonts/X11/Type1"
    FontPath    "/usr/share/fonts/X11/75dpi"
    FontPath    "/usr/share/fonts/X11/100dpi"
    FontPath    "/usr/local/share/fonts"
EndSection

Section "Module"
        Load  "glx"
        Load  "dbe"
        Load  "extmod"
#       Load  "GLcore"
#       Load  "dri"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
    Load "freetype"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        #Driver         "keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        #Option         "Protocol"      "Standard"
        #Option         "Autorepeat"    "500 25"
        Option          "XkbRules"      "xfree86"
        #Option         "XkbModel"      "pc104"
        Option          "XkbLayout"     "pl"
        #Option         "XkbOptions"    "grp:switch"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Protocol" "imps/2"
        Option          "Device" "/dev/input/mice"
        Option          "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Belinea"
#       ModelName       "10 19 20"
##      DisplaySize     378 396
#       DisplaySize     340 255
#       HorizSync   30-80
#       VertRefresh 56-76
        ModelName       "10 20 25"
        DisplaySize     446 436
        HorizSync       30-82
        VertRefresh     50-85
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: [i]: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "DigitalVibrance"           # [i]
        Option     "NoFlip"             "False"
        #Option     "Dac8Bit"           # [<bool>]
        Option     "NoLogo"             "True"
        #Option     "UBB"                       # [<bool>]
        #Option     "Stereo"            # [i]
        Option     "SWcursor"           "False"
        Option     "HWcursor"           "True"
        #Option     "VideoKey"          # [i]
        Option     "NvAGP"              "1"
        #Option     "IgnoreEDID"                "True"
        #Option     "UseEDID"                   "False"
        #Option     "NoDDC"             # [<bool>]
        #Option     "ConnectedMonitors"         "CRT, TV"
#       Option     "ConnectedMonitor"           "DFP-0"
        Option     "TVStandard"         "PAL-B"
        Option     "TVOutFormat"                "SVIDEO"
        Option     "RenderAccel"                "True"
        Option     "CursorShadow"               "True"
        Option     "CursorShadowAlpha"          "64"
        Option     "CursorShadowXOffset"        "3"
        Option     "CursorShadowYOffset"        "2"
        #Option     "UseEdidFreqs"              "False"
        #Option     "FlatPanelProperties"       # <str>
        #Option     "UseInt10Module"            # [<bool>]
        #Option     "NoTwinViewXineramaInfo"    # [<bool>]
        #Option     "NoRenderExtension"         # [<bool>]
        #Option     "Overlay"           # [<bool>]
        #Option     "CIOverlay"         # [<bool>]
        #Option     "ForceEmulatedOverlay"      # [<bool>]
        #Option     "TransparentIndex"          # [i]
        #Option     "OverlayDefaultVisual"      # [<bool>]
        #Option     "NvEmulate"         # [i]
        Option     "NoBandWidthTest"            "True"
        #Option     "CustomEDID-CRT-0"          # <str>
        #Option     "CustomEDID-CRT-1"          # <str>
        #Option     "CustomEDID-DFP-0"          # <str>
        #Option     "CustomEDID-DFP-1"          # <str>
        #Option     "CustomEDID-TV-0"           # <str>
        #Option     "CustomEDID-TV-1"           # <str>
        #Option     "TVOverScan"                # <f>
        #Option     "IgnoreDisplayDevices"      # <str>
        #Option     "MultisampleCompatibility"  # [<bool>]
        #Option     "RegistryDwords"            # <str>
        #Option     "RegistryBinary"            # <str>
        #Option     "NoPowerConnectorCheck"     # [<bool>]
        #Option     "AllowDFPStereo"            # [<bool>]
        #Option     "XvMCUsesTextures"          # [<bool>]
        #Option     "HorizSync"         # <str>
        #Option     "VertRefresh"               # <str>
        Option     "AllowGLXWithComposite"      "True"
        Option     "RandRRotation"              "True"
        #Option     "ExactModeTimingsDVI"       # [<bool>]
        Option     "Coolbits"                   "1"
        #Option     "AllowDDCCI"                # [<bool>]
        #Option     "ConstantFrameRateHint"     # [<bool>]
        #Option     "EnableAGPFW"               "1"
        Option     "LoadKernelModule"           "True"
        Identifier  "Card0"
        Driver      "nvidia"
        #Driver       "nv"
        VideoRam    262144
        VendorName  "nVidia Corporation"
        BoardName   "NV18 [GeForce4 MX - nForce GPU]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24

        SubSection "Display"
                Depth   24
                Modes   "1600x1200" "1280x960" "1024x768" "800x600" "640x480"
#               Modes   "1024x768; 800x600; 640x480; guest"
        EndSubSection

        SubSection "Display"
                Depth   16 # Do TV koniecznie 16 i 640x480!!
                Modes   "640x480" #"1280x960"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Screen0"
        InputDevice     "Keyboard0"
        InputDevice     "Mouse0"
EndSection

Section "DRI"
        Mode    0666
EndSection

Section "Extensions"
       Option  "XEVIE"         "Enable"
       Option  "Composite"     "Enable"
EndSection
Sterowniki (zamknięte) NVIDIA-Linux-x86-96.43.07 (legacy) instalowane przy użyciu instalatora od NVidii.

: 16 października 2008, 15:38
autor: maly

Kod: Zaznacz cały

Section "DRI"
        Mode    0666
EndSection 
usuń je (bądź zahaszuj).

: 16 października 2008, 22:21
autor: kleofas
Witam ponownie, dziękuję bardzo za odpowiedź.

Zahaszowałem całą sekcję DRI w xorg.conf, zabiłem Xserver i odpaliłem ponownie. Niestety - brak poprawy, wszystko dokładnie tak samo.

Pozdrawiam i utrzymuję gorącą prośbę o pomoc.