You are not logged in.

#1 2009-01-03 03:23:55

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

intel gm965 xorg.conf issues (yes ive seen the other threads)

i have been using  XAA  and it works good  (about 100-150 FPS with compiz benchmark at idle) but i just realized that with XAA i cant playback video with totem or vlc or mplayer  (the window just dissapears)

if i switch to EXA i can playback video perfectly but my framerate with compiz benchmark at idle drops to about 45-50 FPS (almost unusable)

the  thing that confuses me is that with Ubuntu 8.10 i have a good framerate (about 100 FPS) and ivideo playback works fine

it sucks because i cant examine my ubuntu xorg.conf to find out what settings to use because it just says "configured device" for everything   (no help at all)


here is my current arch xorg.conf

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      "Default Screen"
    InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
    InputDevice    "SynapticsTouchpad"    "SendCoreEvents"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
#    Option "AutoAddDevices" "False"
    
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
    Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Section "InputDevice"
    Identifier  "SynapticsTouchpad"
    Driver      "synaptics"
    Option      "AlwaysCore"        "true"  # send events to CorePointer
#    Option      "Device"            "/dev/input/mice"
    Option      "Device"            "/dev/psaux"
    Option      "Protocol"          "auto-dev"
    Option      "SHMConfig"         "false" # configurable at runtime? security risk
    Option      "LeftEdge"          "1700"  # x coord left
    Option      "RightEdge"         "5300"  # x coord right
    Option      "TopEdge"           "1700"  # y coord top
    Option      "BottomEdge"        "4200"  # y coord bottom
    Option      "FingerLow"         "25"    # pressure below this level triggers release
    Option      "FingerHigh"        "30"    # pressure above this level triggers touch
    Option      "MaxTapTime"        "180"   # max time in ms for detecting tap
    Option      "VertEdgeScroll"    "true"  # enable vertical scroll zone
    Option      "HorizEdgeScroll"   "true"  # enable horizontal scroll zone
    Option      "CornerCoasting"    "true"  # enable continuous scroll with finger in corner
    Option      "CoastingSpeed"     "0.30"  # corner coasting speed
    Option      "VertScrollDelta"   "20"   # edge-to-edge scroll distance of the vertical scroll
    Option      "HorizScrollDelta"  "20"   # edge-to-edge scroll distance of the horizontal scroll
    Option      "MinSpeed"          "0.10"  # speed factor for low pointer movement
    Option      "MaxSpeed"          "0.60"  # maximum speed factor for fast pointer movement
    Option      "AccelFactor"       "0.0030"    # acceleration factor for normal pointer movements
    Option      "VertTwoFingerScroll"   "true"    # vertical scroll anywhere with two fingers
    Option      "HorizTwoFingerScroll"  "true"    # horizontal scroll anywhere with two fingers
EndSection


Section "Monitor"
    Identifier    "Generic Monitor"
    Option        "DPMS"
EndSection

Section "Monitor"
    Identifier    "TVOutput"
    Option        "Ignore"    "true"
EndSection

Section "Device"
    Identifier    "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
    Driver        "intel"
    BusID        "PCI:0:2:0"
    Option        "monitor-TV"    "TVOutput"
# Uncomment for compiz-fusion
    Option      "DRI"                    "True"
    Option      "NoDDC"                  "True"
    Option      "XAANoOffscreenPixmaps"  "True"
    Option      "EnablePageFlip"         "True"
    Option      "RenderAccel"            "True"
        Option      "AccelMethod"            "XAA"
#        Option      "AccelMethod"             "EXA"
#        Option      "ExaNoComposite"         "false"
#        Option      "MigrationHeuristic"     "greedy"
        Option      "XVideo"                 "true"
#        Option      "Legacy3D"               "false"
        Option      "AllowGLXWithComposite"  "true"

EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection "Display"
        Modes        "1280x800"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions"
       Option "Composite" "Enable"
       Option "GLX" "Enable"
       Option "RENDER" "Enable"

EndSection

i have tried every combination of settings that i can think of with the options that you see


this is the error totem gives when i try to play any video with XAA

[tj@myhost ~]$ totem
No accelerated IMDCT transform found
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 69 error_code 11 request_code 141 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
[tj@myhost ~]$

here is mplayer

