SliTaz SliTaz Forum

You are not logged in.

#1 2014-06-20 15:24:58

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

mplayer-opt still have cpu problems

Description of mplayer-opt contains "with CPU optimizations", but:

[c]root@slitaz:~$ tazpkg list | grep mplayer[/c]

[c]mplayer-opt     1.1.1     multimedia[/c]

[c]root@slitaz:~$ mplayer[/c]

[c]MPlayer 1.1-4.6.3 (C) 2000-2012 MPlayer Team[/c]

[c]3DNow supported but disabled[/c]

[c]3DNowExt supported but disabled[/c]

--enable-runtime-cpudetection

I think this should be in any mplayer build. note, that it's not compatible with --disable-fastmemcpy

Web search tell me that it still work on 486 with this opts

--disable-mencoder

This is much better than [c]rm $fs/usr/bin/mencoder[/c] - gives shorter [c]ldd bin/mplayer[/c] output and maybe Encoders such as x264 and xvidcore can be deleted from deps. No libav dep = All Decoders is built-in.

unnecessary depends seems to be global problem in repository. While install gnome-mplayer I got python and some *-dev packages . Month ago I tried icewm - both perl+python was installed, whatever, not so usable without menu. Anybody tried something like deborphan for tazpkg?

Offline

#2 2014-06-20 19:38:52

Darjeeling
Member
Registered: 2012-02-06
Posts: 210

Re: mplayer-opt still have cpu problems

> unnecessary depends seems to be global problem ...

... my favourite audio player, music on console (moc), has an unnecessarily long tail of dependencies including perl (!), which defies the purpose of using such a small application. The whole "libtool" branch of the dependencies is probably unnecessary. It would be nice if someone could take care of this and, while they're at it, upgrade the player to the latest 2.5.0-beta2, which for some time has been the standard version of the player in Debian and many other distros.

On the other hand ... I'm not complaining. There are currently 4444 packages in the SliTaz repository and there's only a handful of developers to take care of them. Debian, Canonical, Red Hat, Arch, Gentoo etc. each have hundreds of  dedicated packagers, package maintainers and testers, which is something that's simply beyond the scope of a small project like this. I think we should be happy with what we've got ... provided of course, it works :-)

Offline

#3 2014-06-20 20:24:34

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: mplayer-opt still have cpu problems

Why aren't we giving az_ua dev access already? He could probably fix a crapload of bugs for us.

Offline

#4 2014-06-21 16:43:13

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

But how? I thihk reg-ing here required at first

http://scn.slitaz.org/index.cgi?signup

Are Password, email, username should be same as here?

Do I need  first to read+learn something more? Rules, or anybody can reccomend some guides, than not obvious to find.

Offline

#5 2014-06-21 19:21:20

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

Founded all what I need, even with translations.

http://doc.slitaz.org/en:cookbook:wok

http://www.slitaz.org/en/devel/forge.php

http://doc.slitaz.org/en:cookbook:buildhost

Will read, and search more info.

When first time I saw  http://hg.slitaz.org

i thinking that developers can do small edits just from web browser, but now I'm not sure in this. It seems installing mercurial is necessary for any edit in wok by users with dev-access. Same as for local clone+building(can be used by anybody). Only differences  host is remote, and permissions. Am I right?

Offline

#6 2014-06-21 20:18:20

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: mplayer-opt still have cpu problems

[c]hg push[/c] a commit to hg.slitaz.org requires a username/password.

Christophe Lincoln the founder/main developer of slitaz setup my account.

Send a request for account with a valid email address,username,and password.

Get his email address from the commit he pushed for you here:

http://hg.slitaz.org/wok/rev/a0428d77add4

Instructions for setup,pull,commit,push:

http://www.slitaz.org/en/devel/forge.php

Mercurial Repositories

After you enter [c]hg push[/c] you are prompted for a username followed by password.

Offline

#7 2014-06-21 21:57:07

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: mplayer-opt still have cpu problems

