You are not logged in.

#1 2012-01-16 20:41:45

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

[solved thx] After pacman -Syu, VLC, mplayer and others restart X

I've experiencing this problem on fedora 16, never in other distros with kernel < 2.6.9, changed to arch linux again, and with the kernel 3.1.9-2-ARCH I try start vlc with video, restarts X.

Only one player (that I don't like) plays normally, Totem (on fedora too, only totem)

What may I do? again without VLC, mplayer, gnome player, and others

VLC works normally with audio. And stops working AFTER system upgrade.

$ uname -r
3.1.9-2-ARCH
[ilkyest@arch-ilkyest ~]$ lsmod | grep fglrx
fglrx                3064695  80
button                  4470  1 fglrx
$ fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Radeon HD 5670
OpenGL version string: 4.2.11318 Compatibility Profile Context

$ glxinfo | grep direct
direct rendering: Yes
    GL_ARB_draw_indirect, GL_ARB_draw_instanced,
    GL_EXT_copy_buffer, GL_EXT_copy_texture, GL_EXT_direct_state_access,

Last edited by ilkyest (2012-01-17 23:08:33)

Offline

#2 2012-01-16 22:41:48

doorknob60
Member
Registered: 2008-09-29
Posts: 403

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

Make sure you don't use XV output, use vaapi (best probably) or GL or something else. XV crashes X, it's a bug in Catalyst.

Last edited by doorknob60 (2012-01-16 22:44:33)

Offline

#3 2012-01-16 23:00:53

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

doorknob60 wrote:

Make sure you don't use XV output, use vaapi (best probably) or GL or something else. XV crashes X, it's a bug in Catalyst.

And how could I sure use it? I've not seen VAAPI on "video" settings at VLC

Offline

#4 2012-01-17 20:47:10

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

noone else?

Offline

#5 2012-01-17 22:00:59

matse
Member
Registered: 2011-04-27
Posts: 299

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

Offline

#6 2012-01-17 22:16:17

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

I can't believe

questions about.
1) I MUST compile VLC?
2) if yes..... why after a system upgrade?

I need VLC ONLY to watch vídeos that, now, are restarting my X. just for it...... And it's happening after a pacman -Syu.

about compiling.
I'm receiving a error 2

Install libva from http://www.splitted-desktop.com/~gbeauchesne/libva/ . We do not support other libraries than the one from Mr Beauchesne.

I've download version 0.32.0 (http://www.splitted-desktop.com/static/ … ds2.tar.gz)

uncompressed it...... and run ./config; make and try to run a make install

on ./config... all normal

on make
/bin/sh: line 17: cd: src: file/folder not found
make[1]: ** [all-recursive] Error 1
make[1]: exiting `/home/ilkyest/Downloads/libva-0.32.0'
make: ** [all] Error 2


and now?

Last edited by ilkyest (2012-01-17 22:24:45)

Offline

#7 2012-01-17 22:22:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

ilkyest wrote:

I can't believe

questions about.
1) I MUST

What? I have no idea what you said.

Offline

#8 2012-01-17 22:29:37

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

Karol.... in every install of Arch, on my computer, I had never compile VLC.....

I can't believe now that, after a pacman -Syu, I must compile it to watch my videos.....
VLC installed from pacman, or yaourt don't works with my graphic card anymore

and I don't know why, On fedora are the same issue.... no VLC. VLC restart my X, and I dont like other programs than VLC. Toten don't restarts.....Mplayer restarts X, gnome media player do it too......just toten don't, but on it I can't configure sound

Offline

#9 2012-01-17 22:31:27

matse
Member
Registered: 2011-04-27
Posts: 299

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

Just use

vlc -V glx MyVideo.avi

or

vlc -V opengl MyVideo.avi

These shoud work with catalyst. I don't know how to get vaapi to work with vlc, I did use vaapi with mplayer once and had to recompile mplayer for this (guess it was an AUR package). But above commands should just be fine.

Offline

#10 2012-01-17 22:32:58

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

let's try on this way. Anyone here knows if a big change were done on VLC, or other players, and catalyst, that restart X?

Offline

#11 2012-01-17 22:38:13

matse
Member
Registered: 2011-04-27
Posts: 299

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

Just looked at VLC's PKGBUILD and it seems that vlc is already built with vaapi support, so just do a

vlc --ffmpeg-hw MyVideo.avi

and this should work (of course you need to install the needed library).
Further this is not an issue of vlc or mplayer but an issue of the newest catalyst driver. So you might want write AMD about it or "upgrade" to the open source radeon driver in order to get working xv output.

//Edit:
Of course downgrading catalyst (with xorg...) will allow you to use xv, too. I guess the error came with catalyst 11.11 (?).

Last edited by matse (2012-01-17 22:39:14)

Offline

#12 2012-01-17 22:40:37

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

okay.... I don't want write to AMD.... no answer last time

and..... is there some version of catalyst that works fine? I would try change the repository....

or.... the script from AMD, has the same problem?

Last edited by ilkyest (2012-01-17 22:41:53)

Offline

#13 2012-01-17 22:44:35

matse
Member
Registered: 2011-04-27
Posts: 299

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

On the WIKI there is everything mentioned you need. The catalyst repo there includes old versions of catalyst and there is a repo for xorg 1.10 (which you will need - as I wrote you have to downgrade xorg, too). But think twice about it, do you really need xv output so urgently that you want to bother around with this stuff? I mean there are alternatives to xv for most programs...

Offline

#14 2012-01-17 22:46:41

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

well... With you answer, I try run vlc. restart X again.

let's try with others....

The opensource driver makes my GPU hot.

Offline

#15 2012-01-17 22:48:42

matse
Member
Registered: 2011-04-27
Posts: 299

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

Do you want to tell me that

vlc -V glx MyVideo.avi

or

vlc -V opengl MyVideo.avi

crashes you x server?

Offline

#16 2012-01-17 22:50:59

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

oh...yes.... can't post yet.....
with glx it's (finally) workin

Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")
libva: VA-API version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns -1

I'll post with opengl in a few minutes

Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")
libva: VA-API version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns -1

open gl working too......finally......three months going to windows, cause can't see videos on linux......finally.....

Last edited by ilkyest (2012-01-17 22:52:57)

Offline

#17 2012-01-17 22:53:09

matse
Member
Registered: 2011-04-27
Posts: 299

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

So if glx works, here you go wink

Offline

#18 2012-01-17 22:55:52

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: [solved thx] After pacman -Syu, VLC, mplayer and others restart X

more one question.....

may I change the command on KDE putting with glx/opengl?

Offline

Board footer

Powered by FluxBB