[tj@myhost ~]$ gmplayer
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) Dual  CPU  T2310  @ 1.46GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/tj/Videos/Religulous.DVDScr.XViD-BaLD/Religulous.DVDScr.XViD-BaLD.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  624x352  16bpp  23.976 fps  827.0 kbps (101.0 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.2 (build 2540/release)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [xv] 624x352 => 624x352 Planar YV12 
[ws] Error in display.  0.114 ct:  0.000   1/  1 ??% ??% ??,?% 0
[ws]  Error code: 11 ( BadAlloc (insufficient resources for operation) )
[ws]  Request code: 141
[ws]  Minor code: 19
[ws]  Modules: flip_page
[tj@myhost ~]$

if somebody could please help me get compiz working with a decent framerate and video playback at the same time it would be awesome

i dont really care if its XAA or EXA as long as i can have a decent frammerate and video playback at the same time


EDIT: also i forgot to mention that i have also tried adding INTEL_BATCH="1" to my /etc/environment after reading it in another thread, but it didn't seem to do much

Last edited by tjwoosta (2009-01-03 03:27:55)

Offline

#2 2009-01-03 07:29:58

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: intel gm965 xorg.conf issues (yes ive seen the other threads)

Try installing GEM kernel and compiling the new drivers.


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2009-01-03 10:52:45

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: intel gm965 xorg.conf issues (yes ive seen the other threads)

Or wait just a little bit more for the 2.6.28 kernel to hit [core].


Arch i686 on Phenom X4 | GTX760

Offline

#4 2009-01-03 16:12:22

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

Re: intel gm965 xorg.conf issues (yes ive seen the other threads)

ok it sounds like the new kernel will be better, but before i go compiling new kernels and stuff, does anybody know how ubuntu made it work ?

ubuntu has 2.6.27 and the driver works fine with both good framerate and video playback

Last edited by tjwoosta (2009-01-03 16:13:51)

Offline

#5 2009-01-03 17:16:46

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: intel gm965 xorg.conf issues (yes ive seen the other threads)

Ubuntu uses old xf86-video-intel and intel-dri which do not require GEM. If you remember a couple of months ago arch was also using old xf86-video-intel and intel-dri packages which provided decent compiz performance...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#6 2009-01-03 17:25:06

Svlad Cjelli
Member
From: dusk till dawn
Registered: 2008-10-21
Posts: 99

Re: intel gm965 xorg.conf issues (yes ive seen the other threads)

Try to keep using XAA in your xorg.conf.

Further try to change your video-output-mode!!!

Do you ue Gnome?
In the

gstreamer-properties

you can set the output-mode to **no XV**

In Mplayer or Vlc it must be somewhere hided in the preferences...


Ensure to have video-playback enabled in the ccsm...


All that done your video-playback should be fairly decent...


Svlad

Offline

#7 2009-01-03 17:38:11

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

Re: intel gm965 xorg.conf issues (yes ive seen the other threads)

Ubuntu uses old xf86-video-intel and intel-dri which do not require GEM. If you remember a couple of months ago arch was also using old xf86-video-intel and intel-dri packages which provided decent compiz performance...

ahh..

thank you, that clears up alot of confusion

see i just installed arch for the first time about a week and a half ago so i never had good performance to begin with

Try to keep using XAA in your xorg.conf.

Further try to change your video-output-mode!!!

Do you ue Gnome?
In the
Code:

gstreamer-properties

you can set the output-mode to **no XV**

In Mplayer or Vlc it must be somewhere hided in the preferences...


Ensure to have video-playback enabled in the ccsm...


All that done your video-playback should be fairly decent...


Svlad

IT WORKED!!!

thank you !

you saved me alot of trouble

Offline

#8 2009-01-03 19:40:14

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: intel gm965 xorg.conf issues (yes ive seen the other threads)

BTW when GEM kernel and newer intel and xorg packages are at core expect a MAJOR improvement in performance. I'm talking about something like 2 - 3 times!

EDIT:
I mean two three times better than before the last update which made things unbearably slow.

Last edited by Dheart (2009-01-03 19:40:55)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#9 2009-01-03 20:05:12

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

Re: intel gm965 xorg.conf issues (yes ive seen the other threads)

nice!

maybe then i will be able to play quake 4 again

Offline

Board footer

Powered by FluxBB