Yep,

We would be happy to get a new contributor! Hg let you have a copy of the wok. You can then edit any file then push your changes to the main server. But for that you need an account, like mojo said, send me your info by mail so we can give you Hg access.

- Christophe

Offline

#8 2014-06-22 11:28:11

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

u@slitaz:~/wok$ hg pull -u

pulling from http://hg.slitaz.org/wok

searching for changes

no changes found

[c]u@slitaz:~/wok$ hg push[/c]

pushing to http://hg.slitaz.org/wok

searching for changes

http authorization required for http://hg.slitaz.org/wok

realm: SliTaz Mercurial repositories

user: az_ua

password:

abort: authorization failed

but [c]ssh az_ua@tank.slitaz.org[/c] accessible

Can it be tested without hg push, by

[c]ssh az_ua@hg.slitaz.org[/c]

?

Does changing passwd on tank affects hg pass? (i'm not change it yet)

Offline

#9 2014-06-22 14:30:28

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

Now I found this, it is too old

az_ua@tank:/home/slitaz/repos$ ls -alh

drwxr-sr-x 4244 root     slitaz    128.0K Mar  9 11:53 wok

but tried [c]hg clone http://hg.slitaz.org/wok[/c]

with abort: authorization failed

Offline

#10 2014-06-22 15:16:39

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: mplayer-opt still have cpu problems

[c]tux@slitaz:~$ ping -w1 cook.slitaz.org | head -n1
PING cook.slitaz.org (37.187.4.13): 56 data bytes

tux@slitaz:~$ ping -w1 people.slitaz.org | head -n1
PING people.slitaz.org (37.187.4.13): 56 data bytes

tux@slitaz:~$ ping -w1 hg.slitaz.org | head -n1
PING hg.slitaz.org (212.83.135.187): 56 data bytes[/c]
Hg wok and cooker are on two different servers.

but tried hg clone http://hg.slitaz.org/wok

with abort: authorization failed

Weird. Cloning not requires authorization. It is anonymous read-only assess.

Offline

#11 2014-06-22 15:24:03

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: mplayer-opt still have cpu problems

az_ua,

On your hard disk make folder [c]/home/slitaz[/c]

Change permissions to /home/slitaz to 777 (=read-write-access for all)

Go to /home/slitaz ([c]cd /home/slitaz[/c])

Clone wok in this folder ([c]hg clone http://hg.slitaz.org/wok[/c])

After cloning you'll see new folder [c]/home/slitaz/wok[/c] — it is your local copy of wok. And you can work with it.

Offline

#12 2014-06-22 15:28:32

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: mplayer-opt still have cpu problems

It is possible the password was mistyped for the hg account setup.

Happened to me wink

Offline

#13 2014-06-22 15:38:14

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

Теперь моя мысля от том, что это два разных сервера подтверждена.

Никаких ошибок при клоне не имелось ввиду, просто напоминание первого и последнего  в предыдущем сообщении.

hg clone http://hg.slitaz.org/wok

...

u@slitaz:~/wok$ hg push

pushing to http://hg.slitaz.org/wok

searching for changes

http authorization required for http://hg.slitaz.org/wok

realm: SliTaz Mercurial repositories

user: az_ua

password:

abort: authorization failed

то есть проблема из-зa ~/wok? Обязателен /home/slitaz/wok?

или все же пароль установлен только на танк. но не на hg.

when i don't knew this separate server i tried

[paths]

default = ssh://az_ua@tank.slitaz.org/home/slitaz/cooking/chroot/home/slitaz/wok

az_ua@slitaz:~/wok$ hg pull -u

az_ua@tank.slitaz.org's password:

remote:

remote: Secure login on SliTaz GNU/Linux powered by Dropbear SSH server.

remote:

remote: abort: There is no Mercurial repository here (.hg not found)!

abort: no suitable response from remote hg!

Offline

#14 2014-06-22 15:57:38

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: mplayer-opt still have cpu problems

az_ua,

Какой странный огород ты нагородил sad

Место папки с wok не важно. Пусть будет ~/wok.

У меня это вообще /mnt/slitaz/slitaz/cooking/wok и ничего, всё работает.

А что это за конфиг с paths? Для чего это?

Так как это два разных сервера, то, думаю, тут сыграл свою роль человеческий фактор. Банальная ошибка в пароле как подсказывает mojo, с твоей стороны или стороны того, кто прописывал (ли?) твой пароль.

Offline

#15 2014-06-22 16:01:03

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

now I can't even test password

az_ua@slitaz:~/wok$ hg pull -u

pulling from http://hg.slitaz.org/wok

searching for changes

adding changesets

adding manifests

adding file changes

added 2 changesets with 7 changes to 7 files (+1 heads)

not updating: not a linear update

(merge or update --check to force update)

az_ua@slitaz:~/wok$ hg push

pushing to http://hg.slitaz.org/wok

searching for changes

abort: push creates new remote head 3c534fe442e0!

(merge or see "hg help push" for details about pushing new heads)

Уже удалил, что нагородил, сделал по новому с новым юзером

path     /home/az_ua/wok/.hg/hgrc

Offline

#16 2014-06-22 16:09:51

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: mplayer-opt still have cpu problems

Эээ. Если ты менял что-то в файле wok/.hg/hgrc то верни всё назад. Ничего там менять не нужно. Как склонировал, так и оставляй. На всякий случай вот содержимое этого файла и так и должно быть:

[c][paths]
default = http://hg.slitaz.org/wok[/c]
Всё что требуется для работы, как уже говорилось — создать файл ~/.hgrc и прописать в него что-то вроде:

[c][ui]
username = John Doe <my.mail@example.org>
verbose = True[/c]

Offline

#17 2014-06-22 16:22:54

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

С новым пользователем ~/wok/.hg/hgrc у меня уже дефолтный. Как и команды.

Но как видно и прошлого моего сообщения wok обновился.

hg pull -u заявил

not updating: not a linear update

(merge or update --check to force update)

$hg push

pushing to http://hg.slitaz.org/wok

searching for changes

abort: push creates new remote head 3c534fe442e0!

(merge or see "hg help push" for details about pushing new heads)

Так что до проверки пароля не доходит.

Этот merge сохраняет коммиты? или его запуск = удалить /wok/ и по новой hg clone http://hg.slitaz.org/wok

Offline

#18 2014-06-22 16:49:44

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: mplayer-opt still have cpu problems

Мне кажется, из-за того, что ты переназначал пути, что-то в твоём локальном wok сломалось. Обычно Hg должен брать изменения с hg.slitaz.org и ложить их в твою локальную папку. Всё просто. А так как ты указал в paths локальную папку самого wok, то что же получается? Получается, что Hg берет изменения из локальной папки и ложит их в локальную папку. Какая-то рекурсия, нет?

В общем, наверное, проще по-новой склонировать.

Да, а потом на основе «разбора полётов» неплохо было бы изменить информацию на сайте о том как пользоваться Hg, чтобы никто больше не наступал на подобные грабли. И не делал ненужных движений.

Offline

#19 2014-06-22 17:15:21

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

Another New (#3) user accout created.

[c]$hg clone http://hg.slitaz.org/wok[/c]

[c]$cd wok[/c]

(editing receipt)

[c]$hg st[/c]

[c]$hg commit[/c]

[c]$hg push[/c]

again authorization failed

no mistakes in pass

@Aleksej

те пути, по идее копия wok скачиваемая танком с hg

@mojo

Maybe _ character is not acceptable for hg, Or 18-lenght pass.

Or really, it is typo. If you have root access of hg, and did password install, you can try to check is it work.

Offline

#20 2014-06-22 17:46:50

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: mplayer-opt still have cpu problems

az_ua, what you mean with your words “New user accout created”?

Offline

#21 2014-06-22 17:53:41

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

tazpanel Settings Manage users Add a new user

User login: az_ua

(current login /home/u)

logout

login root

rf -rf /home/u

login az_ua

Creating /home/az_ua/.hgrc

Offline

#22 2014-06-22 19:05:39

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

@mojo

look to the end of following msg

http://forum.slitaz.org/topic/mplayer-opt-still-have-cpu-problems/page/2#post-31176

@Aleksej

Дело в том, что всё изначально делалось правильно.

Изменения в уже несуществеющих ~ ~/wok + попытка делать все сначала с livecd вряд-ли влияет например на то, что рекомендованный hg pull -u не помог при обновлении, это последнее на прошлой странице.

Редактировать hgrc я стал только когда зашел по ssh Ha Tank и нашел там wok-директорию.

Так как ip-адрес Tank и cook.slitaz.org один и тот-же + Дата tank/wok согласно ls -alh свежая, логично было предположить что именно отсюда берутся файлы кукером.  Сначала думал, что hg.slitaz.org так сказать, симлинк tank/wok. Но зная про два сервера, после все стараний и перезагрузок, переустановок и выученной последовательности действий... никаких сомнений, что или mojo ошибся, или hg не нравится символ _ и слишком длинный пароль. В документации mercurial даже насчет прописанного пароля, непонятная муть с foo + bar.

Offline

#23 2014-06-22 20:16:46

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: mplayer-opt still have cpu problems

Создание новой папки для пользователя тоже лишнее. Но я так же как и ты пробовал бы всё подряд smile

Вот мой ~/.hgrc с прописанным в него паролем. Когда я делаю [c]hg push[/c] у меня не спрашивает логин и пароль, а сразу делает дело.

[c][ui]
username = Name Surname <my_mail@example.com>
verbose = True

[auth]
slitaz.prefix = http://hg.slitaz.org/
slitaz.username = my_username
slitaz.password = abcdefghijkl[/c]
Вот только осталось попросить Pankso сменить твой пароль на другой, более короткий.

Offline

#24 2014-06-22 23:12:18

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

NEW short PASSWORD

http://paste.slitaz.org/?6a2de78108f02a77#SLIjEqev+T3jOQg62bOZoq9XcLTV5iF6afB14cxbK/M=

http://paste.slitaz.org/?a3de582abce35fbf#1ka3A/NF9zB0CTs4oQHL4aQxF5QhOLM+D6mWkePjMpA=

tux@slitaz:~/wok$ hg head

changeset:   16782:250bddc4f896

tag:         tip

parent:      16781:346b104468cc

parent:      16778:08fef135770f

user:        Aleksej Bobylev <

date:        Mon Jun 23 01:50:31 2014 +0300

summary:     Merge branches.

changeset:   16779:b3c16a7a75fb

user:        Xander Ziiryanoff <

date:        Mon Jun 23 01:20:50 2014 +0000

summary:     enable-runtime-cpudetection disable-mencoder

Offline

#25 2014-06-22 23:32:34

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: mplayer-opt still have cpu problems

tux@slitaz:~/wok$ hg push

pushing to http://hg.slitaz.org/wok

searching for changes

abort: push creates new remote head b3c16a7a75fb!

(pull and merge or see "hg help push" for details about pushing new heads)

tux@slitaz:~/wok$ hg pull -u

pulling from http://hg.slitaz.org/wok

searching for changes

adding changesets

adding manifests

adding file changes

added 3 changesets with 14 changes to 14 files (+1 heads)

not updating: not a linear update

(merge or update --check to force update)

tux@slitaz:~/wok$ hg push

pushing to http://hg.slitaz.org/wok

searching for changes

abort: push creates new remote head b3c16a7a75fb!

(merge or see "hg help push" for details about pushing new heads)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.6 MiB (Peak: 1.77 MiB) ]