Welcome, Guest
Username Password: Remember me

TOPIC: [SOLVED] Won't startup on Ubuntu Zesty + Neon

[SOLVED] Won't startup on Ubuntu Zesty + Neon 9 months ago #142370

  • markc
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • 9 months ago
I see there are quite a few crash reports for v14 but mine looks a little different so I'll start a new topic. Fresh install of the 64bit lwks deb on a Zesty laptop using the 4.10.0-19-lowlatency kernel with the Neon Plasma dev/stable packages installed over what was a 2 year old original Kubuntu install... brtfs SSD. I set "prime-select nvidia" (which is not so good with Neon Plasma desktop) and rebooted before installing the lwks deb then switched back to "prime-select intel" with the same startup crash.

Solution: re-added here for easy access. Many thanks to those in this thread who provided hints and solutions. To add the older portaudio libs to a 17.04 zesty *buntu desktop just copy n paste below then to remove them copy a paste the 2nd section...

[[ ! -d ~/tmp ]] && mkdir ~/tmp
cd ~/tmp
wget http://mirrors.kernel.org/ubuntu/pool/main/p/portaudio19/libportaudio2_19+svn20140130-1.1_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/p/portaudio19/libportaudiocpp0_19+svn20140130-1.1_amd64.deb
dpkg-deb -x libportaudio2_19+svn20140130-1.1_amd64.deb .
dpkg-deb -x libportaudiocpp0_19+svn20140130-1.1_amd64.deb .
sudo mv usr/lib/x86_64-linux-gnu/* /usr/lib/x86_64-linux-gnu/

sudo rm /usr/lib/x86_64-linux-gnu/libportaudio.so.2
sudo rm /usr/lib/x86_64-linux-gnu/libportaudio.so.2.0.0
sudo rm /usr/lib/x86_64-linux-gnu/libportaudiocpp.so.0
sudo rm /usr/lib/x86_64-linux-gnu/libportaudiocpp.so.0.0.12
Last Edit: 8 months, 3 weeks ago by markc.

Re: Won't startup on Ubuntu Zesty + Neon 9 months ago #142374

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 11147
  • 9 months ago
Hello and welcome!

The last complete log entry says
PortAudio version text = 'PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4'

Please see if this helps:
www.lwks.com/index.php?option=com_kunena&func=view&catid=21&id=127559&Itemid=81#127730
It's better to travel well than to arrive...

Re: Won't startup on Ubuntu Zesty + Neon 9 months ago #142380

  • markc
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • 9 months ago
That's for Archlinux but thanks for the clue. I tried to find an older Ubuntu deb package (pre-xenial) but even if I could locate a 3 year old package of portaudio I suspect it would not work with the latest version of PulseAudio and cause a different set of problems for the rest of my desktop system. I guess I will have to wait for a v14.1 update and hope they build the deb against a more recent version of portaudio.

As trump would say... SAD!

Re: Won't startup on Ubuntu Zesty + Neon 9 months ago #143060

  • chickgreen
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • 9 months ago
I was able to make lightworks 14 work on Ubuntu/Zesty, by extracting the libportaudio and libportaudiocpp files to a directory, creating appropriate links in that directory, and exporting a LD_LIBRARY_PATH so I can temporarily set the libraries for a session. The libraries that I used are from the yakkety updates..

Commands:

mkdir ~/tt
(copy the extracted files to this directory)
ln -s libportaudiocpp.so.0.0.12 libportaudiocpp.so
ln -s libportaudiocpp.so.0.0.12 libportaudiocpp.so.0
ln -s libportaudio.so.2.0.0 libportaudio.so
ln -s libportaudio.so.2.0.0 libportaudio.so.2
sudo chown root:root libportaudio*
LD_LIBRARY_PATH=/home/chick/tt
lightworks


packages can be found at the ubuntu websites, and the files extracted with the file archiver.

Re: Won't startup on Ubuntu Zesty + Neon 9 months ago #143061

  • markc
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • 9 months ago
Well done @chickgreen, thanks for posting a solution. I'll post more precise details (exact package URLs etc) when I try this out this evening.

Re: Won't startup on Ubuntu Zesty + Neon 8 months, 4 weeks ago #143063

  • chickgreen
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • 8 months, 4 weeks ago
As a secondary part, I also created a bash script to to the export and then start lightworks - then I modified the Ubuntu listworks.desktop file to execute the script...

Re: Won't startup on Ubuntu Zesty + Neon 8 months, 4 weeks ago #143137

  • w84death
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • 8 months, 4 weeks ago
I found the easiest solution.
Just download two libs and put them on /usr/lib/lightworks/.

This is the detailed instruction for those who want a little help.

1. Download:
- packages.ubuntu.com/yakkety/libportaudio2
- packages.ubuntu.com/yakkety/libportaudiocpp0
Choose amd64 on the bottom and then any mirror.

2. Extract .deb files. Right click on file -> extract here.
3. Go to each of extracted folder and extract data.tar.xz
4. go to extracted folder usr/lib/x86_64-linux-gnu/ and move two files to e.g. ~/Downloads/
5. Do this for both files
6. you should have 4 files:
- libportaudiocpp.so.0
- libportaudio.so.2
- libportaudiocpp.so.0.0.12
- libportaudio.so.2.0.0
7. now just run the command in terminal:
- cd ~/Downloads/
- sudo cp libportaudio* /usr/lib/lightworks/

Lightworks will work and you do not mess with OS.
Last Edit: 8 months, 4 weeks ago by w84death.

Re: Won't startup on Ubuntu Zesty + Neon 8 months, 4 weeks ago #143163

  • chickgreen
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • 8 months, 4 weeks ago
A much more elegant solution - thanks! I will need to remember to remove the libs, if and when lwks updates their runtimes.

Re: Won't startup on Ubuntu Zesty + Neon 8 months, 4 weeks ago #143187

  • markc
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • 8 months, 4 weeks ago
A great help, thanks @w84death. You just missed an extra point about how to extract the deb files. I can google it but some folks here are cli-shy.

Re: Won't startup on Ubuntu Zesty + Neon 8 months, 4 weeks ago #143240

  • chickgreen
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • 8 months, 4 weeks ago
Using the file manager, right click the deb file and choose "Open With" - open the files with the file archiver...

Re: Won't startup on Ubuntu Zesty + Neon 8 months, 4 weeks ago #143241

  • w84death
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • 8 months, 4 weeks ago
I updated my post, but it's:
Right click on file -> extract here.

Re: Won't startup on Ubuntu Zesty + Neon 8 months, 4 weeks ago #143249

  • markc
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • 8 months, 4 weeks ago
Heh, I happen to be gui-shy and was hoping for the right incantation to do it from a shell so I could put all the exact commands into a copy n paste bash script. Something like...

#!/bin/bash
[[ ! -d ~/tmp ]] && mkdir ~/tmp
cd ~/tmp
wget http://mirrors.kernel.org/ubuntu/pool/main/p/portaudio19/libportaudio2_19+svn20140130-1.1_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/p/portaudio19/libportaudiocpp0_19+svn20140130-1.1_amd64.deb
dpkg-deb -x libportaudio2_19+svn20140130-1.1_amd64.deb .
dpkg-deb -x libportaudiocpp0_19+svn20140130-1.1_amd64.deb .
sudo mv usr/lib/x86_64-linux-gnu/* /usr/lib/x86_64-linux-gnu/
lightworks

Which worked for me on *buntu zesty with neon dev/stable.

However the main program does not pick up on my desktop DPI settings (240 for a 4k screen) so I can't read the login panel because the default fontsize is way too small. I guess some more googling to see if Lightworks has any DPI configs will be just the beginning of much more googling to understand how to create my first test video.

Update: wow, how about that, Lightworks is completely unusable for me on a 4K screen. Half an hour of googling and I can't find any HiDPI settings to improve the situation. Looks like I will have to continue exploring video editing via Kdenlive and hope it doesn't crash too much. Maybe Lightworks v16 will have HiDPI support.
Last Edit: 8 months, 3 weeks ago by markc.

Re: Won't startup on Ubuntu Zesty + Neon 8 months, 4 weeks ago #143252

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 11147
  • 8 months, 4 weeks ago
wow, how about that, Lightworks is completely unusable for me on a 4K screen

Do you mean you are connected to a 4K monitor and it doesn't work properly, or do you mean you're trying to edit some kind of 4K footage (UHD for example) and your computer isn't able to handle it fluently using Lightworks, or both, or something else?
It's better to travel well than to arrive...

Re: Won't startup on Ubuntu Zesty + Neon 8 months, 4 weeks ago #143255

  • markc
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • 8 months, 4 weeks ago
I'm using a 13" QHD (3200x1800) laptop and connected to a 55" 4K monitor and the default fontsize is so small on both screens it makes the whole program completely unusable, for me. I gave up trying to determine if Lightworks has some adjustable DPI setting. I couldn't find anything via google and I can't "see" anything on the screen to figure out how to configure the program.

Working with 4K video is another issue but my laptops i7-4810MQ CPU + nVidia 860M gfx card might just cut it. I was looking forward to finding out if it would.

Re: Won't startup on Ubuntu Zesty + Neon 8 months, 4 weeks ago #143258

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 11147
  • 8 months, 4 weeks ago
Opening cogs menu of project browser (upper right hand side of the screen shown directly after Lightworks start) you'll find "Appearance" menu. There you could adjust "Scale" and other parameters. That should work for the monitor you use.

I would be interested knowing whether activating "Scale.Calculate automatically" produces good results with your 55 inch monitor.
It's better to travel well than to arrive...
Last Edit: 8 months, 4 weeks ago by hugly.
Time to create page: 0.59 seconds
Scroll To Top