Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer che fa crashare il sever X [workaround]
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
al1ta
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2005
Posts: 77

PostPosted: Fri Dec 15, 2006 9:39 am    Post subject: mplayer che fa crashare il sever X [workaround] Reply with quote

quando lancio mplayer per leggere un dvd mi muore il server X

ho una gentoo 2006.1 compilata x86_64 e kernel 2.6.19.1(vanilla) ottimizzato per IA64 (ho un pentium D dual core)

queste sono le opzioni aggiunte a mplayer:

media-video/mplayer X aac aalib arts cdparanoia cpudetection dga dts dv dvb dvdread gif gtk jpeg lzo opengl png samba sdl v4l v4l2 vorbis xinerama xv x264 xvid

uso dri con x11-drivers/ati-drivers-8.30.3-r1 ho una ati x1300

il comando che ammazza il server X è il seguente..

mplayer dvd://dev/cdrom

dove cdrom è il device avente il DVD :-)) (logico no?)


questo è invece il log file del crash

Backtrace:
0: X(xf86SigHandler+0x71) [0x48721c]
1: /lib/libc.so.6 [0x2b4f531ef3c0]
2: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_Z11ReassociateP6IRInstP3CFG+0x118) [0x2b4f54278c68]
3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_ZN6KhanPs24RewriteInstWithUseVectorEP6IRInstP3CFG+0xce) [0x2b4f542abbde]
4: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_ZN6IRInst20RewriteWithUseVectorEPS_iP3CFG+0x2e) [0x2b4f54260d7e]
5: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_ZN3CFG20RewriteWithUseVectorEv+0x40c) [0x2b4f5426244c]
6: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_ZN3CFG7RewriteEv+0x40) [0x2b4f54261600]
7: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_ZN8Compiler7CompileEP9ILProgram+0x480) [0x2b4f54204ec0]
8: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_ZN8Compiler13CompileShaderEPhS0_jP16CompilerExternal+0x157) [0x2b4f542047e7]
9: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_ZN16CompilerExternal13CompileShaderEPK13_SC_SRCSHADERP12_SC_HWSHADER+0x48) [0x2b4f54203338]
10: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(SCCompileShader+0x13) [0x2b4f54202a83]
11: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_Z23SCCompileFragmentShaderPK8sclStateRK18__GLATIILStreamRecS4_PvP10sclProgramR8cmVectorI18ConstantDescriptorERS8_I12AtiElfSymbolERK13ILProgramInfoRK17sclCompilerParams+0x327) [0x2b4f540ea087]
12: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_Z14ILCompileARBfpRK14sclInputShaderRK17sclCompilerParamsRK9sclLimitsPvPK8sclState+0x475) [0x2b4f540dedb5]
13: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_ZN8sclState7compileERK14sclInputShaderRK17sclCompilerParamsRK9sclLimits+0x4cf) [0x2b4f540c6d0f]
14: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_Z9scCompileP16sclHandleTypeRecRK14sclInputShaderRK17sclCompilerParamsRK9sclLimits+0x9) [0x2b4f540c58e9]
15: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(_ZN3scl7CompileE17sclInstructionSetPKvm21sclShaderLanguageEnum13sclFormatEnumPK9sclLimits+0x124) [0x2b4f54088924]
16: /usr/lib64/xorg/modules/drivers/fglrx_drv.so(swlOrcaCreateVideoObjects+0x255) [0x2b4f53f00be5]
17: /usr/lib64/xorg/modules/drivers/fglrx_drv.so [0x2b4f53efffd8]
18: X [0x47306e]
19: /usr/lib64/xorg/modules/extensions/libextmod.so [0x2b4f5379a5ff]
20: X(Dispatch+0x1b8) [0x446dd7]
21: X(main+0x455) [0x430f5a]
22: /lib/libc.so.6(__libc_start_main+0xe3) [0x2b4f531dd0e3]
23: X(FontFileCompleteXLFD+0x99) [0x4302e9]

Fatal server error:
Caught signal 11. Server aborting


Last edited by al1ta on Fri Dec 15, 2006 7:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 848
Location: Villach, Austria

PostPosted: Fri Dec 15, 2006 10:33 am    Post subject: Reply with quote

non so se cambia ma non dovresti dare

Code:
mplayer dvd://1 -dvd-device /dev/cdrom
per vedere il primo titolo
Back to top
View user's profile Send private message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Fri Dec 15, 2006 12:24 pm    Post subject: Reply with quote

Intanto togli la flag cpudetection che ti rallenta mplayer e basta :)

Poi: con che dispositivo di output fai partire mplayer?

Prova con -vo x11 xv eccetera (per la lista mplayer -vo help) e prova a vedere se è uno di loro.
Back to top
View user's profile Send private message
al1ta
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2005
Posts: 77

PostPosted: Fri Dec 15, 2006 12:24 pm    Post subject: Reply with quote

penso sia la stessa cosa... il problema è che non può una applicazioncina ammazzare il server X....

è un baco grosso come una casa....

nessuno sa se c'è un workaround???
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Fri Dec 15, 2006 12:53 pm    Post subject: Reply with quote

IMHO le possibilità sono due:
- hai cannato qualcosa tu
- è un baco grosso come una casa
Se si tratta della seconda una semplice ricerca su bugs.gentoo.org dovrebbe aiutarti.

Se si tratta della prima prova a guardare se nei log di X trovi qualche segnalazione ...
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
al1ta
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2005
Posts: 77

PostPosted: Fri Dec 15, 2006 3:03 pm    Post subject: Reply with quote

fatto.. ho aperto un bug....


https://bugs.gentoo.org/show_bug.cgi?id=158214


mo vediamo...
Back to top
View user's profile Send private message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Fri Dec 15, 2006 3:48 pm    Post subject: Reply with quote

Non capisco molto dell'errore, ma mi sembra più un problema dei driver ATI, scatenato dall'accesso ad essi da parte di mplayer, a generare l'errore.

Hai provato a lanciare mplayer da framebuffer con
Code:
# mplayer -vo fbdev2 dvd://1 -dvd-device /dev/cdrom

????

Ah, forse non lo hai compilato con le use per il framebuffer....

Ciriciao
mouser :wink:
Back to top
View user's profile Send private message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Fri Dec 15, 2006 4:42 pm    Post subject: Reply with quote

Per quello ti ho chiesto che vo usi!!
Caspita è il driver che può sfasciare X!
Back to top
View user's profile Send private message
al1ta
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2005
Posts: 77

PostPosted: Fri Dec 15, 2006 6:42 pm    Post subject: Reply with quote

GiRa wrote:
Per quello ti ho chiesto che vo usi!!
Caspita è il driver che può sfasciare X!



scusa.. ho un vmware attivo importante e non posso provarlo!! 8)

ho scaricato l'ebuild per la 8.31.5

https://bugs.gentoo.org/show_bug.cgi?id=155533

l'ho ricompilato e il problema è identico...

ho seguito poi le indicazioni di GiRa ed ho visto che il problema sta nel vo xv

ho fatto un rapido controllo ed ho visto che non avevo le xv installate.... quindi ho pensato ricompilandole il problema si risolve?! .... invece niente..... si pianta tutto... mentre prima moriva il server X ora si congela la macchina....

o meglio riesco ad accederci in ssh per riavviarla

:-(

il workaround è dunque.... lanciarlo con il vo gl oppure x11

mplayer -vo gl dvd://dev/cdrom
Back to top
View user's profile Send private message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Sat Dec 16, 2006 10:10 am    Post subject: Reply with quote

Ok quindi: che driver usi per la scheda video? lspci e un estratto di xorg.conf possono aiutare.
Back to top
View user's profile Send private message
al1ta
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2005
Posts: 77

PostPosted: Mon Dec 18, 2006 11:16 am    Post subject: Reply with quote

utilizzo gli ati-drivers 8.31.5 ed in particolare ho una scheda video ati x1300


01:00.0 VGA compatible controller: ATI Technologies Inc RV515 [Radeon X1300]
01:00.1 Display controller: ATI Technologies Inc RV515 [Radeon X1300] (Secondary)
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