Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiz-start e non vedo piu i filmati [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Fri May 11, 2007 10:25 am    Post subject: compiz-start e non vedo piu i filmati [Risolto] Reply with quote

Ragazzi ho un intel centrino 2 duo a 1.66, 2 giga di ram e una Mobile 945GM/GMS/940GML Express Integrated Graphics Controller... Con AIGLX e compiz (Anche se non capisco perche il plugin "fade" si disabilita sempre) sembra tutto ok finquando non provo a vedere un filmato (fin'ora ho provato solo con *.avi) e mi crashano sia totem, che xine, che gmplayer. mplayer riproduce invece solo l'audio e rimane a schermo nero.

Gli errori che ottengo lanciando la riproduzione da terminale sono i seguenti:

totem
Code:

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 44 error_code 11 request_code 140 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.)


xine
Code:

X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  2315
  Current serial number in output stream:  2316


gmplayer
Code:

VO: [xv] 720x400 => 720x400 Planar YV12
[ws] Error in display.  0.094 ct:  0.000   1/  1 ??% ??% ??,?% 0 0             
[ws]  Error code: 11 ( BadAlloc (insufficient resources for operation) )
[ws]  Request code: 140
[ws]  Minor code: 19
[ws]  Modules: flip_page


il mio /etc/X11/xorg.conf è questo

Code:

Section "ServerLayout"
        Option         "AIGLX" "true"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Touchpad" "CorePointer"
        InputDevice    "Mouse1" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/corefonts"
        FontPath     "/usr/share/fonts/freefont"
        FontPath     "/usr/share/fonts/sharefonts"
        FontPath     "/usr/share/fonts/artwiz"
        FontPath     "/usr/share/fonts/terminus"
        FontPath     "/usr/share/fonts/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/unifont"
        FontPath     "/usr/share/fonts/local"
        FontPath     "/usr/share/fonts/cyrillic"


EndSection

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

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

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
        Identifier      "Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"
        Option          "Device" "/dev/input/event0"
        Option          "Protocol" "auto-dev"
        Option          "SHMConfig" "on"
        Option          "LeftEdge" "1900"
        Option          "RightEdge" "5400"
        Option          "TopEdge" "1400"
        Option          "BottomEdge" "4500"
        Option          "FingerLow" "25"
        Option          "FingerHigh" "30"
        Option          "MaxTapTime" "180"
        Option          "MaxTapMove" "220"
        Option          "VertScrollDelta" "100"
        Option          "MinSpeed" "0.02"
        Option          "MaxSpeed" "0.18"
        Option          "AccelFactor" "0.0010"
EndSection

Section "Monitor"
        #DisplaySize      300   190     # mm
        Modeline    "1440x900" 108.84 1440 1472 1880 1912 900 918 927 946
        Identifier   "Monitor0"
        VendorName   "LPL"
        ModelName    "0"
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>]
        Option      "XAANoOffscreenPixmaps" "true"
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1440x900" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1440x900" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1440x900" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

 Section "DRI"
        Group 0
        Mode 0666
 EndSection

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


Qualcuno ha qualche idea? è veramente possibile che con questo hardware sia vero ( come si legge in tutti gli output d'errore) che ho "insufficient resources for operation"?

approposito, giusto per completezza, ecco l'output di compiz-start
Code:

$ compiz-start
libGL warning: 3D driver claims to not support visual 0x64
libGL warning: 3D driver claims to not support visual 0x64
AIGLX detected
Using GTK decorator

(process:8296): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: File not found
compiz: Failed to load slide: freedesktop
inotify_add_watch: No such file or directory


c'è un errore anche qui ma sembra non esserci collegamento, o forse la mia noobagine non me lo fa notare....


Last edited by wildancer on Wed May 16, 2007 1:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri May 11, 2007 11:42 am    Post subject: Reply with quote

E' da molto che non fai un revdep-rebuild?
_________________
Ciao da me!
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Fri May 11, 2007 11:46 am    Post subject: Reply with quote

no, da pochissimo in realtà, però appena ho finito di aggiornare lo rifaccio e ti dico...

EDIT: Fatto, mi segna sempre il solito /opt/sun-jdk-1.4.2.14/jre/lib/i386/libnio.so (Lo fa sempre, non so perche...)
Il problema persiste
Back to top
View user's profile Send private message
wildancer
Guru
Guru


Joined: 02 Apr 2004
Posts: 472

PostPosted: Wed May 16, 2007 1:19 pm    Post subject: Reply with quote

Allora, risolto!!

Compiz ha problemi con questa scheda, per mplayer, totem e xine bisogna usare un driver video diverso da xv, che sfrutti non solo la scheda video ma anche il processore:
personalmente ho cambiato il driver di mplayer da xv a x11 (Shm), idem in xine, e per totem basta andare in sistema -> preferenze -> Selettore di sistemi multimediali e settare come uscita video "X Window System (No Xv)" ed il gioco è fatto. continuano però ad avere problemi alcune applicazioni che sfruttano le openGL, come pyMol e vmd, inoltre alcune applet java si comportano stranamente, infatti se si deve aprire un popup compare solamente una finestra con scritto "window applet java". Disattivando compiz ovviamente il problema non c'è.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum