Tiny Core Linux

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

Title: vlc will not start
Post by: ulfr on August 26, 2020, 01: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, 06: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, 06:07:39 PM

     thanks rich

     i will try adding xorg

     ulfr 
Title: Re: vlc will not start
Post by: Rich on August 26, 2020, 06: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, 07:22:39 PM


     hi rich 

     alas loading X gives the same error 


     wanderer 
Title: Re: vlc will not start
Post by: Juanito on August 26, 2020, 10:48:43 PM
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 26, 2020, 10:49:36 PM
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 26, 2020, 10:50:30 PM

   thanks will try 

   ulfr
Title: Re: vlc will not start
Post by: Rich on August 27, 2020, 04: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, 05: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, 11:59:36 AM

     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, 01: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 27, 2020, 10:19:17 PM
What processor do you have?
Title: Re: vlc will not start
Post by: ulfr on August 28, 2020, 01: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, 01: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, 02: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, 05: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, 05: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, 05: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, 09:02:08 AM

  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 29, 2020, 09:01:32 PM

     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 29, 2020, 09:13:48 PM


        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, 07: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 August 31, 2020, 09:34:52 PM
     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