Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: ulfr on August 26, 2020, 04:03:02 PM

Title: vlc will not start
Post by: ulfr on August 26, 2020, 04:03:02 PM

    hi all

    i am trying to set up tinycore 11 with firefox and vlc

    firefox esr will run play youtube and has sound

    vlc will not start with errors   
 
    failed to intialise XRander
    and others 

    any ideas

   thanks

   ulfr
Title: Re: vlc will not start
Post by: Rich on August 26, 2020, 09:06:23 PM
Hi ulfr
That sounds like maybe you need to be running  Xorg  to use  vlc.
Title: Re: vlc will not start
Post by: ulfr on August 26, 2020, 09:07:39 PM

     thanks rich

     i will try adding xorg

     ulfr 
Title: Re: vlc will not start
Post by: Rich on August 26, 2020, 09:09:40 PM
Hi ulfr
Actually, you need to switch from  Xvesa  to  Xorg.
Title: Re: vlc will not start
Post by: ulfr on August 26, 2020, 10:22:39 PM


     hi rich 

     alas loading X gives the same error 


     wanderer 
Title: Re: vlc will not start
Post by: Juanito on August 27, 2020, 01:48:43 AM
Assuming you are speaking of the vlc3 extension with Core-11.x...

This seems to work fine:
Code: [Select]
$ tce-load -i graphics-KERNEL alsa-config Xorg-7.7 pavucontrol vlc3
$ startx

..then start pavucontrol and start vlc
Title: Re: vlc will not start
Post by: ulfr on August 27, 2020, 01:49:36 AM
here are the errors
the same if xorg is loaded or not 

Code: [Select]
[08539290] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
qt.qpa.xcb: failed to initialize XRandr
qt.qpa.xcb: XKeyboard extension not present on the X server
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-tc'
libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/local/lib/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/local/lib/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/local/lib/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /usr/local/lib/dri)

Illegal instruction


ulfr

    [EDIT]: Added code tags.  Rich
Title: Re: vlc will not start
Post by: ulfr on August 27, 2020, 01:50:30 AM

   thanks will try 

   ulfr
Title: Re: vlc will not start
Post by: Rich on August 27, 2020, 07:09:05 AM
Hi ulfr
here are the errors
the same if xorg is loaded or not 

Code: [Select]
[08539290] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
 ----- Snip -----

Illegal instruction
Thats a problem. It means the program needs to execute an instruction that your processor does not support.
Title: Re: vlc will not start
Post by: Juanito on August 27, 2020, 08:43:05 AM
I updated vlc3 and forced it to compile for i486, maybe you could update your version and try again?
Title: Re: vlc will not start
Post by: ulfr on August 27, 2020, 02:59:36 PM

     thanks very much guys

     much appreciated

     will try with new one 


     ulfr
Title: Re: vlc will not start
Post by: ulfr on August 27, 2020, 04:48:10 PM

      hi guys

      tried new vlc3 from repo
      same error

      here is what i did to replicate error

      made home and tce on sda1
     
      downloaded
     
      alsa-config
      alsa
      pulseaudio

      vlc3 
      firefox-ESR 

      loaded them in that order
      firefox-ESR runs plays youtube with sound
      vlc3 give same error and will not start

      vlc3 works with sound on tinycore 10
   
      i note that the deps for vlc3 in 10 and 11 are different 

      thanks 

      ulfr




     
Title: Re: vlc will not start
Post by: Juanito on August 28, 2020, 01:19:17 AM
What processor do you have?
Title: Re: vlc will not start
Post by: ulfr on August 28, 2020, 04:25:26 AM

  hi juanito

  thank you for all your help but i fear i am taking up too much of your time
  have other people reported this issue 

  the processor on this machine is an old intel celeron

  however since the vlc3 in tinycore 10 worked and the vlc3 in tinycore 11 didn't
  what has changed between the two

  thanks again

  ulfr 
Title: Re: vlc will not start
Post by: Juanito on August 28, 2020, 04:32:52 AM
It looks like an instruction that an intel celeron cannot process crept in somehow.

