GithubHelp home page GithubHelp logo

graphics-core22-samples's Introduction

graphics-core22-samples apps

This snap demonstrates how to package existing, or new, GL applications and CUDA, and correctly strip any graphics/cuda libraries that are provided via content interface.

The provided apps can be used to test/introspect graphics-core22 providers for correctly working GL stacks.

This snap requires NVIDIA-assemble snap for CUDA sample apps to work.

For details of the graphics-core22 content interface see:

https://discourse.ubuntu.com/t/the-graphics-core20-snap-interface/23000

graphics-core22-samples's People

Contributors

jocado avatar saviq avatar xnox avatar

Watchers

 avatar  avatar

Forkers

saviq jocado

graphics-core22-samples's Issues

Layouts with source from graphics content interface using incorrect path

Hi @xnox

Currently when this snap is connected to the content interface from the nvidia-core22 snap, it fails to run apps:

# graphics-core22-samples.deviceQuery 
cannot update snap namespace: cannot use "/snap/graphics-core22-samples/5/graphics/X11/XErrorDB" as bind-mount source: not a directory
snap-update-ns failed with code 1

Seems to be because the path in the nvidia-core22 snap is actually:

  • $SNAP/usr/share/X11/XErrorDB
    not:
  • $SNAP/X11/XErrorDB

I haven't created an MR with a suggested fix in this snap, because I'm not aware of all the details of the recent changes in the nvidia-core22 rework, and didn't want to assume anything.

It could be as sinple as updating the layout here:

layout:
  /usr/share/drirc.d:
    bind: $SNAP/graphics/usr/share/drirc.d
  /usr/share/X11/XErrorDB:
    bind: $SNAP/graphics/usr/share/X11/XErrorDB
  /usr/share/X11/locale:
    bind: $SNAP/graphics/usr/share/X11/locale

Cheers,
Just

Publish on the public store

Hi @xnox - apologies for initially creating this in the wrong place :)

This snap doesn't seem to be available on the public store. I would like to validate the nvidia-assemble is working on UC22.

Should it be published, or is it planned to be ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.