1 line
5.1 KiB
JavaScript
1 line
5.1 KiB
JavaScript
"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[733],{5680:(e,t,n)=>{n.d(t,{xA:()=>p,yg:()=>y});var r=n(6540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var s=r.createContext({}),u=function(e){var t=r.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},p=function(e){var t=u(e.components);return r.createElement(s.Provider,{value:t},e.children)},d="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},g=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,s=e.parentName,p=o(e,["components","mdxType","originalType","parentName"]),d=u(n),g=a,y=d["".concat(s,".").concat(g)]||d[g]||c[g]||i;return n?r.createElement(y,l(l({ref:t},p),{},{components:n})):r.createElement(y,l({ref:t},p))}));function y(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,l=new Array(i);l[0]=g;var o={};for(var s in t)hasOwnProperty.call(t,s)&&(o[s]=t[s]);o.originalType=e,o[d]="string"==typeof e?e:a,l[1]=o;for(var u=2;u<i;u++)l[u]=n[u];return r.createElement.apply(null,l)}return r.createElement.apply(null,n)}g.displayName="MDXCreateElement"},7774:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>l,default:()=>c,frontMatter:()=>i,metadata:()=>o,toc:()=>u});var r=n(8168),a=(n(6540),n(5680));const i={sidebar_position:2},l="Bundled setup",o={unversionedId:"get-started/bundled",id:"get-started/bundled",title:"Bundled setup",description:"Telescope is a bundled Stardust setup that lets you 1-click run all the essentials for testing a setup out on an existing 2D computer.",source:"@site/docs/01-get-started/02-bundled.md",sourceDirName:"01-get-started",slug:"/get-started/bundled",permalink:"/docs/get-started/bundled",draft:!1,editUrl:"https://github.com/StardustXR/website/edit/main/docs/01-get-started/02-bundled.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Setup OpenXR Runtime",permalink:"/docs/get-started/setup-openxr"},next:{title:"Manual build/installation",permalink:"/docs/get-started/manual"}},s={},u=[{value:"Nix",id:"nix",level:2},{value:"Install Nix",id:"install-nix",level:3},{value:"Run Telescope",id:"run-telescope",level:3},{value:"Non-nix",id:"non-nix",level:2}],p={toc:u},d="wrapper";function c(e){let{components:t,...n}=e;return(0,a.yg)(d,(0,r.A)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"bundled-setup"},"Bundled setup"),(0,a.yg)("p",null,"Telescope is a bundled Stardust setup that lets you 1-click run all the essentials for testing a setup out on an existing 2D computer."),(0,a.yg)("h2",{id:"nix"},"Nix"),(0,a.yg)("h3",{id:"install-nix"},"Install Nix"),(0,a.yg)("p",null,"For easy development and distribution this project uses the ",(0,a.yg)("a",{parentName:"p",href:"https://nix.dev/"},"nix package manager"),".",(0,a.yg)("br",null),"\nThis allows to ensure all dependency requirements are met."),(0,a.yg)("p",null,"If you do not have nix installed follow the instructions at ",(0,a.yg)("a",{parentName:"p",href:"https://nixos.org/download/#nix-install-linux"},"https://nixos.org/download/#nix-install-linux"),"."),(0,a.yg)("admonition",{type:"warning"},(0,a.yg)("p",{parentName:"admonition"},"Make sure to have ",(0,a.yg)("a",{parentName:"p",href:"https://nixos.wiki/wiki/flakes"},"flakes enabled"),".")),(0,a.yg)("h3",{id:"run-telescope"},"Run Telescope"),(0,a.yg)("p",null,"Because telescope itself is a nix flake, you simply have to run\nIntel/AMD/NVK graphics:"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-sh"},"nix run github:StardustXR/telescope\n")),(0,a.yg)("p",null,(0,a.yg)("del",{parentName:"p"},"Proprietary NVIDIA graphics:")," is broken :/"),(0,a.yg)("pre",null,(0,a.yg)("code",{parentName:"pre",className:"language-sh"},"NIXPKGS_ALLOW_UNFREE=1 nix run --impure github:StardustXR/telescope#telescopeNvidia\n")),(0,a.yg)("h2",{id:"non-nix"},"Non-nix"),(0,a.yg)("p",null,"An AppImage generated from the nix flake is currently WIP. Please check back later or do a ",(0,a.yg)("a",{parentName:"p",href:"manual"},"manual build.")))}c.isMDXComponent=!0}}]); |