Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Rozbil jsem si GLX  (Přečteno 1619 krát)

Fox

  • Aktivní člen
  • *
  • Příspěvků: 219
    • LMK Vsetín
Rozbil jsem si GLX
« kdy: 05 Ledna 2007, 20:57:39 »
Dobrý den.

Dřív mně OpenGL fungovalo bez problémů. blender frčel praárda. dneska jsem si za APt natáhnul hru Flight gear a při pokusu o spuštění to hodilo tady tu chybu.
Kód: [Vybrat]
fox@Foxuv:~$ fgfs
freeglut (fgfs): Unable to create direct context rendering for window 'FlightGear'
This may hurt performance.
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  148 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  18
  Current serial number in output stream:  24
freeglut (fgfs):  ERROR:  Function called with no current window defined.
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  148 (GLX)
  Minor opcode of failed request:  4 (X_GLXDestroyContext)
  Serial number of failed request:  25
  Current serial number in output stream:  30
když jsem na dtím bádal tak jsem zjistil že to není chyba flightgear-u ale že podobnou hlášku to vyhodí pokaždé kdaž se pokusím zapnout něco co potřebuje OpenGL třeba blender
Kód: [Vybrat]
fox@Foxuv:~$ blender
Using Python version 2.4
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  148 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  22
  Current serial number in output stream:  23
Nejhorší na tom všem je že opravdu netuším kdy nebo čím jsem si to OpenGl porouchal. dost dlouho jsem nezkoušel pustit nic co ho potřebuje a samozřejmně skouším kde co všecko.

Jestli se to někomu stalo nebo ví jak to spravt tak mně prosím poraďte děkuju pěkně.

Vojtěch Trefný

  • Příspěvků: 9307
  • Don Quijote
Rozbil jsem si GLX
« Odpověď #1 kdy: 05 Ledna 2007, 21:03:13 »
Hodil by se výpis xorg.conf a taky to, co se stane, když napíšete do konsole glxinfo.

Fox

  • Aktivní člen
  • *
  • Příspěvků: 219
    • LMK Vsetín
Rozbil jsem si GLX
« Odpověď #2 kdy: 05 Ledna 2007, 21:25:11 »
Kód: [Vybrat]
fox@Foxuv:~$ glxinfo
name of display: :0.0
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  148 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Serial number of failed request:  16
  Current serial number in output stream:  17
Cokoliv co má co dočinění s OpenGL hodí tuto chybu.


xorg.conf
Kód: [Vybrat]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Mon Oct 16 22:13:48 PDT 2006

# /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         "Default Screen" 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        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "cz"
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 "Device"
    Identifier     "NVIDIA Corporation NV34 [GeForce FX 5500]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV34 [GeForce FX 5500]"
    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
Je to ono??

Eště jedna věc: Pokud vyhodím drivery grafické kraty nvidia-glx tak to tu chybu háže pořád. takže IMHO driverama to nejspíš není.

Fox

  • Aktivní člen
  • *
  • Příspěvků: 219
    • LMK Vsetín
Rozbil jsem si GLX
« Odpověď #3 kdy: 07 Ledna 2007, 13:45:29 »
Prosím poradtě mně aspoň co bych měl všecko přeistalovat.
Nebo mám vyhodit komplet X ka a gnome a všecko ? Kompletně přeistalovávat UBUNTU se mi nehce.

 

Provoz zaštiťuje spolek OpenAlt.