Graphics in VCV Rack (linux) different [SOLVED]

Hi!

I am running VCVRack on Ubuntu 18.04 and experience some strange behaviour with the graphics in VCVR 0.6.2c.

When I start Rack by double clicking app it starts fine and looks good

But when starting Rack from a .desktop the graphics are less good.

What is happening?

What’s your graphics card and installed graphics drivers?

I found this after some googling and running in terminal - dont know if it helps…

Grafik: Intel® Ivybridge Mobile
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: Intel Open Source Technology Center (0x8086)
OpenGL vendor string: Intel Open Source Technology Center

Intel HD3000 is pretty old. I haven’t tested Rack on that GPU. Perhaps time for a new laptop?

Rack is running good on it - its just when I start program from a .desktop file the graphics is
bad. When I click direct on app it works good - no need for a new laptop.

You need to cd to Rack’s directory before running it so it can load the assets. My wrapper for Rack does

#!/bin/sh
cd /path/to/Rack
./Rack

to avoid the issue.

2 Likes

From Installing & Running - VCV Rack Manual

with the command-line, cd into the Rack directory and run ./Rack .

You need to run Rack from the Rack directory. If you want to hack your own .desktop file, you need to use something like

Exec=bash -c 'cd ~/Applications/Rack && ./Rack'

Ok, thanks korfuri!

But how to place this into a .desktop-file?

Or…should I make a .sh and point .desktop to that file instead, hmmm will test this chain.

Ok Andrew - will look at it. Thanks.

Andrew and korfuri - a big thanks to both of you!

Both solutions worked well!

In linux you place a desktop file in your ~/.local/share/applications folder. In this location it will then show up in your Menus setting. No need for a shell script.

1 Like

I used a shell script and running it from my quick lauch, but is nice to know you method, thanks

PS. Full desktop file specs from freedesktop.org are here

My .desktop file that seems to work fine as an example:

[Desktop Entry]
Exec=/home/user/Applications/Rack/Rack
Icon=/home/user/Applications/Rack/res/icon.png
Name=VCV Rack MT
Path=/home/user/Applications/Rack
Type=Application

Setting Path is enough to set the working directory for this.

1 Like

Wasn’t aware of Path. Your version is better then.