LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 07-20-2007, 10:22 PM   #1
darkslack
LQ Newbie
 
Registered: Sep 2006
Distribution: slackware ubuntu
Posts: 23
Thanked: 0
When hide/show MPlayer and gxine,KDE crash..


[Log in to get rid of this advertisement]
Hi,guys
I have a problem of video player with my new Slackware 12 system.
Usually I use gxine and mplayer to player videos and they works
all fine in Slackware11.But in 12,when I play videos in gxine or mplayer,they dont work so good.If I leave they 'ontop' all the time
after I opened a video,they worked fine.But if I hide/minimize them
then show them(Let they ontop),KDE crashed.
What is the problem?
Any help is welcome.
darkslack is offline     Reply With Quote
Old 07-22-2007, 02:00 PM   #2
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 12.2, Slamd64 12.2
Posts: 490
Thanked: 8
What video card do have? Are you using the stock XOrg driver for it or the manufacturer's driver or the vesa driver? If you use the ati drivers, have you tried the alternate one in /extra?

Have you tried changing the driver used by MPlayer and Xine from xv to gl or visa versa, and how does this affect the problem?

Last edited by Eternal_Newbie; 07-22-2007 at 02:04 PM..
Eternal_Newbie is offline     Reply With Quote
Old 07-22-2007, 10:27 PM   #3
darkslack
LQ Newbie
 
Registered: Sep 2006
Distribution: slackware ubuntu
Posts: 23
Thanked: 0

Original Poster
Hey,
my video card is:
01:00.0 VGA compatible controller: VIA Technologies, Inc. UniChrome Pro IGP (rev 01)
And I use the openchrome drivers,
Does it matter?
Thanks..
darkslack is offline     Reply With Quote
Old 07-22-2007, 11:52 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,138
Thanked: 0
I had some troubles using some drivers presented with xine/gxine options (alt+s in xine -> video -> driver). You may want to try selecting another one.
gbonvehi is offline     Reply With Quote
Old 09-05-2007, 04:50 AM   #5
dayalja
LQ Newbie
 
Registered: Sep 2007
Posts: 3
Blog Entries: 1
Thanked: 0
Angry ugly problem

hello forum

igot a similar problem,=(

when mplayer is open playing video and i change the workspace and return to mplayer window the X crash äll an i return to the console. this is a ugly problem. i have a k7vm4 mobo with via km400 integrated video chip .

im running slack 12 with windowmaker and kernel default 2.6
Xorg is configured with driver via what come in slackware.

this not happened in slack 11*



i tried to install unichrome driver from http://unichrome.sourceforge.net/
buy tell me this error when i run make

******

In file included from /usr/local/include/drm/via_drm.h:36,
from via_memory.h:33,
from via_driver.h:55,
from via_accel.c:41:
./via_drmclient.h:30: error: conflicting types for 'uint32_t'
/usr/include/stdint.h:52: error: previous declaration of 'uint32_t' was here
make[2]: *** [via_accel.lo] Error 1

*******
please help me !!! please
dayalja is offline     Reply With Quote
Old 10-15-2007, 02:28 PM   #6
niels.horn
Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 774
Thanked: 60
Has anyone solved this problem?
In my case Slackware 12 also crashes with mplayer (when stopping a video) and when loading google earth.

Running Slackware 12 with a Via Unichrome Pro IGP card (on-board), compiled the driver from the latest sources...
niels.horn is offline     Reply With Quote
Old 10-16-2007, 07:52 PM   #7
niels.horn
Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 774
Thanked: 60
Lightbulb Maybe I solved this problem?

Replying to my own post...

Well, at least I solved the problem with Xine on my Slackware 12 machine.
I guessed it had something to do with Slackware 12, since everything worked fine on Slackware 11 and continues working fine on the only machine I haven 't upgraded yet.
So doing some research I found an article pointing to this link:

http://gitweb.freedesktop.org/?p=xor...bf15f72605901f

Then came the hard part: compiling the xorg-server

Basically my steps were:

1) copy xorg-server-1.3.0.0.tar.bz2 and MesaLib-6.5.2.tar.bz2 from the Slackware 12 DVD to the directory of your choice (in my case /root/source)
2) tar -xvjf xorg-server-1.3.0.0.tar.bz2
3) tar -xvjf MesaLib-6.5.2.tar.bz2
4) cd xorg-server-1.3.0.0/hw/xfree86/common/
5) apply changes described on the page mentioned above
6) cd ../../.. (should be in xorg-server-1.3.0.0)
7) ./configure $XORG_CONFIG \
--enable-install-setuid \
--with-dri-driver-path="/usr/X11R6/lib/xorg/modules/dri" \
--with-fontdir="/usr/share/fonts" \
--with-mesa-source="/root/source/Mesa-6.5.2/"
8) make
9) make install (this you should do as root and in runlevel 3 I guess)

If you've never compiled parts of you Slackware installation, think again before doing this... If anything goes wrong, your xserver will not start anymore (this is where the fun starts for me :-)

After this, Xine and Mplayer work perfectly for me!
GoogleEarth still crashes though, but that's not open software :-(
niels.horn is offline     Reply With Quote
Old 10-17-2007, 03:28 AM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,645
Blog Entries: 2
Thanked: 205
That's interesting. This might mean that somehow the xorg that come with slackware 12.0 was not compiled properly.

So you didn't re-compile xine or mplayer ? just xorg and mesa ?
H_TeXMeX_H is offline     Reply With Quote
Old 10-17-2007, 05:43 AM   #9
niels.horn
Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 774
Thanked: 60
Smile