The latest vlc3 was compiled with both "-march=i486 -mtune=i686" and "--target=i486-pc-linux-gnu" and reports it was configured for "architecture          : i486 mmx sse sse2"

Does the tc-10.x vlc3 work in tc-11.x?
Title: Re: vlc will not start
Post by: ulfr on August 28, 2020, 05:05:21 AM


   the vlc3 in tinycore 10 will not load in tinycore 11
   because a kernel specific dependency could not be found 

   ulfr 
Title: Re: vlc will not start
Post by: Rich on August 28, 2020, 08:08:57 AM
Hi ulfr
I'd like to demonstrate the value of providing exact error messages reported by the operating system.

In your original post, you reported:
...    vlc will not start with errors   
 
    failed to intialise XRander
    and others ...
Which suggested the problem was you needed to be running Xorg.

6 posts later, you provided the actual error messages produced:
here are the errors
the same if xorg is loaded or not 

Code: [Select]
[08539290] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
 ----- Snip -----

Illegal instruction
This showed the actual problem was your processor did not support some instruction that the program was trying to execute.
Title: Re: vlc will not start
Post by: Rich on August 28, 2020, 08:14:36 AM
Hi Juanito
Except for  original-modules-KERNEL , I don't see any  .dep  files that contain a specific kernel version in the TC10 or TC11 repos.
Title: Re: vlc will not start
Post by: Juanito on August 28, 2020, 08:33:41 AM
thanks - I see the 10.x vlc3 depends on libavdevice3, whereas the 11.x vlc3 depends on libavdevice4, so the two are not interchangeable.
Title: Re: vlc will not start
Post by: ulfr on August 28, 2020, 12:02:08 PM

  yes

  sorry rich
 
  i will make sure i provide the actual error output in the future
  didn't mean to waste your time

  and thanks for all the help
  much appreciated

  ulfr

 
Title: Re: vlc will not start
Post by: ulfr on August 30, 2020, 12:01:32 AM

     hi guys

     just wanted to update this thread 

     my goal is to build a basic system with tinycore 11
     the only apps that need to be updated are firefox and vlc
     the rest are various utility programs that i have never had any problems with
     since firefox will play you tube with sound
     i am half the way there
     i note that vlc 3 in tinycore 10 will work with sound
     and that dcore stretch will download a working vlc 3 from debian and make it into an sce
     ( i have not tried setting up sound in dcore yet but will  )
     so i have hope that i will be able to bundle binaries together to make a working vlc for tinycore 11
     anyway that is what i am working on now 
     any words of wisdom to speed me on my quest will be appreciated
     
     thanks for making this great system and for all the help

    ulfr
   
 


 
Title: Re: vlc will not start
Post by: ulfr on August 30, 2020, 12:13:48 AM


        success

        both firefox (plays youtube) and vlc work with sound in dcore stretch

         ulfr
Title: Re: vlc will not start
Post by: ulfr on August 31, 2020, 10:38:40 PM

     hi rich and juanito

     just to update things 

     i have been trying to find a vlc that will work in tinycore 11
     but so far no luck

     i dont have the ability to compile so complex a program
     so i am just looking for binaries

     most have run but stopped with missing dependencies 
     i then slowly added them
     until eventually with one the glibc was too old

     anyway will keep trying

     thanks for making such a great system 
     
     ulfr
Title: Re: vlc will not start
Post by: ulfr on September 01, 2020, 12:34:52 AM
     at the risk of boring everyone to death
     i just put tinycore 11 on another computer
     and vlc3 works fine on this one
     of course verifying what you guys said about it being the chip

     well i can use tinycore 11 on this computer

     but will still look to see what vlc3 binaries i can find that will run on the other computer
     its been a lot of fun   

     ulfr
Title: Re: vlc will not start
Post by: grenchyoll on April 03, 2021, 07:47:06 PM
Hello TinyCore Team

maybe Im in the same waters here ,

