Your best bet would probably be to fire up OBS on the windows guest and create an RCMP stream. Then, you can use gstreamer and v4l2loopback on the host side to receive the stream and convert it to a v4l2 device. So, basically, [nvidia-broadcast->OBS-]->local network-[->gstreamer->v4l2loopback]
This won't work, as after chrooting you'll be using the packages installed on the broken install - i.e. you'll use the Pacman expecting upgraded glibc and using the downgraded glibc. You'd need to pacstrap Pacman and its dependencies from the iso then chroot and update. Or if pacstrap can run an update on its own, do that.
It's not openjdk6, but Oracle jre 6 is in the aur. You'll need to download the binaries yourself, because oracle put it behind an oracle account, but as a last resort it might work.
I'll be honest, I had more trouble with ly than sddm, and it even looks half nice with the astronaut theme. Then again, I'm running a somewhat funky system, so that could be it. Was it anything specific about sddm, or was it just that the default theme is (I'll admit) ugly as sin?
For me that's my status bar. I use i3bar with i3blocks, and I was messing around with the json input type, and I've still got a little "Click Here" that shows the clicked mouse position hanging off the end of my status bar.
Similar to when you installed arch Linux to begin with. Basically just follow Section 1.11 from the install guide.. After that, use pacstrap or chroot into the existing install as needed.
2: Basically, yep, unless you've made any changes yourself, like enabling color output, or parallel downloads. Just overwriting should be fine for most people.
3: Unless you're an arch maintainer or making your own packages, I believe you're fine.
Edit: for point 2, I installed pacman-contrib and meld, then ran sudo DIFFPROG=meld pacdiff
I think some mirrors are still syncing after the git migration - give it a few days, I'd say, as things are still probably getting back to full working order. It was a big change.
My best guess is that because it's so freely usable/accessible, it gets used in a lot of fake support centre scams. Not so much a problem with the product, but more a problem with a prolific use case.
I don't use yay myself, but based on my own experiences with aurutils, you might want to take a look through ~/.cache. If yay stores temporary files anywhere, it's probably there.
Alright. So, first of all, I agree with what u/zardvark said - the best thing you can do going forward is to learn how to read man pages and the arch wiki. That, said, I also agree that hey are cryptic and confusing at times. My own system is similar to yours (intel/nvidia), and we seem to want similar things (render everything on the NVIDIA card), so I thought I'd share not only my setup, but also how I got to it. One last thing - I'm assuming that you're running X11 and not Wayland, as NVIDIA and Wayland do not get along all that well.
Check if you're running X11 or Wayland by opening a terminal and running echo $XDG_SESSION_TYPE. That should give back eitherx11or wayland. If it gives back x11, then we're good to go. Otherwise, sorry, can't help
There's two arch wiki pages that we're going to be referencing a bit here. One is the page for NVIDIA, the other is the page for PRIME. You can also find the PRIME article listed in the 'Related Articles' sidebar of the NVIDIA article. We're mostly going to be using a page from NVIDIA own docs on PRIME, however, located here.
Install the drivers as per the arch wiki page. For your system, it's going to be either the nvidia package, or the nvidia-dkms package. Unless you're using a non-standard kernel (such as linux-zen, instead of linux or linux-lts, nvidia should be fine. So install it with sudo pacman -S nvidia or sudo pacman -S nvidia-dkms. Do not reboot just yet, we've got some config to do.
From the arch wiki page on PRIME, more specifically the first line of section 2, we can see that the description of PRIME ("render applications on the more powerful GPU") is exactly what we want. Unfortunately, the article on PRIME only lists instructions for the open source drivers (known as nouveau), while we want to use NVIDIA's drivers, mostly because the nouveau drivers are poorly optimised at best. So, we'll need to go looking elsewhere.
Looking further down the page we come across section 4 - user scenarios. The first scenario - Discrete Card as Primary GPU" seems like what we need. Unfortunately, it (once again) only gives instructions for the nouveau drivers. It does have a footnote for the users of the NVIDIA drivers, and provides a link to NVIDIA's own docs on the topic, which I gave you in Step 2.
Going to the NVIDIA page, we're given two options. The first one is the one we want (PRIME, not Reverse PRIME), so we'll look into that one. It provides us with an example xorg.conf, and we can pretty much just copy it over to /etc/X11/xorg.conf. One thing we need to keep in mind is the "BusID" option in the "Device" section. You can find this by running lspci -k | grep -E "(VGA|3D)". That should give you something like
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
Those numbers out the front are the PCIE BusID of each card. Unfortunately, lspci formats the number as 3 (or 4) sections of hexadecimal. X11, on the other hand, expects the sections in decimal. If none of the sections are over 9, or have letters in them, you're all good to basically just copy it over. So, if lspci gave me a BusID of A:B.C, where A, B and C are all less than 9, the BusID line in my xorg.config would look like BusID: "PCI:A:B:C". Or, for the output above, BusID: "PCI:1:0:0"
That should be the xorg.conf done, now we just need to enable PRIME. THe commands are the same, but where to put them can differ depending on your system. If you login to a tty (blank terminal) and start X11 by running startx, put them in your ~/.xinitrc file. On the other hand, if you use a display manager to login, then ~/.xsession is a good place to try. If that doesn't work, you'll, unfortunately, need to go digging through google.
The commands that you'll need to add to the file are:
Yeah, I've given up running switchable, and just run it as a reverse PRIME setup - NVidia renders everything, and the integrated just passes the result along.
Happy to help. One thing to keep in mind: the '@' symbol is usually used to differentiate btrfs subvolumes from normal folders, as they can look pretty similar otherwise. So, moving forward, if something is prefixed by a '@', try treating it as a subvolume - or at least check if it is a subvolume, it'll likely point you in the right direction.
For setting it up, I've always followed this guide: https://gist.github.com/geosharma/afe1ea9ebe58cb67aaaba62a0d47bc7a
Space-wise, it depends. I havent run into any issues myself, but I'm also running on a 1.5TB drive, so your milage may vary. I don't have hard numbers, but it doesn't feel like it takes up all that much space.
I use a patched version of rxvt-unicode from the AUR, rxvt-unicode-truecolor-wide-glyphs. For a shell I use bash. Something to look into is the PS1 line (or your shells equivalent). For myself, I've got it set to show the git repository, branch name and commit hash if I'm inside a git repo. Looks a little something like this:
The font used is the nerd-fonts patched version of inconsolata (package name ttf-inconsolata-nerd). The PS1 generation is done with the scripts/programs in this github repo:
For anyone who does need to do this, please accept that it is a bad idea, and should be followed by a full system update as soon as possible. However, if you absolutely need to do this, I believe that this should do it:
Same here. For just flinging files around, KDE connect - like I need to get a couple of images or something onto my PC. If I need to keep something long term then I'll dump it into a nextcloud drive.
So, my personal recommendation would be as follows:
Your best bet would probably be to fire up OBS on the windows guest and create an RCMP stream. Then, you can use gstreamer and v4l2loopback on the host side to receive the stream and convert it to a v4l2 device. So, basically, [nvidia-broadcast->OBS-]->local network-[->gstreamer->v4l2loopback]
Also v4l2-loopback
This won't work, as after chrooting you'll be using the packages installed on the broken install - i.e. you'll use the Pacman expecting upgraded glibc and using the downgraded glibc. You'd need to pacstrap Pacman and its dependencies from the iso then chroot and update. Or if pacstrap can run an update on its own, do that.
It's not openjdk6, but Oracle jre 6 is in the aur. You'll need to download the binaries yourself, because oracle put it behind an oracle account, but as a last resort it might work.
Oh yeah, fair enough. I really liked ly myself, but ran into some weirdness with PAM.
I'll be honest, I had more trouble with ly than sddm, and it even looks half nice with the astronaut theme. Then again, I'm running a somewhat funky system, so that could be it. Was it anything specific about sddm, or was it just that the default theme is (I'll admit) ugly as sin?
Yeah, should be fairly seamless if you also install sddm for login, it should let you switch pretty easily.
Yeah, should be fairly seamless if you also install sddm for login, it should let you switch pretty easily.
For me that's my status bar. I use i3bar with i3blocks, and I was messing around with the json input type, and I've still got a little "Click Here" that shows the clicked mouse position hanging off the end of my status bar.
Similar to when you installed arch Linux to begin with. Basically just follow Section 1.11 from the install guide.. After that, use
pacstrapor chroot into the existing install as needed.1: Yep
2: Basically, yep, unless you've made any changes yourself, like enabling color output, or parallel downloads. Just overwriting should be fine for most people.
3: Unless you're an arch maintainer or making your own packages, I believe you're fine.
Edit: for point 2, I installed
pacman-contribandmeld, then ransudo DIFFPROG=meld pacdiffI think some mirrors are still syncing after the git migration - give it a few days, I'd say, as things are still probably getting back to full working order. It was a big change.
My best guess is that because it's so freely usable/accessible, it gets used in a lot of fake support centre scams. Not so much a problem with the product, but more a problem with a prolific use case.
I don't use yay myself, but based on my own experiences with aurutils, you might want to take a look through
~/.cache. If yay stores temporary files anywhere, it's probably there.Alright. So, first of all, I agree with what u/zardvark said - the best thing you can do going forward is to learn how to read man pages and the arch wiki. That, said, I also agree that hey are cryptic and confusing at times. My own system is similar to yours (intel/nvidia), and we seem to want similar things (render everything on the NVIDIA card), so I thought I'd share not only my setup, but also how I got to it. One last thing - I'm assuming that you're running X11 and not Wayland, as NVIDIA and Wayland do not get along all that well.
Check if you're running X11 or Wayland by opening a terminal and running
echo $XDG_SESSION_TYPE. That should give back eitherx11orwayland. If it gives backx11, then we're good to go. Otherwise, sorry, can't helpThere's two arch wiki pages that we're going to be referencing a bit here. One is the page for NVIDIA, the other is the page for PRIME. You can also find the PRIME article listed in the 'Related Articles' sidebar of the NVIDIA article. We're mostly going to be using a page from NVIDIA own docs on PRIME, however, located here.
Install the drivers as per the arch wiki page. For your system, it's going to be either the
nvidiapackage, or thenvidia-dkmspackage. Unless you're using a non-standard kernel (such aslinux-zen, instead oflinuxorlinux-lts,nvidiashould be fine. So install it withsudo pacman -S nvidiaorsudo pacman -S nvidia-dkms. Do not reboot just yet, we've got some config to do.From the arch wiki page on PRIME, more specifically the first line of section 2, we can see that the description of PRIME ("render applications on the more powerful GPU") is exactly what we want. Unfortunately, the article on PRIME only lists instructions for the open source drivers (known as
nouveau), while we want to use NVIDIA's drivers, mostly because thenouveaudrivers are poorly optimised at best. So, we'll need to go looking elsewhere.Looking further down the page we come across section 4 - user scenarios. The first scenario - Discrete Card as Primary GPU" seems like what we need. Unfortunately, it (once again) only gives instructions for the
nouveaudrivers. It does have a footnote for the users of the NVIDIA drivers, and provides a link to NVIDIA's own docs on the topic, which I gave you in Step 2.Going to the NVIDIA page, we're given two options. The first one is the one we want (PRIME, not Reverse PRIME), so we'll look into that one. It provides us with an example xorg.conf, and we can pretty much just copy it over to
/etc/X11/xorg.conf. One thing we need to keep in mind is the "BusID" option in the "Device" section. You can find this by runninglspci -k | grep -E "(VGA|3D)". That should give you something likeThose numbers out the front are the PCIE BusID of each card. Unfortunately,
lspciformats the number as 3 (or 4) sections of hexadecimal. X11, on the other hand, expects the sections in decimal. If none of the sections are over 9, or have letters in them, you're all good to basically just copy it over. So, iflspcigave me a BusID ofA:B.C, where A, B and C are all less than 9, the BusID line in my xorg.config would look likeBusID: "PCI:A:B:C". Or, for the output above,BusID: "PCI:1:0:0"That should be the xorg.conf done, now we just need to enable PRIME. THe commands are the same, but where to put them can differ depending on your system. If you login to a tty (blank terminal) and start X11 by running
startx, put them in your~/.xinitrcfile. On the other hand, if you use a display manager to login, then~/.xsessionis a good place to try. If that doesn't work, you'll, unfortunately, need to go digging through google. The commands that you'll need to add to the file are:Also, if you run into screen tearing, you can try also adding
I hope that helps.
Yeah, but the battery in my laptop holds literally zero charge, so I'm not losing much :)
Yeah, I've given up running switchable, and just run it as a reverse PRIME setup - NVidia renders everything, and the integrated just passes the result along.
Happy to help. One thing to keep in mind: the '@' symbol is usually used to differentiate btrfs subvolumes from normal folders, as they can look pretty similar otherwise. So, moving forward, if something is prefixed by a '@', try treating it as a subvolume - or at least check if it is a subvolume, it'll likely point you in the right direction.
You'll want to specify subvols. Instead of mounting the disk, do the following:
I'm pretty sure that'll get you close, but I can't be sure, every config is different.
For setting it up, I've always followed this guide: https://gist.github.com/geosharma/afe1ea9ebe58cb67aaaba62a0d47bc7a Space-wise, it depends. I havent run into any issues myself, but I'm also running on a 1.5TB drive, so your milage may vary. I don't have hard numbers, but it doesn't feel like it takes up all that much space.
I use a patched version of
rxvt-unicodefrom the AUR,rxvt-unicode-truecolor-wide-glyphs. For a shell I use bash. Something to look into is the PS1 line (or your shells equivalent). For myself, I've got it set to show the git repository, branch name and commit hash if I'm inside a git repo. Looks a little something like this:https://imgur.com/a/WXVPTbp
The font used is the nerd-fonts patched version of inconsolata (package name
ttf-inconsolata-nerd). The PS1 generation is done with the scripts/programs in this github repo:https://github.com/2001herne/ps1Helpers
For anyone who does need to do this, please accept that it is a bad idea, and should be followed by a full system update as soon as possible. However, if you absolutely need to do this, I believe that this should do it:
# pacman -Sy <package>Same here. For just flinging files around, KDE connect - like I need to get a couple of images or something onto my PC. If I need to keep something long term then I'll dump it into a nextcloud drive.
Happy to help.