Well, I wouldn't have the courage to say that anything in Slackware was compiled the wrong way :-)

What I think happened is that a small bug was discovered in xorg-server after Slackware 12 was releaser and there is simply no patch available for Slackware yet.

It is on the official x.org site, but someone has to put it into "xorg-server-1.3.0.0-i486-2" that is part of Slackware. Would you know who to suggest this to? I'm not really a frequent forum visitor, so I have no idea of where to ask...

By the way, I only compiled xorg-server, not xine and not even mesa. But to compile xorg-server, it needs the mesa sources (probably the headers). Without the mesa sources present, glx won't load after compiling (found out the hard way and found the solution in another forum).

Last edited by niels.horn; 10-17-2007 at 05:46 AM..
niels.horn is offline     Reply With Quote
Old 10-17-2007, 09:26 AM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,645
Blog Entries: 2
Thanked: 205
Quote:
Originally Posted by niels.horn View Post
Well, I wouldn't have the courage to say that anything in Slackware was compiled the wrong way :-)

What I think happened is that a small bug was discovered in xorg-server after Slackware 12 was releaser and there is simply no patch available for Slackware yet.

It is on the official x.org site, but someone has to put it into "xorg-server-1.3.0.0-i486-2" that is part of Slackware. Would you know who to suggest this to? I'm not really a frequent forum visitor, so I have no idea of where to ask...

By the way, I only compiled xorg-server, not xine and not even mesa. But to compile xorg-server, it needs the mesa sources (probably the headers). Without the mesa sources present, glx won't load after compiling (found out the hard way and found the solution in another forum).
Well if something in Slackware was compiled wrongly, then it must be fixed. But, I agree it's not likely.

I've looked through the xorg site, but I can't find the patch that you are talking about. Can you please post a link to it.

There are people here that do have connections to Pat V. and will tell him about the problem if it exists. Or you could send an e-mail, probably to the security e-mail found on this page:
http://www.slackware.com/contact/
H_TeXMeX_H is offline     Reply With Quote
Old 10-17-2007, 10:54 AM   #11
niels.horn
Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 774
Thanked: 60
The link was in my previous post :-)
Is is actually not on the x.org site (I just noticed) but on the freedesktop.org site but I found it searching the development trees on x.org

Here goes the link again:

http://gitweb.freedesktop.org/?p=xor...bf15f72605901f

What cought my attention was this description:
"This avoids a crash in xf86XVReputVideo and also cleans up the code slightly"

On the page you'll find a link to the log:

http://gitweb.freedesktop.org/?p=xor...1eb20d6cf022bc

I'll take a look and see if I find any address to post this suggestion.
niels.horn is offline     Reply With Quote
Old 10-17-2007, 11:53 AM   #12
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,645
Blog Entries: 2
Thanked: 205
My bad, I didn't see the link. It was in the first post. Sorry.

So, let's see:

Slackware 12.0 was released on 2007-07-02, that's 02 July 2007.

That patch that you're referring to was released on 24 May 2007.

That means there was 1 month time in which the patch should have been applied. The question is, was the patch applied before the release ? If this is truly the cause of the crash then the patch was not applied.

From the changelog, the most recent xorg-server patch was:
Quote:
Fri May 11 17:26:49 CDT 2007
...
x/xorg-server-1.3.0.0-i486-2.tgz: Recompiled with a patch found on
https://bugs.freedesktop.org/show_bug.cgi?id=9758 by Iain Paton, which
should fix the issues with X ignoring dpi settings.
Sure enough, it doesn't look like the patch was applied, and it may in fact be the cause of the crashes that have been experienced by many people here.

This info should definitely be sent to the security patches e-mail here:
http://www.slackware.com/contact/

You want me to do it ? Or, if you have the crash logs and other things, do you wanna do it ?
H_TeXMeX_H is offline     Reply With Quote
Old 10-17-2007, 02:04 PM   #13
niels.horn
Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 774
Thanked: 60
If you can do it for me, I'll be grateful... I'm at work at the moment and cannot send e-mail from this computer (I work at a financial institution where it is not allowed to send private e-mail).

I'll send you a PM with my e-mail address so that you can copy me in the messeges sent.

Thanks for the help!
niels.horn is offline     Reply With Quote
Old 10-17-2007, 04:09 PM   #14
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,645
Blog Entries: 2
Thanked: 205
Alright I sent it.

I don't think this board has PMs. But, I'll post if I get a response. And, of course, if it is patched, you'll see a patch added to the patches folder of the Slackware mirrors.
H_TeXMeX_H is offline     Reply With Quote
Old 10-18-2007, 04:58 AM   #15
niels.horn
Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 774
Thanked: 60
Just noticed that Slackware/current has been upgraded to X 7.3 with xorg-server 1.4 (and lots of other changes, including a new kernel, KDE 3.5.8...)
Might try this new setup in the weekend to see if it solves these problems!
niels.horn is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
interactive show/hide content 0raven0 Programming 0 01-15-2006 09:00 PM
Firefox+gxine=crash alagenchev Slackware 4 05-02-2005 04:44 AM
Mplayer - Synaptic - gxine not working Choke Linux - Software 6 01-22-2005 01:26 PM
gxine crash (dropline-gnome) Big Jim Slade Slackware 3 09-20-2004 04:17 AM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 08:09 AM


All times are GMT -5. The time now is 08:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration