Indirect Rendering on Xorg 7.2 and other problems

Sereno Ternullo serenoternullo at virgilio.it
Tue Jun 26 23:49:47 UTC 2007


Hi folks, 
I'm running 

[sereno at FreeBSD ~]$ uname -a
FreeBSD FreeBSD.home 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jun  4 23:51:58 
CEST 2007     toor at FreeBSD.home:/usr/src/sys/i386/compile/AMD  i386

Following the procedure found in /usr/ports/UPDATING
I've updated my Xorg from 6.9.0 to 7.2

I'm encountering several problems:

* even though I set 

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "it"
EndSection

a few buttons are not working, ALT for example. 

* glxgears is preatty slow:

[sereno at FreeBSD ~]$ glxgears
NVIDIA: Direct rendering failed; attempting indirect rendering.
4529 frames in 5.0 seconds = 905.424 FPS    

I have an Nvidia GeForce 2, with nvidia driver installed.

I reconfigured my xorg.conf throug Xorg -configure, 
I changed a few lines and this is it now :

--------------------------------------------------------------------------------------------------------------------

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister at builder24.nvidia.com)  Wed Nov  
1 19:54:32 PST 2006

Section "ServerLayout"
    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/100dpi/"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/"
EndSection

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

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "it"
EndSection

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "NV11 [GeForce2 MX/MX 400]"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    SubSection     "Display"
        Viewport    0 0
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection 

Section "Extensions"
	Option "Composite" "Enable"
EndSection 


--------------------------------------------------------------------------------------------------------

Is there anything wrong ?
I'm sorry for the long mail, but I'm quite newbie to FreeBSD :)

Any advice is welcomed, 
thank you in advance !

Please, CC me as I'm not subscribed to the list 


More information about the freebsd-x11 mailing list