linux-enemyterritory on FreeBSD 9

crsnet.pl crsnet at crsnet.pl
Tue Sep 27 11:23:04 UTC 2011


 Hello.
 I try to run Enemy Territory on FreeBSD 9. But all works very slow ;/ 
 Menu/Game have 1-2 FPS.
 I suspect that is problem with my Graphic card ;/
 If any have try to run ET on that kind of hardware pleas let me know.

 x300# uname -a
 FreeBSD x300 9.0-BETA3 FreeBSD 9.0-BETA3 #4: Tue Sep 27 12:37:04 CEST 
 2011     cr4sh at x300:/sys/amd64/compile/GENERIC  amd64

 x300# dmesg | grep vga
 vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 
 0xfa000000-0xfa0fffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
 agp0: <Intel GM965 SVGA controller> on vgapci0
 vgapci1: <VGA-compatible display> mem 0xfa100000-0xfa1fffff at device 
 2.1 on pci0
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on 
 isa0
 drm0: <Intel i965GM> on vgapci0

 x300# cat /etc/X11/xorg.conf
 Section "ServerFlags"
   Option "DontZap"         "off"
   Option "AutoAddDevices"  "off"
   Option "AIGLX"           "on"
   Option "RANDR"           "on"
 EndSection

         Section "ServerLayout"
         Identifier     "X.org Configured"
         Screen      0  "Screen0" 0 0
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
 EndSection

 Section "Files"
         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/"
         FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
         FontPath "/usr/X11R6/lib/X11/fonts/URW/"
         FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
 EndSection

 Section "Module"
         Load  "dbe"
         Load  "dri"
         Load  "dri2"
         Load  "extmod"
         Load  "glx"
         Load  "record"
         Load  "freetype"
 EndSection

 #Section "InputDevice"
 #       Identifier  "Keyboard0"
 #       Driver      "kbd"
 #       Option "XkbLayout" "pl"
 #EndSection

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

 Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "kbd"
         Option          "CoreKeyboard"
         Option          "XkbRules"      "xorg"
         Option          "XkbModel"      "pc105"
         Option          "XkbLayout"     "pl"
 #        Option          "XkbVariant"    "nodeadkeys"
 #        Option          "XkbOptions"    "lv3:ralt_switch_multikey"
 EndSection

 Section "Monitor"
         Identifier   "Monitor0"
         VendorName   "Monitor Vendor"
         ModelName    "Monitor Model"
 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     "NoAccel"                   # [<bool>]
         #Option     "SWcursor"                  # [<bool>]
         #Option     "ColorKey"                  # <i>
         #Option     "CacheLines"                # <i>
         #Option     "Dac6Bit"                   # [<bool>]
         #Option     "DRI"                       # [<bool>]
         #Option     "NoDDC"                     # [<bool>]
         #Option     "ShowCache"                 # [<bool>]
         #Option     "XvMCSurfaces"              # <i>
         #Option     "PageFlip"                  # [<bool>]
         Identifier  "Card0"
         Driver      "intel"
         VendorName  "Intel Corporation"
         BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
         BusID       "PCI:0:2:0"
 #       Option     "DPMS"
 EndSection

 Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
         SubSection "Display"
                 Viewport   0 0
                 Depth     1
         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

 x300# glxinfo | grep render
 Failed to initialize GEM.  Falling back to classic.
 direct rendering: Yes
 OpenGL renderer string: Mesa DRI Intel(R) 965GM 20090418 2009Q1

 x300# pkg_info | grep enemy
 linux-enemyterritory-2.60b_1 Wolfenstein: Enemy Territory (Linux 
 version)

 x300# pkg_info | grep dri
 dri-7.4.4,2         OpenGL hardware acceleration drivers for the DRI
 dri2proto-2.3       DRI2 prototype headers
 libijs-0.35_1       C library that supports plugin printer driver for 
 Ghostscri
 linux-dri-7.4_1     Mesa-based DRI libraries, drivers and binaries 
 (Linux Ubunt
 nvidia-settings-270.41.19 Display Control Panel for X NVidia driver
 xdriinfo-1.0.3      Query configuration information of DRI drivers
 xf86-input-keyboard-1.5.0 X.Org keyboard input driver
 xf86-input-mouse-1.6.0 X.Org mouse input driver
 xf86-video-ati-6.14.2 X.Org ati display driver
 xf86-video-mach64-6.8.2_1 X.Org mach64 display driver
 xf86-video-nv-2.1.18 X.Org nv display driver
 xf86-video-openchrome-0.2.904_3 X.Org openChrome display driver
 xf86-video-r128-6.8.1_2 X.Org r128 display driver
 xf86-video-radeonhd-1.3.0_4 X.Org ati RadeonHD display driver
 xf86-video-vesa-2.3.0_1 X.Org vesa display driver
 xorg-drivers-7.5.1  X.org drivers meta-port

 x300# kldstat
 Id Refs Address            Size     Name
  1   53 0xffffffff80200000 138f2c8  kernel
  2    2 0xffffffff81590000 46cf8    linux.ko
  4    1 0xffffffff815fc000 5b28     acpi_ibm.ko
  5    1 0xffffffff81602000 8310     sdhci.ko
  6    1 0xffffffff81812000 42a6     linprocfs.ko
  7    1 0xffffffff81817000 16a8     fdescfs.ko
  8    2 0xffffffff81819000 2940     vboxnetflt.ko
  9    2 0xffffffff8181c000 2a264    vboxdrv.ko
 10    7 0xffffffff81847000 95d8     netgraph.ko
 11    1 0xffffffff81851000 175c     ng_ether.ko
 12    1 0xffffffff81853000 e70      vboxnetadp.ko
 13    1 0xffffffff81854000 32b0     ng_ubt.ko
 14    1 0xffffffff81858000 8c6c     ng_hci.ko
 15    3 0xffffffff81861000 a7c      ng_bluetooth.ko
 16    1 0xffffffff81862000 bef4     ng_l2cap.ko
 17    1 0xffffffff8186e000 17df0    ng_btsocket.ko
 18    1 0xffffffff81886000 1d8c     ng_socket.ko
 19    1 0xffffffff81888000 82b7     i915.ko
 20    1 0xffffffff81891000 13dcf    drm.ko
 21    1 0xffffffff818a5000 13eb2    if_iwn.ko

 I think game use Software Rendering ;/ and i dont know why.

 Regards.


More information about the freebsd-questions mailing list