trying to run VLC3 on my old computer (   pentium M  , according to VLC  , Pentium is supported from PRO on  )
 
after installed pavucontrol as per instructions on another post ,
I installed VLC3 , reboot

VLC blinks a screen , but never open

could it be error due to unsupported instructions

how do I see that ? how to run command line to get this report ?

regards

G.O
Title: Re: vlc will not start
Post by: grenchyoll on April 03, 2021, 08:29:16 PM
ohh more newbe impossible ,   :P

on terminal , type VLC enter ....

the report said ... ILLEGAL INSTRUCTION  .... nouaaaaa  :-[ :-[ :-[ :-[

for the records , DELL latitude Pentium M

Title: Re: vlc will not start
Post by: Rich on April 03, 2021, 10:16:23 PM
Hi grenchyoll
It looks like the  Illegal instruction  might be coming from  qt.
Title: Re: vlc will not start
Post by: Juanito on April 04, 2021, 12:51:42 AM
qt was compiled with "-march=i486 -mtune=i686", but perhaps those flags were not used everywhere by the build routines?
Title: Re: vlc will not start
Post by: grenchyoll on April 04, 2021, 02:49:42 AM
Hello Rich , Juanito thanks for your replies , very kind .

Ive been playing HD videos/audio from  youtube on Firefox 87 , with command line   
" apulse Firefox "

so its weird VLC cant even start due to "instructions"  , isnt it  ?!?  .

So I tried my last resort , the OldTimer  " mplayer-cli "  but it cant start as well . After the command line "mplayer" I read :

"error while loading shared libraries : libXss.so.1 : cannot open shared object file ,
no such file or directory "

I look at APP and search for this tcz on repo ,  and I found it  , but it says
0 bits to download , so it looks its installed

any thoughts are welcome !!!

GO
 
Title: Re: vlc will not start
Post by: Juanito on April 04, 2021, 02:59:18 AM
firefox does not depend on qt-5.x, but vlc does depend on qt-5.x, so it is not particularly surprising that one works and the other does not work.

You can check if the libXss extension is loaded with:
Code: [Select]
$ tce-status -i | grep libXss
Title: Re: vlc will not start
Post by: Juanito on April 04, 2021, 04:01:28 AM
libXss added to mplayer-cli dep file
Title: Re: vlc will not start
Post by: grenchyoll on April 04, 2021, 05:19:07 AM
Hello Juanito , thks for your replies . Very nice !

After some trial and errors , I could make it work .

- in Apps I had to download the following , one after another :
   ---- libXss.tcz
   ---- libXv.tcz
   ---- libXxf86dga.tcz

I made all that to load on boot , after that I can finally start mplayer on terminal , cool .

I finally can see JASON & The ARGONAUTS playing
on my "OldTimer" 32bit Dell D610 Pentium M .

thanks a lot !

GO
Title: Re: vlc will not start
Post by: nick65go on April 04, 2021, 06:24:25 AM
Hi, I use tc12 (both 32 and 64 bits) from now (UEFI), and tc4-tc6 for old PC (BIOS). But I am curios:
1. Why someone will "upgrade" from (let's say) tc9 up to tc10 or tc11, but not directly to tc12?
2. Why use the LATEST versions for software? For example, why vlc3 and not vlc2? Or why LibreOffice and not gnumeric?
Could you share what you personally missed in older versions? It is not criticism or suggestion what to use, just try to learn... 
(only for Firefox I understand the need to upgrade, because perceived security, freedom/privacy for bank transactions etc).
If someone use huge memory consumption (and long dependencies list) software like Firefox/LibreOffice/VLC etc, then why not use tc12 kernel? What is the criteria, because RAM limitation could not be one, for these choices?
Thank you.
Title: Re: vlc will not start
Post by: Rich on April 04, 2021, 08:09:36 AM
Hi grenchyoll
... so its weird VLC cant even start due to "instructions"  , isnt it  ?!?  ...
If you still have  vlc3  on your machine, does it start with one of these commands:
Code: [Select]
nvlcor:
Code: [Select]
cvlcOr does it still produce an error message containing  qt  and/or  Illegal instruction ?
Title: Re: vlc will not start
Post by: grenchyoll on April 04, 2021, 06:00:31 PM
Hi, I use tc12 (both 32 and 64 bits) from now (UEFI), and tc4-tc6 for old PC (BIOS). But I am curios:
1. Why someone will "upgrade" from (let's say) tc9 up to tc10 or tc11, but not directly to tc12?
2. Why use the LATEST versions for software? For example, why vlc3 and not vlc2? Or why LibreOffice and not gnumeric?
Could you share what you personally missed in older versions? It is not criticism or suggestion what to use, just try to learn... 
(only for Firefox I understand the need to upgrade, because perceived security, freedom/privacy for bank transactions etc).
If someone use huge memory consumption (and long dependencies list) software like Firefox/LibreOffice/VLC etc, then why not use tc12 kernel? What is the criteria, because RAM limitation could not be one, for these choices?
Thank you.
  Hello nick65go . Yes , you got the point , the idea is to use latest Firefox  for safe browsing (banking , email )  I couldnt have that with Windows XP on this machine anymore . So for now TC12 is working perfectly for this purpose , I can browse with no restrictions whatsoever .  Having media players are secondary aim to this revival project ( dell latitude D610 Pentium M ,  only  1gb RAM ddr2 ) .

I tried Gnumeric but is off on TC12 32bit , something went wrong when installing , LibreOffice is perfect and runs fine on this machine . Other survival kit installed , calculator , epdf-view , xmms , enough to basic tasks . Now I will try to learn some mplayer commands .

any thoughts are appreciated and really welcome .

G:O

Title: Re: vlc will not start
Post by: grenchyoll on April 04, 2021, 06:30:13 PM
Hi grenchyoll
... so its weird VLC cant even start due to "instructions"  , isnt it  ?!?  ...
If you still have  vlc3  on your machine, does it start with one of these commands:
Code: [Select]
nvlcor:
Code: [Select]
cvlcOr does it still produce an error message containing  qt  and/or  Illegal instruction ?
  hey Rich

I had it unistalled , but after your reccommendation I installed VLC3 again , and now its working .

No instructions alert anymore .  I dont know if there's something to do with the other dependencies which avoided mplayer to install as well . What I know is after installed those , now I could install and run VLC3 . I don't have a gui , only see "running VLC with the default interface " but no proper gui started when I click on the VLC icon . I used the command line and could play video . Would be more interesting to have a gui .

thanks for your help and guidance !!!!!

GO

Title: Re: vlc will not start
Post by: Rich on April 04, 2021, 07:24:39 PM
Hi grenchyoll
Thank you for testing that.
The  cvlc  command launches  vlc3  in command line mode.
The  nvlc  command launches  vlc3  using an  ncurses  interface. Think DOS graphics if you go back that far.
The GUI is provided by  qt5  which the above 2 commands avoid. I think this confirms the  Illegal instruction  is coming from  qt5.
Title: Re: vlc will not start
Post by: nick65go on April 05, 2021, 08:03:53 AM
@grenchyoll: Thanks for your feed-back.
I am glad that you can run firefox and libreoffice on your PC. mplayer is also very good choise for your resources.
FYI: in TC12 all software work OK for me. Even I run OK some which exist only in old TC{4..11}.
So MAYBE some tcz are not compiled for your CPU capabilities. Or maybe you mixed old tcz (from tc9/10/11) with new tcz (from tc12) as I frecvently did in the past when a tcz was missing. Or maybe you mixed tcz from tc12_32 with tcz from Tc12_64, etc.

PS: if you can run libreoffice with 1GB RAM, then abiword (is like WinWord in WinXP), or gnumeric (is like Excel in WinXP) could be better for RAM resources. [But no equivalents for Powerpoint in WinXP, if you need it as a home user].
If you have troubles with gnumeric.tcz in TC12, please open a new specific post about it, and provide details, to ask for help in the forum (maybe first search about keyword gnumeric in this forum).