DEV Community

loading...

Discussion on: Installing Snap On Chrome OS

Collapse
eduardfaus profile image
Eduard Faus Author

Yea I got confused you don't need developer mode. Xhost+ gives the terminal access to the terminal because if not sometimes you would get the error Can't connect to display I researched and apparently xhost +si:localuser:root might be safer to use but I don't know. Also, I am now having issues with a lot of apps in snap sorry if the tutorial wasn't good its my first.

Collapse
bradtaniguchi profile image
Brad • Edited

No worries ^.^ I was reading your tutorial mainly because my experience running snap apps wasn't very good.

So far anything snap+GUI related ran really slow on my Pixelbook to the point I kinda gave up on the approach XD. Been looking for answers or advice on improving performance, or if its just something one has to live with due to all the extra virtualization layers.

Thread Thread
eduardfaus profile image
Eduard Faus Author

Have you enabled gpu acceleration

Thread Thread
bradtaniguchi profile image
Brad • Edited

I was keeping track of GPU acceleration support from the ChromeOS, and was using a flag for the longest time. Last I checked (several months ago?) The Pixelbook got GPU acceleration out of the box, at least for normal Linux apps. Since then VSCode runs pretty smooth, at least visually.

Is there another GPU flag/help for snap based apps? Or is there another GPU flag I could use to further improve the performance of the Linux/Snap apps?

(edited previous post to clarify only snap installed apps ran really poorly)

Thread Thread
eduardfaus profile image
Eduard Faus Author • Edited

I'm kind of new to the chrome os environment so I couldn't tell you. I do know about regular Linux and can tell you that snap app aren't the most efficient. That's why most people rather flatpack or other options. Also, why is your vscode installed with snap. I recommend installing it with the deb file. If you need help with that look at my other tut it's so simple.

Thread Thread
bradtaniguchi profile image
Brad

I have had VSCode installed via the .deb file and it fine :D. I have been playing around with snap installations for other applications, and have been seeing some issues when it comes to performance there tho

Thread Thread
eduardfaus profile image
Eduard Faus Author

Yea Snap in general isn't good for performance plus the virtualization and low specs. Try flatpack I think you might get better results if you want ill make a tutorial (I know you can search it up I'm just really bored).

Thread Thread
bradtaniguchi profile image
Brad

Thanks for the recommendation, I'll have to checkout that route and see where it goes :D

Thanks again!