Erro com SDL no Ubuntu 7.10

1. Erro com SDL no Ubuntu 7.10

Bruno Casella
killerbean

(usa Ubuntu)

Enviado em 25/03/2008 - 22:27h

Olá pessoal.
Estou há algum tempo com um erro de SDL no meu Ubuntu. Já procurei no VOL, Google e outras comunidades, mas acho apenas uma ou outra pessoa com o mesmo problema, e muitos codigos de programação C++ com SDL (o que não tem nada a ver com meu problema).
Bom, vou aos detalhes:
O erro é o seguinte: ao abrir jogos, ou mesmo o doxbox, aparece no shell:

Failed to init SDL video subsystem: No available video device

ou

Exit to error: Can't init SDL No available video device


Uso o compiz-fusion normalmente, e programas como Gimp, Blender, funcionam também.

Uso uma placa de video nvidea 7300 LE, e o driver restrito "nvidea-glx-new".

Já reinstalei a libSDL, o driver de video e tudo. Mas não funciona. E sim, antes funcionava (tinha Ubuntu, mas formatei a HD a instalei de novo).

Quem souber o que fazer para solucionar o problema, ficarei muito grato.

::Bruno Casella::

Ah, abaixo deixo o arquivo xorg.conf, caso seja alguma configuração errada nele que não vi. :
_______________________________________________
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Sep 12 14:29:35 PDT 2007

# 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 xorg.conf manual page.
# (Type "man 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"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "Monitor Genérico"
HorizSync 28.0 - 70.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "nVidia Corporation G72 [GeForce 7300 LE]"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation G72 [GeForce 7300 LE]"
Monitor "Monitor Genérico"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1400x1050" "1280x1024" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
------------------------


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts