Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
skooma512
Feb 8, 2012

You couldn't grok my race car, but you dug the roadside blur.
So I want to try dual booting again and using Linux as my desktop beyond just the container platforms I use now.

I'm gonna section off a piece of my boot drive for it. For games and such is it ok if I just the NTFS drives as is and install stuff to those/use the games that are already there or should I aim to have an ext4 partition? I'm trying to avoid making new partitions or disrupting the file system as much as possible, but I'm otherwise comfortable with the mechanics of doing so.

Adbot
ADBOT LOVES YOU

mystes
May 31, 2006

skooma512 posted:

So I want to try dual booting again and using Linux as my desktop beyond just the container platforms I use now.

I'm gonna section off a piece of my boot drive for it. For games and such is it ok if I just the NTFS drives as is and install stuff to those/use the games that are already there or should I aim to have an ext4 partition? I'm trying to avoid making new partitions or disrupting the file system as much as possible, but I'm otherwise comfortable with the mechanics of doing so.
It might theoretically be possible to run games directly from the NTFS partition via one of the things that uses the steam version of wine if it doesn't require any registry settings or any other software to be installed but I imagine it would be a pain in the rear end.

If you don't to mess with partitions my suggestion would be (assuming it's not a laptop that you can only put one drive in) just buy another drive to use for linux since ssds are so cheap now

Klyith
Aug 3, 2007

GBS Pledge Week

skooma512 posted:

So I want to try dual booting again and using Linux as my desktop beyond just the container platforms I use now.

I'm gonna section off a piece of my boot drive for it. For games and such is it ok if I just the NTFS drives as is and install stuff to those/use the games that are already there or should I aim to have an ext4 partition? I'm trying to avoid making new partitions or disrupting the file system as much as possible, but I'm otherwise comfortable with the mechanics of doing so.

https://github.com/ValveSoftware/Proton/wiki/Using-a-NTFS-disk-with-Linux-and-Windows

Basically, you need to make sure that the linux-native parts of the equation (proton, wine, etc) don't try to treat the NTFS drive like a linux FS and do illegal things.

For DRM-free games run through wine or something like lutris, you can just point to a linux location as the wine prefix in the config. For steam this requires a mount link to a linux FS for the compatdata folder (steam's version of wine prefix).

buglord
Jul 31, 2010

Cheating at a raffle? I sentence you to 1 year in jail! No! Two years! Three! Four! Five years! Ah! Ah! Ah! Ah!

Buglord
Alright, big incoming post ahead. I hope the pre research and info is helpful. I want to pre-emptively apologize if this is posted in the wrong area. Please direct me elsewhere and I can edit out the post for sake of everyone's scrolling. Let me know if there's anything else I can provide:
code:
Operating System: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-25-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D73
System Version: 1.0
Issue: receiving the following error upon booting into the OS. Messages will hang for about 45 seconds, then the OS will finally boot. This seems to have gotten worse after a system update installed today.
code:
1.0040851 hub 8-0:1.0: config failed, hub doesn't have any ports! (err -19)
10.464686] usb 1-12: device descriptor read/64, error -110
26.080721] usb 1-12: device descriptor read/64, error -110
31.712631] usb 1-12: device descriptor read/64, error -110
47.328711] usb 1-12: device descriptor read/64, error -110
57.944526] usb 1-12: device not accepting address 10, error -71
Attempted fixes:
0) Updated to most recent BIOS (several versions old)
1) Unplugged all USB devices from PC, started computer, still had errors
2) tried lsusb, got the following information:
code:
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 005 Device 003: ID 25a7: fa61 Areson Technology Corp Elecom Co., Ltd MR-K013 Multicard Reader
Bus 005 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 1462:7d73 Micro Star International MYSTIC LIGHT
Bus 001 Device 003: ID 0db0:36e7 Micro Star International USB Audio
Bus 001 Device 008: ID 041e: 3272 Creative Technology, Ltd Pebble V3
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
3) was told to dig a little deeper and try lsusb -tv, got the following output:
code:
: Bus 08.Port 1: Dev 1, Class-root_hub, Driver-xhci_hcd/0p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 07.Port 1: Dev 1, Class-root_hub, Driver-xhci_hcd/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 06.Port 1: Dev
ID 1d6b:0003 Linux
Bus 05.Port 1: Dev 1, Class-root_hub, Driver-xhci_hcd/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
1, Class-root_hub, Driver-xhci_hcd/2p, 10000M
Foundation 3.0 root hub
|__Port 2: Dev 2, If 0, Class-Hub, Driver-hub/4p, 480M
ID 1a40:0101 Terminus Technology Inc. Hub
|__Port 3: Dev 5, If 0, Class-Human Interface Device, Driver-usbhid, 12M
ID 25a7:fa61 Areson Technology Corp Elecom Co., Ltd MR-K013 Multicard Reader
|__Port 3: Dev 5, If 1, Class-Human Interface Device, Driver=usbhid, 12M
ID 25a7: fa61 Areson Technology Corp Elecom Co., Ltd MR-K013 Multicard Reader
|__Port 4: Dev 4, If 0, Class-Human Interface Device, Driver-usbhid, 12M
ID 046d:c52b Logitech, Inc. Unifying Receiver
|__Port 4: Dev 4, If 1, Class-Human Interface Device, Driver=usbhid, 12M
ID 046d:c52b Logitech, Inc. Unifying Receiver
|__Port 4: Dev 4, If 2, Class-Human Interface Device, Driver-usbhid, 12M
ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 04. Port 1: Dev 1, Class-root_hub, Driver=xhci_hcd/2p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 03.Port 1: Dev 1, Class-root_hub, Driver=xhci_hcd/2p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 02.Port 1: Dev 1, Class-root_hub, Driver=xhci_hcd/5p, 20000M/x2
ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 01.Port 1: Dev 1, Class-root hub, Driver=xhci_hcd/12p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__Port 1: Dev 8, If 0, Class-Audio, Driver-snd-usb-audio, 12M
ID 041e:3272 Creative Technology, Ltd
|__Port 1: Dev 8, If 1, Class-Audio, Driver-snd-usb-audio, 12M
ID 041e:3272 Creative Technology, Ltd
|__Port 1: Dev 8, If 3, Class-Human Interface Device, Driver-usbhid, 12M
ID 041e: 3272 Creative Technology, Ltd
|__Port 6: Dev 2, If 0, Class-Human Interface Device, Driver-usbhid, 12M
ID 1462:7d73 Micro Star International
|__Port 10: Dev 3, If 0, Class-Audio, Driver-snd-usb-audio, 480M
ID 0db0:36e7 Micro Star International
|__Port 10: Dev 3, If 1, Class-Audio, Driver-snd-usb-audio, 480M
ID 0db0:36e7 Micro Star International
|__Port 10: Dev 3, If 2, Class-Audio, Driver-snd-usb-audio, 480M
ID 0db0:36e7 Micro Star International
|__Port 10: Dev 3, If 3, Class-Audio, Driver-snd-usb-audio, 480M
ID 0db0:36e7 Micro Star International
|__Port 10: Dev 3, If 4, Class-Audio, Driver=snd-usb-audio, 480M
ID 0db0:36e7 Micro Star International
|__Port 10: Dev 3, If 5, Class-Audio, Driver=snd-usb-audio, 480M
ID 0db0:36e7 Micro Star International
|_ Port 10: Dev 3, If 6, Class-Human Interface Device, Driver=usbhid, 480M
ID 0db0:36e7 Micro Star International
4) with that result, was told that this may have to do with USB Bus 1, which is related to onboard sound. Disabled Legacy USB Support in BIOS, still got error. Re-enabled Legacy USB Support, then disabled XHCI Hand-Off, still had error, re-enabled.

Other information:
1) Am dualbooting Win 10 and Kubuntu
2) Secure Boot is disabled for Kubuntu to run
3) error used to come up before most recent update, but only display the first line, flash screen after a second, then load the OS.
4)No such error comes up when loading Windows 10.
5) Use a PCIE 3.0 riser, but motherboard supports only 4.0, have to enable legacy 3.0 in BIOS (seriously doubt this will be relevant but who knows)

Request: Find what is causing error, or have Linux/Kubuntu overlook error/reduce timeout length to near-zero.

Special thanks to forums users Emong and Vostok Program/Yaoi Gagarin for helping me get this far into troubleshooting.

buglord fucked around with this message at 07:28 on Mar 7, 2024

Klyith
Aug 3, 2007

GBS Pledge Week

buglord posted:

4) with that result, was told that this may have to do with USB Bus 1, which is related to onboard sound. Disabled Legacy USB Support in BIOS, still got error. Re-enabled Legacy USB Support, then disabled XHCI Hand-Off, still had error, re-enabled.

Can you disable the onboard sound entirely in the mobo BIOS? Most mobos in my experience have that option somewhere. Not ideal if that's how you get audio from the PC of course, but it would further narrow the problem.

And if it does work, one very easy solution is "get a decent USB audio adapter that uses the generic, extremely well-supported UAC standard". And it comes with the 5-star benefit of ditching realtek forever.

Kibner
Oct 21, 2008

Acguy Supremacy

Klyith posted:

Can you disable the onboard sound entirely in the mobo BIOS? Most mobos in my experience have that option somewhere. Not ideal if that's how you get audio from the PC of course, but it would further narrow the problem.

And if it does work, one very easy solution is "get a decent USB audio adapter that uses the generic, extremely well-supported UAC standard". And it comes with the 5-star benefit of ditching realtek forever.

And a quality one is only $9 from Apple: https://www.apple.com/shop/product/MU7E2AM/A/usb-c-to-35-mm-headphone-jack-adapter

There really isn't a reason to spend more unless you need more features (mic input, greater than stereo output, digital output, etc.). For normal headphones, they are more than enough for the vast majority of people.

buglord
Jul 31, 2010

Cheating at a raffle? I sentence you to 1 year in jail! No! Two years! Three! Four! Five years! Ah! Ah! Ah! Ah!

Buglord
I’m at work now so I won’t be able to test till later. I’ll disable onboard sound and see if that solves anything.

If it does, how would I plug in my speakers using those “dac”s or adapters? My speakers are powered and transmit sound through USB-C. They’re these little guys https://us.creative.com/p/speakers/creative-pebble-v3

I’d imagine they need to be plugged into a USB C port and not go through an adapter in order to get their power.

Klyith
Aug 3, 2007

GBS Pledge Week

buglord posted:

If it does, how would I plug in my speakers using those “dac”s or adapters? My speakers are powered and transmit sound through USB-C. They’re these little guys https://us.creative.com/p/speakers/creative-pebble-v3

I’d imagine they need to be plugged into a USB C port and not go through an adapter in order to get their power.

In that case you don't have to buy or do anything. Those speakers are already getting their sound directly via their own USB audio interface and the realtek thing on the mobo is not involved at all.

F_Shit_Fitzgerald
Feb 2, 2017



For those who are using, or familiar with, awesome wm: Because it's a muscle memory, I currently have 'run xscreensaver' bound to super + L, the Windows lock screen command. But I have a dedicated Print Screen key on my laptop and would like to re-bind this command to super + PrtSc.

Trouble is, I'm not sure how to do it. Running showkey revealed that the Print Screen key is #99 on my system, so I tried modifying my rc.lua as follows:

code:
awful.key({ modkey, "#99" }, function () awful.spawn("xscreensaver-command -lock") end,
   {description = "lock the screen", group = "custom"}),
...but all hell broke loose. The 'join' command was broken by this line (somehow) and nothing I did seemed to fix the problem. Is there a better way to do this?

buglord
Jul 31, 2010

Cheating at a raffle? I sentence you to 1 year in jail! No! Two years! Three! Four! Five years! Ah! Ah! Ah! Ah!

Buglord

Klyith posted:

In that case you don't have to buy or do anything. Those speakers are already getting their sound directly via their own USB audio interface and the realtek thing on the mobo is not involved at all.

Unfortunately, disabling HD Audio Controller did nothing for me :(. Still getting the same errors. Any other ideas?

CaptainSarcastic
Jul 6, 2013



buglord posted:

Unfortunately, disabling HD Audio Controller did nothing for me :(. Still getting the same errors. Any other ideas?

I'd be highly suspicious of the multi-card reader. If that's something on the front panel that attaches to USB on the motherboard I'd try unplugging it and see if the problem goes away.

Voodoo Cafe
Jul 19, 2004
"You got, uhh, Holden Caulfield in there, man?"

CaptainSarcastic posted:

I'd be highly suspicious of the multi-card reader. If that's something on the front panel that attaches to USB on the motherboard I'd try unplugging it and see if the problem goes away.

Seconded, i had one of these (cheapo no-name chinese one from fasttech iirc) in my machine that i had to remove when i upgraded my motherboard because it made booting atrociously slow for whatever reason

DR FRASIER KRANG
Feb 4, 2005

"Are you forgetting that just this afternoon I was punched in the face by a turtle now dead?
I'm trying to run a shell script when my rpi boots and having a real hell of a time doing it.

This is contents of the script:

code:
#!/bin/bash

qjoypad "pico" &
./pico8/pico8 -splore
It seems that there is no end to ways you can make something run at startup and I can't get any of them working.

First I tried putting it in /etc/init.d/auto start and it half-worked but resulted in literally the same behavior this guy is seeing:

https://www.lexaloffle.com/bbs/?tid=43973

It loads qjoypad and i can hear the chime of Pico8 starting up but I cannot see the Pico8 interface on my screen.

The next thing I tried was writing a function to execute it in .bashrc but that is not working either.

If I execute the script from a terminal after everything starts up it's perfectly fine.

kujeger
Feb 19, 2004

OH YES HA HA

DR FRASIER KRANG posted:

I'm trying to run a shell script when my rpi boots and having a real hell of a time doing it.

This is contents of the script:

code:
#!/bin/bash

qjoypad "pico" &
./pico8/pico8 -splore
It seems that there is no end to ways you can make something run at startup and I can't get any of them working.

First I tried putting it in /etc/init.d/auto start and it half-worked but resulted in literally the same behavior this guy is seeing:

https://www.lexaloffle.com/bbs/?tid=43973

It loads qjoypad and i can hear the chime of Pico8 starting up but I cannot see the Pico8 interface on my screen.

The next thing I tried was writing a function to execute it in .bashrc but that is not working either.

If I execute the script from a terminal after everything starts up it's perfectly fine.

probably the best way to do this is to have a user auto-login, and have that user's desktop/session automatically run the script.

To have something autorun for a user when that user logs in (or is auto-logged-in), you can drop a .desktop file in e.g. "/home/pico8-user-you-created/.config/autostart/pico8game.desktop".
The file can be something like this:
code:
[Desktop Entry]
Type=Application
Name=Pico8-Game
Exec=/home/pico8-user-you-created/your-startup-script.sh
the reasons for doing this is that a graphical application is going to need a graphical session to show anything.
Most desktops environments will automatically start any .desktop files located in the above autostart dir.

Klyith
Aug 3, 2007

GBS Pledge Week

DR FRASIER KRANG posted:

It loads qjoypad and i can hear the chime of Pico8 starting up but I cannot see the Pico8 interface on my screen.

The next thing I tried was writing a function to execute it in .bashrc but that is not working either.

My guess is the program is starting before the window manager, which is why you hear it but can't see it.

You want to use whatever the autostart method is for PiOS's desktop environment, which apparently is something based on LXDE.
https://forums.raspberrypi.com/viewtopic.php?t=294014
https://wiki.archlinux.org/title/LXDE#Autostart



DR FRASIER KRANG posted:

It seems that there is no end to ways you can make something run at startup and I can't get any of them working.

Yah. The tldr for most stuff like this is anytime you're dealing with running GUI apps in some special way (autostart etc) you want to consult the desktop environment docs, not the system service docs.

buglord
Jul 31, 2010

Cheating at a raffle? I sentence you to 1 year in jail! No! Two years! Three! Four! Five years! Ah! Ah! Ah! Ah!

Buglord

Voodoo Cafe posted:

Seconded, i had one of these (cheapo no-name chinese one from fasttech iirc) in my machine that i had to remove when i upgraded my motherboard because it made booting atrociously slow for whatever reason

CaptainSarcastic posted:

I'd be highly suspicious of the multi-card reader. If that's something on the front panel that attaches to USB on the motherboard I'd try unplugging it and see if the problem goes away.
The cursed thing is that I don’t remember installing a multi card reader because this is an ITX box where every square inch of space is accounted for :tinfoil:

I’m gonna flip if it’s my front panel USB connector. That will suck bigly. But I’ll check once I get a break with work.

CaptainSarcastic
Jul 6, 2013



buglord posted:

The cursed thing is that I don’t remember installing a multi card reader because this is an ITX box where every square inch of space is accounted for :tinfoil:

I’m gonna flip if it’s my front panel USB connector. That will suck bigly. But I’ll check once I get a break with work.

You could try blacklisting it, I suppose. It's possible Windows has a driver for it but the best approximation Linux can find is just not doing the job. Or maybe something is being misidentified as a card reader?

Minotaurus Rex
Feb 25, 2007

if this accounts a rockin'
don't come a knockin'
What are the best first things to learn as a know nothing Linux n00b?

CaptainSarcastic
Jul 6, 2013



Minotaurus Rex posted:

What are the best first things to learn as a know nothing Linux n00b?

That it's the year of Linux on the desktop.

Kibner
Oct 21, 2008

Acguy Supremacy

Minotaurus Rex posted:

What are the best first things to learn as a know nothing Linux n00b?

the file system structure and how to navigate around it using the terminal

also, how permissions work

Yaoi Gagarin
Feb 20, 2014

Minotaurus Rex posted:

What are the best first things to learn as a know nothing Linux n00b?

What are you trying to do? What do you hope to accomplish? The answers going to be different depending on what you want to use Linux for

Minotaurus Rex
Feb 25, 2007

if this accounts a rockin'
don't come a knockin'
Duno just in terms of getting more comfortable with a Linux laptop for everyday tasks and whatnot I guess. Not sure

Sir Bobert Fishbone
Jan 16, 2006

Beebort

Kibner posted:

the file system structure and how to navigate around it using the terminal

also, how permissions work

Probably this, and learning some of the most often-used terminal commands. Otherwise, just start using it and Google/ask questions when you can't figure out how to make the computer do what you want. It's a lot easier to learn when you have an immediate need to know.

skooma512
Feb 8, 2012

You couldn't grok my race car, but you dug the roadside blur.

Minotaurus Rex posted:

Duno just in terms of getting more comfortable with a Linux laptop for everyday tasks and whatnot I guess. Not sure

Do everyday tasks on Linux and solve problems as they arise.

Luckily this isn't 2005 and you can just install whatever distro and everything including your wifi adapter will most likely just work. The most challenging thing that I have to do is getting Nvidia drivers to install (and stay that way).

keep punching joe
Jan 22, 2006

Die Satan!

Minotaurus Rex posted:

What are the best first things to learn as a know nothing Linux n00b?

Basic command line stuff, at least enough to know how to navigate around the filesystem and cut/copy/paste.

You don't even need it in 2024 the year of the linux desktop, but it's still good to know.

Framboise
Sep 21, 2014

To make yourself feel better, you make it so you'll never give in to your forevers and live for always.


Lipstick Apathy

Klyith posted:

lmao

(not at you, at this whole... linux)


Re: learning the hard way, I totally get that. But this is kinda what learning the hard way looks like.

Uh, speaking of which I think this is your issue -- seems like a lot of 970 owners in particular are having sleep/resume issues with recent kernels. Many of those reports seem similar or identical to yours. Ubuntu is still on 6.5 which is why your new install works out of the box.
.

Guess what problem I'm now having on Ubuntu! :smith:

Klyith
Aug 3, 2007

GBS Pledge Week

Minotaurus Rex posted:

Duno just in terms of getting more comfortable with a Linux laptop for everyday tasks and whatnot I guess. Not sure

Find something you want it to do, and make it do that.

If it already does everything you want, find something you dislike (no matter how trivial) and try to find out how fix it.


It might not be possible, but you'll probably learn something interesting in the process. A while ago I was mildly annoyed by how my usb headphone amp is called "Speakers" by the KDE audio panel and wanted to make it be called "Headphones" instead. I failed at this, but I learned some stuff about pipewire and udev and other stuff by wandering down blind alleys.

buglord
Jul 31, 2010

Cheating at a raffle? I sentence you to 1 year in jail! No! Two years! Three! Four! Five years! Ah! Ah! Ah! Ah!

Buglord

CaptainSarcastic posted:

You could try blacklisting it, I suppose. It's possible Windows has a driver for it but the best approximation Linux can find is just not doing the job. Or maybe something is being misidentified as a card reader?

Voodoo Cafe posted:

Seconded, i had one of these (cheapo no-name chinese one from fasttech iirc) in my machine that i had to remove when i upgraded my motherboard because it made booting atrociously slow for whatever reason
So I unplugged the HD Audio cable from the motherboard header and I got an interesting result. Like Voodoo Cafe said, not only does my computer boot way faster, but the errors are mostly gone?

I still get
code:
 hub 8-0:1.0 config failed, hub doesn't have any ports! (err -19)
But it only shows up for a second, by itself, instead of the parade of other errors that I ran into.

I can tolerate leaving my front panel audio disconnected, but removing all the front panel connectors (like the USB A, C ports) feels like a bridge too far.

I'm willing to live with this for now, but im curious:

Is there a way to tell Linux not to worry about the errors, and just boot the system?
Whatever errors it thinks are occuring are not actually impacting my system. My USB ports are working and such, audio on the front panel would work (before i just removed it). its kinda annoying that it slows down the boot process so much chasing a problem that isnt there.

BlankSystemDaemon
Mar 13, 2009



Minotaurus Rex posted:

What are the best first things to learn as a know nothing Linux n00b?
One thing I've found helpful, and that I've heard from other people, is to actually use it as a daily driver - meaning you can't just grab another machine/dual-boot to Windows to do what needs be done.
It's basically just immersion learning, but it works.

Then again, I did it back when google.com/bsd was a thing - whereas people have been talking about search engine uselessness for the past decade-plus, and it's now so bad that you're supposed to have a conversation with a search engine, according to the search engine designers.

DR FRASIER KRANG
Feb 4, 2005

"Are you forgetting that just this afternoon I was punched in the face by a turtle now dead?
I also want to second the recommendation to have something you want to accomplish that requires Linux. It's way easier to learn something when you're working towards a tangible goal.

Dyscrasia
Jun 23, 2003
Give Me Hamms Premium Draft or Give Me DEATH!!!!
I'll reiterate daily driving Linux without an escape valve. I went with fedora when I built a new machine this past summer and was honestly surprised at how little I've had to do. Everything is just working, wine is insanely good these days for games and windows only apps and everything else, I've asked in this thread. The documentation is good enough to deal with, you may just end up with specific questions for this thread.

I would suggest learning about wine and management interfaces such as bottles so you can run things like foobar2000 which is a requirement for me personally.

Disclaimer that I do deal with Linux servers and docker for work which are single purpose buidls, we're as a desktop very much a different situation when it comes to maintenance and usage.

Dyscrasia fucked around with this message at 02:22 on Mar 9, 2024

Volguus
Mar 3, 2009

DR FRASIER KRANG posted:

I also want to second the recommendation to have something you want to accomplish that requires Linux. It's way easier to learn something when you're working towards a tangible goal.

Make a program. Build something. Something that "requires" linux in the age of WSL is a bit harder, but not impossible.

spiritual bypass
Feb 19, 2008

Grimey Drawer
Maybe all you want is a computer that won't require the next Windows upgrade :shrug:

Volguus
Mar 3, 2009

spiritual bypass posted:

Maybe all you want is a computer that won't require the next Windows upgrade :shrug:

Hell yea. To not be presented with the latest ads in your start menu (as I hear people on the interwebs complaining), I'd say is a good starting point motivation wise.

DR FRASIER KRANG
Feb 4, 2005

"Are you forgetting that just this afternoon I was punched in the face by a turtle now dead?

kujeger posted:

probably the best way to do this is to have a user auto-login, and have that user's desktop/session automatically run the script.

To have something autorun for a user when that user logs in (or is auto-logged-in), you can drop a .desktop file in e.g. "/home/pico8-user-you-created/.config/autostart/pico8game.desktop".
The file can be something like this:
code:
[Desktop Entry]
Type=Application
Name=Pico8-Game
Exec=/home/pico8-user-you-created/your-startup-script.sh
the reasons for doing this is that a graphical application is going to need a graphical session to show anything.
Most desktops environments will automatically start any .desktop files located in the above autostart dir.

I tried doing the .desktop file route because what you're saying makes sense about needing the desktop environment to be loaded first.

It exhibits the same behavior i saw before where I can hear the chime of pico8 starting but the window is invisible.

E: aha! Added a five second sleep command between loading qjoypad and loading pico8 and we are in business!

DR FRASIER KRANG fucked around with this message at 04:05 on Mar 9, 2024

Klyith
Aug 3, 2007

GBS Pledge Week

buglord posted:

I'm willing to live with this for now, but im curious:

Is there a way to tell Linux not to worry about the errors, and just boot the system?
Whatever errors it thinks are occuring are not actually impacting my system. My USB ports are working and such, audio on the front panel would work (before i just removed it). its kinda annoying that it slows down the boot process so much chasing a problem that isnt there.

Yah: https://bbs.archlinux.org/viewtopic.php?id=253704

(also that person has intriguingly similar errors, if you happen to have a RGB dingus that might have gotten the header plugged in backwards)

mila kunis
Jun 10, 2011

Klyith posted:

https://github.com/ValveSoftware/Proton/wiki/Using-a-NTFS-disk-with-Linux-and-Windows

Basically, you need to make sure that the linux-native parts of the equation (proton, wine, etc) don't try to treat the NTFS drive like a linux FS and do illegal things.

For DRM-free games run through wine or something like lutris, you can just point to a linux location as the wine prefix in the config. For steam this requires a mount link to a linux FS for the compatdata folder (steam's version of wine prefix).

I tried doing this, and I was under the impression that I could install a game on this one drive, and I'd be able to play from both windows and linux - is that incorret? I tried installing a game while in windows, switched over to linux, and steam in linux couldn't detect the game installed on that drive in my library.

mrbass21
Feb 1, 2009
Hey, thread! I got so god drat tired of Microsoft trying to shove AI down my throat, that for the first time in about 10 years, I decided to try and switch to Linux.

Started with Manjaro for about two days, then decided to just go with vanilla arch. Man, I’m having a blast with this! Also, holy cow has Linux desktop come a long way! Audio works. Printer works. Jesus, even most of my windows emulated games work and with great performance! I expected to need to dual boot my windows install… but there’s not anything I need to go back to it for other than some c# work.

I’m sure I’ll be back with questions, but just wanted to pop in and say hi and thank folks for awesome advice I’ve acquired while lurking.

Sleng Teng
May 3, 2009

Helping a family member install stock windows 11 last month is what did it for me. Good lord it’s so bad.

Adbot
ADBOT LOVES YOU

Klyith
Aug 3, 2007

GBS Pledge Week

mila kunis posted:

I tried doing this, and I was under the impression that I could install a game on this one drive, and I'd be able to play from both windows and linux - is that incorret? I tried installing a game while in windows, switched over to linux, and steam in linux couldn't detect the game installed on that drive in my library.

So I don't do this myself, I'm just going off the instructions and various reports that it can work. But for every 1 person that it works for there are 5 who have problems. Good luck!

Did you have other games previously that it did see? Were you able to install a game in Linux and have it work?

If the game has a native linux version, the linux-steam will ignore the windows-steam version, and you have to override it to use the windows version instead. (This is a useful thing to know for linux gaming in general. I feel like running the windows versions in proton generally work better than the native linux does.)

Also it might just be steam being picky about the appmanifest files. Try repair library? (Settings -> Storage -> ... -> Repair Library)



IIRC when I changed over from windows to linux I directly copied a number of steam games from my old windows partitions to my new linux setup and steam-linux picked them up ok. So steam-linux is definitely able to pick up installs created by steam-windows. But I only did that with a few games, and I wasn't dealing with a foreign filesystem. I moved the games from ntfs to ext4 because I said sayonara to windows.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply