Coder Social home page Coder Social logo

Comments (18)

alkazar avatar alkazar commented on May 20, 2024 1

If anyone is installing GamerOS 15, it should no longer be necessary to run frzr-unlock to get this working with the instructions posted by @thomasvt1. At least as long as you stick with vim, installing additional software requires running frzr-unlock first.

from chimeraos.

alkazar avatar alkazar commented on May 20, 2024

Have you ever tried installing SteamOS in the same environment? I have never been able to get SteamOS nor GamerOS to work inside a VM successfully before.

  1. There was a recent issue reported with boot up being extremely slow due to lack of entropy; it could be that it just needs a few minutes to boot. This problem is solved in a version of GamerOS that is currently in testing. You could try waiting for 10 minutes to rule out this possibility.

  2. It could simply be GamerOS has trouble detecting the resolution of the screen. Have you made sure your monitor/TV is on and plugged in before starting the system?

  3. Can you switch to tty? If you can get a tty, try running systemctl status lightdm to see if there were any errors.

from chimeraos.

DatCaptainHorse avatar DatCaptainHorse commented on May 20, 2024
  1. Tested, no output after 30 minutes
  2. Plugged in and working fine, Unraid terminal shows fine before handing over the GPU
  3. There is no output at all on screen or even VNC, is SSH or Telnet possible?

from chimeraos.

alkazar avatar alkazar commented on May 20, 2024

You cant get to a tty with ctrl-alt-f3?

an ssh server is installed, but not enabled by default. You would have to chroot in post install and run systemctl enable sshd, before restarting.

from chimeraos.

DatCaptainHorse avatar DatCaptainHorse commented on May 20, 2024

Negative, cannot get to TTY, not through device passthrough or VNC (tested both Cirrus and QXL, both show the "Guest has not initialized the display (yet)" message).

from chimeraos.

alkazar avatar alkazar commented on May 20, 2024

Did you install in bios mode or efi?

I wonder if something is going wrong during boot but the quiet boot setup is swallowing the output. Perhaps try removing the kernel parameters after and including the "quiet" option in the syslinux/syslinux.cfg file. It will be on different partitions depending on whether you installed in bios mode or efi. That might possibly give you some output to work with.

from chimeraos.

DatCaptainHorse avatar DatCaptainHorse commented on May 20, 2024

The install was made on UEFI to support GPU passthrough, using Q35-4.0.1 and OVMF.

How would I go about editing the syslinux config file? I tried opening and modifying the image using 7-Zip but it would just give me permission errors, then I tried downloading the whole image and editing it locally which gave some "Operation is not supported" errors.

from chimeraos.

alkazar avatar alkazar commented on May 20, 2024

You dont edit the image, it does not contain syslinux.cfg. It is generated on install/update.

Mount the first partition of an existing install (label frzr-efi). The file should be EFI/syslinux/syslinux.cfg.

from chimeraos.

DatCaptainHorse avatar DatCaptainHorse commented on May 20, 2024

What I meant by image is the virtual disk file (.img file, VirtIO type) where the whole OS is.
syslinux config lives in vdisk1.img/0.img/EFI/syslinux

I'll try to extract the whole image (and the inner image) to try and modify the config that way, will take a while since it's a 30GB image.

from chimeraos.

alkazar avatar alkazar commented on May 20, 2024

Can you boot the image with either the GamerOS installer or the live/install cd of another distro?

I do this often with virt-manager/qemu.

from chimeraos.

DatCaptainHorse avatar DatCaptainHorse commented on May 20, 2024

When I try to boot into the image through the virtual bios boot menu, it quickly flashes black and then returns back to the menu.

Editing syslinux config file yielded no different results either.

from chimeraos.

alkazar avatar alkazar commented on May 20, 2024

Sorry, not sure how to help further. I have had no luck getting SteamOS or GamerOS to run in a VM either.

from chimeraos.

thomasvt1 avatar thomasvt1 commented on May 20, 2024

Hey, so I actually got GamerOS working on unraid, still having some issues with sound tho (msi interrupt problems) - but here's my config. Hope it helps :)

image
image

Also have you tried unbinding the GPU from unraid? In some VM's that's required. (Run these on Unraid)

#!/bin/bash

echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

Let me know if it works

from chimeraos.

thomasvt1 avatar thomasvt1 commented on May 20, 2024

So after playing with GamerOS for a while I'd like to document my additional changes which work well with unraid.

Using unraid mounts;
First make sure you have 'unraid share' and 'unraid mount tag' set like the screenshot above, then run frzr-unlock. After this install nano (with pacman)

Then create a service to mount our unraid share
sudo nano /etc/systemd/system/steammount.service
Save it with the following content

[Unit]
Description=Start Steam Mount
 
[Service]
ExecStart=mount -t 9p -o trans=virtio "games" /home/gamer/.local/share/Steam/steamapps
 
[Install]
WantedBy=multi-user.target

Then enable this service with sudo systemctl enable steammount.service

Fixing MSI interrupts (Nvidia GPU passtrough)
Make sure you still have frzr-unlock enabled (not restarted after unlocking) and have nano installed or know how vim works.

Let's enable interrupts
sudo nano /etc/modprobe.d/gameros.conf
And add the following line at the end of the file
options snd-hda-intel enable_msi=1

Now save the file and reboot :)

from chimeraos.

collinthorn avatar collinthorn commented on May 20, 2024

I, too, was able to get GamerOS running in an Unraid VM. It took some trial-and-error, but it works. I couldn't start with thomasvt1's setup, however - it would fail during installation while trying to set up frzr.

To get it working, I mainly fiddled with the number of CPUs/threads and the two memory allocations, but I think the critical point was getting through installation using VNC/Cirrus for graphics up until the image became mostly gobbledygook but with the visible Steam Big Picture cursor. Once I saw that icon I knew it had installed, I force quit the VM in Unraid and went ahead and matched thomasvt1's pictured setup above (without the Unraid share specifics, which I personally didn't need).

For a while I didn't even need the MSI interrupt-related edits. But then, for whatever reason, I did, so I used thomasvt1's notes above and figured it out. I hope thomasvt1 will allow me to add some detail to what he wrote for getting those working, as well as some changes related the new #15 version of GamerOS (btw, I couldn't get Vim working properly, so I had to install nano...that's included below):

Ctrl-Alt-F3 to get to command line from Big Picture
login: gamer password: gamer
sudo frzr-unlock
sudo pacman -Sy
sudo pacman -S nano

For GamerOS 12: sudo nano /etc/modprobe.d/gameros.conf
For GamerOS 15: sudo nano /etc/modprobe.d/system-tweaks.conf

Scroll down to the bottom of this list of commands/tweaks using the arrow keys and add:
options snd-hda-intel enable_msi=1

Save and exit by Ctrl-X, then answer the prompts.
Then "reboot"

All credit to thomasvt1. He did the technical discovery work. Maybe this will prove helpful for others trying to perform the same kind of setup as the two of us.

from chimeraos.

alkazar avatar alkazar commented on May 20, 2024

@thomasvt1 any idea if it is safe to add options snd-hda-intel enable_msi=1 by default? I would expect not.

from chimeraos.

thomasvt1 avatar thomasvt1 commented on May 20, 2024

@thomasvt1 any idea if it is safe to add options snd-hda-intel enable_msi=1 by default? I would expect not.

According to my fast research some devices misbehave when it is enabled. I'd keep it removed by default.

A solution may be to detect if running in a VM and then enabling enable_msi

from chimeraos.

alkazar avatar alkazar commented on May 20, 2024

Closing since no action required.

from chimeraos.

Related Issues (20)

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.