[FUG-BR] aplicaçoes GL não estão funcionando no beryl

Mario Lobo mlobo em digiart.art.br
Segunda Agosto 20 21:39:40 BRT 2007


Ola pessoal;

Apos alguns dias de pesquisar soluções em tudo que é forum, resolvi postar 
aqui.

Seguinte:

Maquina:
Pentium D 940 dual core
Ram 2G 533
NVIDIA 7100 256 pci-e

OS:
FreeBSD 6.2 - KDE 3.5.7 - Beryl 0.2.1
driver NVIDIA-FreeBSD-x86-100.14.11

Tudo funciona direito (cubo, rotation, efeitos, screensaver, etc...) 
EXCETO GL apps.

com KDE puro:
glxgears:
8493 frames in 5.0 seconds = 1698.522 FPS
9128 frames in 5.0 seconds = 1825.552 FPS
9111 frames in 5.0 seconds = 1822.077 FPS

com KDE + beryl:
glxgears:
7 frames in 12.3 seconds =  0.571 FPS
6 frames in 12.3 seconds =  0.489 FPS
6 frames in 12.3 seconds =  0.489 FPS

===================
[~]>glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
    GLX_ARB_fbconfig_float
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
===================

Segui os passos do Patrick Trancarelli, ja testei mudar as opções de todo 
jeito e feitio mas esses numeros nao mudam.

Alguem tem alguma ideia?

Obrigado,
-- 
Mario Lobo
http://www.mallavoodoo.com.br
99,7% rwindows FREE (FreeBSD not for Pro-Audio.... YET!!!)


meu xorg.conf:
==================
Section "ServerLayout"
    # Option         "DontZap" "on"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    # Option         "AIGLX" "true"
EndSection

Section "Files"
    RgbPath         "/usr/local/share/X11/rgb"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/usr/local/lib/X11/fonts/misc/"
    FontPath        "/usr/local/lib/X11/fonts/TTF/"
    FontPath        "/usr/local/lib/X11/fonts/OTF"
    FontPath        "/usr/local/lib/X11/fonts/Type1/"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/"
    FontPath        "/usr/local/lib/X11/fonts/100dpi/"
EndSection

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

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "Auto"
    Option         "Device" "/dev/sysmouse"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "LG"
    VendorName     "[LG]"
    ModelName      "LG 710E"
    HorizSync       30.0 - 71.0
    VertRefresh     50.0 - 160.0
    # Option         "DPMS"
    # Modeline 	   "1400x1050_60"  122.61  1400 1488 1640 1880  1050 1051 1054 
1087  -HSync +Vsync
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "GeForce 7100 GS"
    Option         "AllowGLXWithComposite" "True"
    Option         "RenderAccel" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "DisableGLXRootClipping" "True"
    Option         "BackingStore" "True"
    Option         "TripleBuffer" "True"
    # Option         "XAANoOffscreenPixmaps"  "True"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "LG"
    DefaultDepth   24
    Option         "NvAgp" "0"
    Option         "RenderAccel" "True"
    Option         "Coolbits" "1"
    Option         "TwinView" "0"
    Option         "ExactModeTimingsDVI" "True"
    Option         "AllowGLXWithComposite" "True"
    Option         "DisableGLXRootClipping" "True"
    Option         "RenderAccel" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "DamageEvents" "True"
    Option         "BackingStore" "True"
    Option         "TripleBuffer" "True"
    # Option         "metamodes" "1280x1024 +0+0; 1024x768 +0+0; 800x600 +0+0; 
640x480 +0+0"
    # Option	   "DPI" "85 x 86"
    # Option 	   "ModeValidation" "NoEdidModes"
    # Option 	   "UseEDID" "False"
    SubSection     "Display"
        # Viewport    0 0
        Depth      24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "Enable"
    Option "DAMAGE" "Enable"
    Option "RENDER" "Enable"
EndSection

Section "DRI"
    Group        0
    Mode         0666
EndSection

==================


Mais detalhes sobre a lista de discussão freebsd