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
Comatoast
Aug 1, 2003

by Fluffdaddy
BSD is the best poster in the thread. Please stop complaining because he is participating. It's pointless and wasting all of our time. The forums come with an ignore function of you just can’t handle it.

Comatoast fucked around with this message at 02:33 on Apr 6, 2023

Adbot
ADBOT LOVES YOU

ExcessBLarg!
Sep 1, 2001
Yeah this thread would be way less entertaining without BSD.

jaegerx
Sep 10, 2012

Maybe this post will get me on your ignore list!


I’d suffice to say we wouldn’t even this thread without BSD

ziasquinn
Jan 1, 2006

Fallen Rib

Pablo Bluth posted:

Honestly, who reads man pages these days? The answer is on ArchWiki.

When I got into Linux my friend warned me about posting for help anywhere because Linux users are literally the worst about that poo poo. It comes out sometimes in the authorship of the wiki at times, say you read an Archwiki page and it lacks command syntax and just assumes you know how to do something. I mean, sometimes there are links, but sometimes it just says "enable this" but man, I just installed last night! I don't know about systemctl enable!

Some pages are well documented and others are just like "GLHF"

I just added https://aur.archlinux.org/packages/evdi-compat-git as another alternative to evdi-git to the Displaylink page because I had to spend like 6 hours researching my displaylink until I found the upstreamed solution in that package someone made (praise the higher-tier nerds).

Admittedly though, I vastly prefer having a "centralized" wiki and repo system in Arch to say, Ubuntu. Which maybe is mostly a sense of unfamiliarity with how the packages work. Plus I'm a freak and love using yay -S package or something vs hunting through a shop or going to find .debs on websites (this feels too alike to going to websites to download .exes)

cruft
Oct 25, 2007

ziasquinn posted:

When I got into Linux my friend warned me about posting for help anywhere because Linux users are literally the worst about that poo poo.

Linux users can be pretty bad, but Plan 9 users are the actual worst.

Anyway, if it's worth anything, I enjoy helping people with things they don't know, but I can't do anything about those who live to heap abuse on noobs. I believe this sentiment is the same thing that led Raph to create Freenode, actually.

ziasquinn
Jan 1, 2006

Fallen Rib

cruft posted:

Linux users can be pretty bad, but Plan 9 users are the actual worst.

Anyway, if it's worth anything, I enjoy helping people with things they don't know, but I can't do anything about those who live to heap abuse on noobs. I believe this sentiment is the same thing that led Raph to create Freenode, actually.

Oh, me too! I think it's super fun. I've always been like that about anything though. Playing a battle royale with a first time gamer? Great stuff, imo.

Yeah, it's impossible to change the tide but all you can do is be nice and try, ya know?

It's just really kinda sad to look at any given topic or thread around the internet and see people being abusive or really picky/mean with noobs who are begging for help. Like, I know if I've gotten to a point where I'm posting a thread, I've exhausted every resource and informational guide I can possibly find. Obviously that isn't true for everyone, some people go straight to posting, but... :shrug:

Speaking of posting:

I have been getting weird system freezes recently. I am hoping it's somehow related to my USB hubs on my mobo cause the symptoms are really strange: the system rejects all input. Cursors continue to blink. Audio and video continue to play. I usually lose internet (but not always). Replugging usb devices, switching cables or ports, does nothing. I usually just reboot and it fixes it, but it is really aggravating. I'm running Arch with Zen kernel and GNOME.

The only related stuff I can find in the journal is this. FYI these are reversed so top is oldest.

code:
Apr 06 09:13:54 blueleaf kernel: xhci_hcd 0000:03:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0010 address=0xbe3c1000 flags=0x0020]

Apr 06 09:13:47 blueleaf kernel: usb 1-1.2: USB disconnect, device number 4
Apr 06 09:13:47 blueleaf kernel: usb 1-1: USB disconnect, device number 2
Apr 06 09:13:47 blueleaf kernel: xhci_hcd 0000:03:00.0: HC died; cleaning up
Apr 06 09:13:47 blueleaf kernel: xhci_hcd 0000:03:00.0: xHCI host controller not responding, assume dead
Apr 06 09:13:46 blueleaf kernel: pcieport 0000:20:04.0: Unable to change power state from D3hot to D0, device inaccessible


Earlier it was a Seg 11 fault in gdm-x-session, could not set display :0, this is what I usually get.
code:
Apr 06 09:14:44 blueleaf systemd[1]: Started Process Core Dump (PID 1019/UID 0).
Apr 06 09:14:44 blueleaf systemd[1]: Created slice Slice /system/systemd-coredump.
Apr 06 09:14:44 blueleaf /usr/lib/gdm-x-session[957]: (EE) Server terminated with error (1). Closing log file.
Apr 06 09:14:43 blueleaf kernel: evdi: [I] (card1) Connector state: connected
Apr 06 09:14:43 blueleaf kernel: evdi: [I] (card1) Connected with Task 898 (DesktopManagerE) of process 881 (DisplayLinkMana)
Apr 06 09:14:43 blueleaf kernel: evdi: [I] (card1) Added i2c adapter bus number 8
Apr 06 09:14:43 blueleaf kernel: evdi: [I] (card1) Opened by Task 898 (DesktopManagerE) of process 881 (DisplayLinkMana)
Apr 06 09:14:43 blueleaf gnome-session-f[1017]: Cannot open display: 
Apr 06 09:14:43 blueleaf gnome-session-binary[999]: WARNING: software acceleration check failed: Child process exited with code 1
Apr 06 09:14:43 blueleaf gnome-session[999]: gnome-session-binary[999]: WARNING: software acceleration check failed: Child process exited with code 1
Apr 06 09:14:43 blueleaf gnome-session-c[1016]: cannot open display: :0
Apr 06 09:14:43 blueleaf gnome-session-c[1015]: cannot open display: :0
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[999]: /etc/gdm/Xsession: Setup done, will execute: /usr/bin/gnome-session
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[1008]: xhost:  unable to open display ":0"
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[999]: /etc/gdm/Xsession: Beginning session setup...
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE)
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) Please also check the log file at "/home/eve/.local/share/xorg/Xorg.0.log" for additional information.
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]:  for help.
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]:          at http://wiki.x.org
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: Please consult the The X.Org Foundation support
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE)
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE)
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: Fatal server error:
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE)
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) Segmentation fault at address 0x0
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE)
                                                 #2  0x000055c9b33c8ea0 n/a (Xorg + 0x156ea0)
                                                 #3  0x00007f2c7501bbb5 n/a (libc.so.6 + 0x85bb5)
                                                 #4  0x00007f2c7509dd90 n/a (libc.so.6 + 0x107d90)
                                                 ELF object binary architecture: AMD x86-64
Apr 06 09:14:44 blueleaf systemd[1]: Started Process Core Dump (PID 1019/UID 0).
Apr 06 09:14:44 blueleaf systemd[1]: Created slice Slice /system/systemd-coredump.
Apr 06 09:14:44 blueleaf /usr/lib/gdm-x-session[957]: (EE) Server terminated with error (1). Closing log file.
Apr 06 09:14:43 blueleaf kernel: evdi: [I] (card1) Connector state: connected
Apr 06 09:14:43 blueleaf kernel: evdi: [I] (card1) Connected with Task 898 (DesktopManagerE) of process 881 (DisplayLinkMana)
Apr 06 09:14:43 blueleaf kernel: evdi: [I] (card1) Added i2c adapter bus number 8
Apr 06 09:14:43 blueleaf kernel: evdi: [I] (card1) Opened by Task 898 (DesktopManagerE) of process 881 (DisplayLinkMana)
Apr 06 09:14:43 blueleaf gnome-session-f[1017]: Cannot open display: 
Apr 06 09:14:43 blueleaf gnome-session-binary[999]: WARNING: software acceleration check failed: Child process exited with code 1
Apr 06 09:14:43 blueleaf gnome-session[999]: gnome-session-binary[999]: WARNING: software acceleration check failed: Child process exited with code 1
Apr 06 09:14:43 blueleaf gnome-session-c[1016]: cannot open display: :0
Apr 06 09:14:43 blueleaf gnome-session-c[1015]: cannot open display: :0
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[999]: /etc/gdm/Xsession: Setup done, will execute: /usr/bin/gnome-session
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[1008]: xhost:  unable to open display ":0"
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[999]: /etc/gdm/Xsession: Beginning session setup...
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE)
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) Please also check the log file at "/home/eve/.local/share/xorg/Xorg.0.log" for additional information.
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]:  for help.
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]:          at http://wiki.x.org
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: Please consult the The X.Org Foundation support
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE)
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE)
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: Fatal server error:
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE)
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) Segmentation fault at address 0x0
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE)
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 13: /usr/lib/Xorg (_start+0x25) [0x55c9b32b12b5]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 12: /usr/lib/libc.so.6 (__libc_start_main+0x8a) [0x7f2c74fb984a]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 11: /usr/lib/libc.so.6 (__libc_init_first+0x90) [0x7f2c74fb9790]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 10: /usr/lib/Xorg (SProcXkbDispatch+0x1c93) [0x55c9b32b036f]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 9: /usr/lib/Xorg (WaitForSomething+0x1c9) [0x55c9b33c0ec9]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 8: /usr/lib/Xorg (UnlockServer+0x282) [0x55c9b33c58c2]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 7: /usr/lib/Xorg (config_init+0x478) [0x55c9b34486d8]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 6: /usr/lib/Xorg (config_init+0x386) [0x55c9b34485e6]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 5: /usr/lib/Xorg (xf86PlatformDeviceCheckBusID+0x2c0) [0x55c9b3421d90]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 4: /usr/lib/Xorg (present_register_complete_notify+0xc0) [0x55c9b334de80]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 3: /usr/lib/Xorg (xf86HandleColormaps+0x1193) [0x55c9b33ed923]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 2: ? (?+0x0) [0x0]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 1: /usr/lib/libc.so.6 (__sigaction+0x50) [0x7f2c74fcef50]
Apr 06 09:14:43 blueleaf /usr/lib/gdm-x-session[957]: (EE) 0: /usr/lib/Xorg (dri3_send_open_reply+0xdd) [0x55c9b33cd9dd]
Somehow it seems to be related to Vivaldi in some fashion, cause switching off it stopped most freezes? But it just happens, seemingly randomly. I can't trigger it reliably, so, idk.

Just throwing this in here, kinda stumped. I've looked around for bug reports but a lot are from like, several years ago, not recently.

The only other thing I've done was update my BIOS, install a Ryzen 9 5900X, and a cooler. I guess I *did* take some LED+shrouds off two of my RAM sticks, but I have a strong feeling that isn't it. (I ran a Memtest86+ 1 pass and it reported a PASS, but I probably should have ran it at least 4 more times...)

I was originally thinking it might be related to evdi/displaylink, but uninstalling those drivers and settings did not stop the issue.

Finally, this has persisted between reinstalls. I'm at 3 reinstalls since it started occurring, which was shortly after installing the new CPU/updating BIOS, etc. I even double-checked my arch iso after downloading it for faults/errors.

Switching off GNOME to XFCE4 did not alleviate it either, although XFCE4 was able to recover more consistently, but I think it was still attached to some gnome functions despite not being logged in it. I haven't tried a FRESH non-GNOME install yet. Wayland isn't really an option due to Synergy and I just generally don't have a good experience with it, but I might be setting it up wrong in the first place.

ziasquinn fucked around with this message at 16:12 on Apr 6, 2023

cruft
Oct 25, 2007


Based on just those two log snippets it sure looks like some kind of hardware problem. I'm inclined to suspect RAM, but maybe it's the firmware on the USB controller chip (which you probably can't modify) or... I mean, my work team tried to chase down a glitch like this recently and after about a month of replacing stuff we had to just give up and replace the whole motherboard. I'd say my team is above average competent at this sort of thing, but at some point you're going to need to decide that the time and energy required to figure out the problem is worth more than the money to just start over.

I guess I'd want to at least try a new OS first, though. Maybe some weird bit got flipped in your kernel code or some important daemon.

cruft fucked around with this message at 17:26 on Apr 6, 2023

Klyith
Aug 3, 2007

GBS Pledge Week

ziasquinn posted:

When I got into Linux my friend warned me about posting for help anywhere because Linux users are literally the worst about that poo poo. It comes out sometimes in the authorship of the wiki at times, say you read an Archwiki page and it lacks command syntax and just assumes you know how to do something. I mean, sometimes there are links, but sometimes it just says "enable this" but man, I just installed last night! I don't know about systemctl enable!

Yeah arch wiki is good, but also designed for arch users. Who tend to be either the guys who already know all the basics, or guys who think they know all the basics and definitely don't need any hand-holding.

Arch as a first-time user is gonna be like, hope you like reading docs. If you're confused about stuff like that, I'd drop to general google and look around. Like, red hat also has good docs for a lot of the more infrastructure type parts of linux like systemd.

ziasquinn posted:

Earlier it was a Seg 11 fault in gdm-x-session, could not set display :0, this is what I usually get.

Somehow it seems to be related to Vivaldi in some fashion, cause switching off it stopped most freezes? But it just happens, seemingly randomly. I can't trigger it reliably, so, idk.

Just throwing this in here, kinda stumped. I've looked around for bug reports but a lot are from like, several years ago, not recently.

So I've mentioned before in the thread, vivaldi / chrome have been real problems for me. I use wayland rather than x, but the worst problems were when running them in x mode. And it had to do with video acceleration.

x + hw video acceleration: occasional system lockup. if I hit ctrl+alt+fkey fast enough to get to a different vterm before things fully froze, I could kill vivaldi, xdg-portal, plasmashell and recover without a reboot
x + no hw acceleration: everything fine (but annoying cpu load watching video)
wayland + no hw acceleration, last year: occasional general problems for vivaldi
wayland + hw acceleration, last 2 months: hw accel didn't work until just recently, but so far is not crashing system and the problems from last year seem to have been fixed


Meanwhile, firefox worked perfectly with both wayland and hw video accel from when I switched to linux a year ago. The only reason I gently caress with another browser is that I've carried over a 2-browser setup where vivaldi is my dedicated thing for youtube and various social media. Firefox definitely cares about linux support way more than google (or vivaldi).

tl;dr: if at all possible, use firefox on linux.

Computer viking
May 30, 2011
Now with less breakage.

My boyfriend is a desktop QA for Vivaldi and a linux user; I can nudge him towards video codecs in X. Though I suspect the underlying problem may be outside their code.

kujeger
Feb 19, 2004

OH YES HA HA
As a reasonably experienced Linux user, the arch wiki is also chock full of cargo-culted commands that don't do what the wiki says, are completely unnecessary, or very much not best practice.

ziasquinn
Jan 1, 2006

Fallen Rib

cruft posted:

Based on just those two log snippets it sure looks like some kind of hardware problem. I'm inclined to suspect RAM, but maybe it's the firmware on the USB controller chip (which you probably can't modify) or... I mean, my work team tried to chase down a glitch like this recently and after about a month of replacing stuff we had to just give up and replace the whole motherboard. I'd say my team is above average competent at this sort of thing, but at some point you're going to need to decide that the time and energy required to figure out the problem is worth more than the money to just start over.

I guess I'd want to at least try a new OS first, though. Maybe some weird bit got flipped in your kernel code or some important daemon.

Yeah that's what I'm thinking and hoping -- I'm swapping the motherboard tomorrow with a new one with +7 more usb ports, should be a grand time at the end of it all. I have reinstalled my OS and changed distros several times to various improvements and non improvements.

Klyith posted:

Yeah arch wiki is good, but also designed for arch users. Who tend to be either the guys who already know all the basics, or guys who think they know all the basics and definitely don't need any hand-holding.

Arch as a first-time user is gonna be like, hope you like reading docs. If you're confused about stuff like that, I'd drop to general google and look around. Like, red hat also has good docs for a lot of the more infrastructure type parts of linux like systemd.

So I've mentioned before in the thread, vivaldi / chrome have been real problems for me. I use wayland rather than x, but the worst problems were when running them in x mode. And it had to do with video acceleration.
:words:

Oh yeah, I definitely started on Arch for no real reason aside from the fact I could tap my buddy's shoulder anytime I was finding myself in a situation where google was not providing me with what I needed (or I was feeling lazy). At this point I'm far enough in I feel like I have a good enough basic understanding I'm not floundering so hard like I was initially. I definitely would have probably abandoned it if I didn't have him helping me on the first manual install, which we did for kicks.

As for the Firefox suggestion, honestly, I'll try it. So Far just switching off Vivaldi to pure Chrome has been working pretty well, but Firefox might be the ultimate destination depending on what the mobo swap results in. I hope at the very least the new mobo fixes my intermittent USB failures, cause it's honestly insanely annoying.

Thanks you two for the suggestions and advice!


Computer viking posted:

My boyfriend is a desktop QA for Vivaldi and a linux user; I can nudge him towards video codecs in X. Though I suspect the underlying problem may be outside their code.

Yeah, why not? I looked a little on their forums but most of the stuff that was being referenced was pretty old (6+ months) and not being commented on much anymore.

BattleMaster
Aug 14, 2000

Never trust someone else's commands unless it's some grep awk text processing bullshit because gently caress coming up with that independently and it's not like it'll hurt anything if it doesn't work

xzzy
Mar 5, 2009

BattleMaster posted:

Never trust someone else's commands unless it's some grep awk text processing bullshit because gently caress coming up with that independently and it's not like it'll hurt anything if it doesn't work

I die a little bit every time I get told to wget a script off some website and pipe it straight into bash so I can install some hot new software package that everyone is raving about.

RFC2324
Jun 7, 2012

http 418

pseudorandom name posted:

As a friendly reminder, BlankSystemDaemon is a gimmick troll account without the technical knowledge to be funny or the courtesy to limit their trolling to YOSPOS and is best added to your ignore list.

Bsd absolutely has plenty of technical knowledge.

Its just trapped in the 70s, like his preferred OS

Also, the thread would be some boring fact spewing place like most of the internet without shitposting like his, and thats boring af.

cruft
Oct 25, 2007

BattleMaster posted:

Never trust someone else's commands unless it's some grep awk text processing bullshit because gently caress coming up with that independently and it's not like it'll hurt anything if it doesn't work

code:
cat /etc/os-release | awk '{print "lol" > "/etc/shadow"}'

cruft
Oct 25, 2007

RFC2324 posted:

Bsd absolutely has plenty of technical knowledge.

Its just trapped in the 70s, like his preferred OS

Whoa there. There's cool stuff happening in BSD (the OS) land. And while I'm kind of new to the thread, I haven't seen BSD (the poster) do anything worth all this crap getting shoveled onto them.

In fact BSD (the poster) appears to be one of the few people ITT with enough experience to be able to whip out an awk script to sort /etc/passwd by the 3rd GECOS field, and also tell you why it's called the GECOS field, which is something I at least appreciate.

BattleMaster
Aug 14, 2000

BSD is fine and hasn't even done the "here's an unrelated BSD man page in response to your Linux question" schtick in a while

edit: and even if they did I know better than to take the bait now :v:

BattleMaster fucked around with this message at 19:28 on Apr 6, 2023

Nitrousoxide
May 30, 2011

do not buy a oneplus phone



The recommended k3s install procedure has you downloading this chunky script and trusting that it's not doing all sorts of nasty stuff to your system instead of publishing a package in the repos.

https://get.k3s.io/

BattleMaster
Aug 14, 2000

xzzy posted:

I die a little bit every time I get told to wget a script off some website and pipe it straight into bash so I can install some hot new software package that everyone is raving about.

Nitrousoxide posted:

The recommended k3s install procedure has you downloading this chunky script and trusting that it's not doing all sorts of nasty stuff to your system instead of publishing a package in the repos.

https://get.k3s.io/

this is acceptable because they recommend curl instead of wget right hahahaha :negative:

Subjunctive
Sep 12, 2006

✨sparkle and shine✨

BattleMaster posted:

BSD is fine and hasn't even done the "here's an unrelated BSD man page in response to your Linux question" schtick in a while

edit: and even if they did I know better than to take the bait now :v:

You’re right, I was being cranky and rude. I like BSD I just have so much trouble with the bait.

Sorry, BSD.

Mescal
Jul 23, 2005

is there "pair" and "connect" or like pair and two different kinds of connect with bluetooth? because it feels like the's two levels of connect. steamos doesn't generally want to reconnect to a controller. it kinda feels like both sides of the connection have a more passive and more active connect signal going on, and they don't always match right? if you specifically click connect in the desktop ui AND hold down the recessed pair button on the switch controller, they will do it fine every time! that makes me think they're totally capable of working well over bluetooth. everybody's so drat pessimistic about bluetooth and yeah it sucks but there's more than that going on with the connectivity issues.

ziasquinn
Jan 1, 2006

Fallen Rib

Mescal posted:

is there "pair" and "connect" or like pair and two different kinds of connect with bluetooth? because it feels like the's two levels of connect. steamos doesn't generally want to reconnect to a controller. it kinda feels like both sides of the connection have a more passive and more active connect signal going on, and they don't always match right? if you specifically click connect in the desktop ui AND hold down the recessed pair button on the switch controller, they will do it fine every time! that makes me think they're totally capable of working well over bluetooth. everybody's so drat pessimistic about bluetooth and yeah it sucks but there's more than that going on with the connectivity issues.

maybe it's probing the low energy bluetooth? like, my bluetooth speaker has a "LE bluetooth" mode that the remote uses to pair with it but a phone fails to... LE is always is present when I search for it but I have to specify pairing mode to turn on the high energy bluetooth

BlankSystemDaemon
Mar 13, 2009



Thanks to everyone who stood up for me.
And gently caress you for making me tear up.

RFC2324 posted:

Bsd absolutely has plenty of technical knowledge.

Its just trapped in the 70s, like his preferred OS

Also, the thread would be some boring fact spewing place like most of the internet without shitposting like his, and thats boring af.
Well, there's a shitload of stuff I used to know but which is lost in the chemofog - but usually I can lodge enough of it free when I'm looking into things.

And BSD is at least in the 80s! :v:

cruft posted:

Whoa there. There's cool stuff happening in BSD (the OS) land. And while I'm kind of new to the thread, I haven't seen BSD (the poster) do anything worth all this crap getting shoveled onto them.

In fact BSD (the poster) appears to be one of the few people ITT with enough experience to be able to whip out an awk script to sort /etc/passwd by the 3rd GECOS field, and also tell you why it's called the GECOS field, which is something I at least appreciate.
The biggest advantage to awk is to be able to do atomic processing with awk scripts, but everything you've said can be accomplished with cat, sed, and sort, I think.

The GECOS field is a field that dates back to General Electric Comprehensive Operating Supervisor. :ignorance:
It's also known as the OS that went so bad, Bell Labs' folks took their ball and then wrote UNIX in B, invented a new language, rewrote the entire OS in that language, and spawned a revolution in the computing industry that still affects us to this day.

Nitrousoxide posted:

The recommended k3s install procedure has you downloading this chunky script and trusting that it's not doing all sorts of nasty stuff to your system instead of publishing a package in the repos.

https://get.k3s.io/
It's unfortunately also the advice given for acme.sh - which, barring that, is probably the best way to interface with LetsEncrypt.
They've recently switched to defaulting to ZeroSSL, because ZeroSSL hired the developer - though this only affects new users.

BlankSystemDaemon fucked around with this message at 00:21 on Apr 7, 2023

Klyith
Aug 3, 2007

GBS Pledge Week

Mescal posted:

is there "pair" and "connect" or like pair and two different kinds of connect with bluetooth? because it feels like the's two levels of connect. steamos doesn't generally want to reconnect to a controller. it kinda feels like both sides of the connection have a more passive and more active connect signal going on, and they don't always match right?

Yes. There is pairing, but that is passive, just a table of keys that another device has a matching key to. Once paired, either side can initiate the actual connection.

Most "host" type things -- PC OSes, phones, etc -- will wait for the user to press the connect button before they try to connect. And most "device" types will try to auto-connect to something when they turn on.

So I have a pair of BT headphones that are paired with 2 different PCs and my phone. When I turn them on, they try to connect to the most recent one of those they were connected to, and nothing else. If they were recently connected to PC1 and I want to use them with my phone, I need to turn off the radio on PC1 before I turn on the headphones. Then I turn on the headphones and they sit there stupidly pinging to PC1. Then I press connect with my phone to make the connection.

These details are not so much a problem with BT as with an ecosystem where 1 device of a pair is typically very stupid and has very limited UI.

Mescal posted:

if you specifically click connect in the desktop ui AND hold down the recessed pair button on the switch controller, they will do it fine every time! that makes me think they're totally capable of working well over bluetooth. everybody's so drat pessimistic about bluetooth and yeah it sucks but there's more than that going on with the connectivity issues.

When you get into something like a switch controller that's semi-proprietary, all bets are off. I would guess that the switch controllers are doing something just a bit off-spec.

cruft
Oct 25, 2007

cruft posted:

code:
cat /etc/os-release | awk '{print "lol" > "/etc/shadow"}'

Been thinking about this all day and I think I have a better one that at least half of my 1st year hires would blithely run as root:

code:
## WARNING: THIS WILL DESTROY EVERYTHING IN /tmp
## WARNING: DO  NOT RUN THIS
wak -F 'ri ' -v a=m -v d=- '{b=FS; sub(/f/, a, FS); c=FS d b "/tmp"; print |c}' /proc/1/environ
I changed it from "/" to "/tmp", so if one of you idiots pastes that into a shell, at least you'll only shoot off part of your foot. It would look a lot less suspicious with "/" instead of "/tmp".

Anyway, I think this could nail a whole lot of people who don't know awk and assume it's "safe". Try it in an alpine container, it's scary fun.

e: also changed "awk" to "wak" just to make double-sure nobody unintentionally screws themselves over.

cruft fucked around with this message at 00:49 on Apr 7, 2023

Nitrousoxide
May 30, 2011

do not buy a oneplus phone



The nice thing about chatgpt now is you can drop a shell script into it and ask it what it will do it it will (often) tell you in plain english.

Woolie Wool
Jun 2, 2006


Started running KDE in Wayland instead of X11 but I'm having problems with the cursor about doubling in size with GTK3 applications compared to native KDE apps, and also a lot of flickering and fuckiness with GTK poo poo in general. Is this something I just have to deal with until they fix it (or go back to X11) or is there a workaround?

BattleMaster
Aug 14, 2000

cruft posted:

Been thinking about this all day and I think I have a better one that at least half of my 1st year hires would blithely run as root:

code:
## WARNING: THIS WILL DESTROY EVERYTHING IN /tmp
## WARNING: DO  NOT RUN THIS
wak -F 'ri ' -v a=m -v d=- '{b=FS; sub(/f/, a, FS); c=FS d b "/tmp"; print |c}' /proc/1/environ
I changed it from "/" to "/tmp", so if one of you idiots pastes that into a shell, at least you'll only shoot off part of your foot. It would look a lot less suspicious with "/" instead of "/tmp".

Anyway, I think this could nail a whole lot of people who don't know awk and assume it's "safe". Try it in an alpine container, it's scary fun.

e: also changed "awk" to "wak" just to make double-sure nobody unintentionally screws themselves over.

drat I aliased awk to wak and /tmp to / because I kept making those mistakes

Mescal
Jul 23, 2005

Klyith posted:

Yes. There is pairing, but that is passive, just a table of keys that another device has a matching key to. Once paired, either side can initiate the actual connection.

Most "host" type things -- PC OSes, phones, etc -- will wait for the user to press the connect button before they try to connect. And most "device" types will try to auto-connect to something when they turn on.

So I have a pair of BT headphones that are paired with 2 different PCs and my phone. When I turn them on, they try to connect to the most recent one of those they were connected to, and nothing else. If they were recently connected to PC1 and I want to use them with my phone, I need to turn off the radio on PC1 before I turn on the headphones. Then I turn on the headphones and they sit there stupidly pinging to PC1. Then I press connect with my phone to make the connection.

These details are not so much a problem with BT as with an ecosystem where 1 device of a pair is typically very stupid and has very limited UI.

When you get into something like a switch controller that's semi-proprietary, all bets are off. I would guess that the switch controllers are doing something just a bit off-spec.

good info, i'm listening. the issues with multiple devices don't apply, i don't use my controller with anything else.

when the controller sends the "want to connect" signal, the deck doesn't notice 90% of the time.
when i click "connect" on the deck, it will connect--not when pressing the regular buttons, but when pressing the special pair button. (I used to unpair and re-pair them completely, but this has the same effect.)

i got a lot of questions. but my main concern is, it's clear that there's a confusion between these different kinds of signals. where could i read about how the OS interacts with these signals?


and how would somebody find out what exactly is off spec?

I would blow Dane Cook
Dec 26, 2008
Did you know that if you run cd without an argument it takes you back to your home directory?

BattleMaster
Aug 14, 2000

And all this time I have been typing cd ~, I have been played for an absolute fool

ExcessBLarg!
Sep 1, 2001

Mescal posted:

when the controller sends the "want to connect" signal, the deck doesn't notice 90% of the time.
Is it possible your controller is bugged?

I use a SN30 Pro+ on my Switch and half the time I try to connect it, it won't actually connect unless I press the pair button. But the only device I use it with is my Switch. I don't have this problem with my SN30 Pro 2 or M30, so I'm inclined to think the firmware on my Pro+ is just bugged.

Yaoi Gagarin
Feb 20, 2014

`cd -` goes back to the previous directory you were in btw

Mescal
Jul 23, 2005

ExcessBLarg! posted:

Is it possible your controller is bugged?


i'm sure it's possible. i asked in the steam deck to see if it's just me.

cruft
Oct 25, 2007

VostokProgram posted:

`cd -` goes back to the previous directory you were in btw

I can hardly wait until everybody discovers $_

Klyith
Aug 3, 2007

GBS Pledge Week

Woolie Wool posted:

Started running KDE in Wayland instead of X11 but I'm having problems with the cursor about doubling in size with GTK3 applications compared to native KDE apps, and also a lot of flickering and fuckiness with GTK poo poo in general. Is this something I just have to deal with until they fix it (or go back to X11) or is there a workaround?

1. This is definitely your setup, not a general problem. I'm in KDE/wayland and GTK apps have nothing like that happening.

2. in the KDE settings panel, Application Style -> Gnome/GTK Style and try setting a different theme.

3. run qdbus org.kde.KWin /KWin org.kde.KWin.showDebugConsole and check the windows tab. See if your GTK stuff is running in x11 for some reason. The mouse cursor thing makes me think of a thing that happens when wayland and x have different settings. GTK apps shouldn't need to use x, gnome has been wayland-native longer than any other DE.

4. Are you using a nvidia GPU and if so which drivers?

5. My dude if you have chosen to use arch, your stance on problems should not be "deal with until they fix it". The starting assumption should be that it's not them, it's something you need to fix locally.

Mescal
Jul 23, 2005

Klyith posted:

Yes. There is pairing, but that is passive, just a table of keys that another device has a matching key to. Once paired, either side can initiate the actual connection.

Most "host" type things -- PC OSes, phones, etc -- will wait for the user to press the connect button before they try to connect. And most "device" types will try to auto-connect to something when they turn on.

So I have a pair of BT headphones that are paired with 2 different PCs and my phone. When I turn them on, they try to connect to the most recent one of those they were connected to, and nothing else. If they were recently connected to PC1 and I want to use them with my phone, I need to turn off the radio on PC1 before I turn on the headphones. Then I turn on the headphones and they sit there stupidly pinging to PC1. Then I press connect with my phone to make the connection.

These details are not so much a problem with BT as with an ecosystem where 1 device of a pair is typically very stupid and has very limited UI.

When you get into something like a switch controller that's semi-proprietary, all bets are off. I would guess that the switch controllers are doing something just a bit off-spec.

this section on wiki popped out to me

quote:

Version 2.1 allows various other improvements, including extended inquiry response (EIR), which provides more information during the inquiry procedure to allow better filtering of devices before connection; and sniff subrating, which reduces the power consumption in low-power mode.

quote:

Bluetooth services generally require either encryption or authentication and as such require pairing before they let a remote device connect. Some services, such as the Object Push Profile, elect not to explicitly require authentication or encryption so that pairing does not interfere with the user experience associated with the service use-cases.

Mescal fucked around with this message at 15:59 on Apr 7, 2023

Woolie Wool
Jun 2, 2006


Klyith posted:

2. in the KDE settings panel, Application Style -> Gnome/GTK Style and try setting a different theme.
The theme successfully changed, but the bugs are still there.

quote:

3. run qdbus org.kde.KWin /KWin org.kde.KWin.showDebugConsole and check the windows tab. See if your GTK stuff is running in x11 for some reason. The mouse cursor thing makes me think of a thing that happens when wayland and x have different settings. GTK apps shouldn't need to use x, gnome has been wayland-native longer than any other DE.
Confirmed that the GTK windows are running under X11. Note that I do not have GNOME or any other GTK desktop environment installed; the only GTK stuff is what KDE uses.

quote:

4. Are you using a nvidia GPU and if so which drivers?
Yes (RTX 2070), and I'm using the nvidia-open drivers.

quote:

5. My dude if you have chosen to use arch, your stance on problems should not be "deal with until they fix it". The starting assumption should be that it's not them, it's something you need to fix locally.
Well, there was also "continue using X11 for years until it rots to the point of uselessness". :v:

Also a huge KDE update just dropped so I'm going to apply it and reboot and see what happens.

E: didn't seem to change anything

E2: I can force Electron apps to use Wayland by starting them from terminal with the args --enable-features=UseOzonePlatform --ozone-platform=wayland but the default .desktop shortcuts seem to be only be editable as root. For GTK, it seems app-specific: Firefox will run if called from the terminal with GDM_BACKEND=wayland but Pale Moon will not (I prefer using Pale Moon for most things but I use Firefox for YouTube and anything that involves money).

E3: The plasma panel also tends to start misbehaving, no longer indicating when I switch windows and occasionally crashing the whole desktop.

Woolie Wool fucked around with this message at 18:31 on Apr 7, 2023

Klyith
Aug 3, 2007

GBS Pledge Week

Woolie Wool posted:

Confirmed that the GTK windows are running under X11. Note that I do not have GNOME or any other GTK desktop environment installed; the only GTK stuff is what KDE uses.

This sounds like part of the problem -- it's why your cursor is changing. GTK apps running through the xwayland portal will switch to whatever the gnome theme is using.

Do you have GDK_BACKEND=x11 in your env?

Woolie Wool posted:

Yes (RTX 2070), and I'm using the nvidia-open drivers.

OTOH screen flicker might be this. I have no direct experience as I have an AMD GPU, but the thing I keep hearing is that wayland support by nvidia is "better" or "much improved". Not is perfect.

But if your wayland KDE apps don't flicker the GTK ones probably won't either, once you fix the x11 thing.

Woolie Wool posted:

Well, there was also "continue using X11 for years until it rots to the point of uselessness". :v:

I was thinking more along the lines of "a distro that works properly OOTB".


But the part I was most objecting to was:

Woolie Wool posted:

until they fix it
You've just switched from X11 to Wayland and you are using Arch, your start point for your problems should be "my configs are busted". Not that it's a bug that they (whichever they you choose) need to fix.

If something is busted in your local configs, it'll stay busted forever regardless of any fixes from outside.

Adbot
ADBOT LOVES YOU

ziasquinn
Jan 1, 2006

Fallen Rib
I use cd . to go back and cd .. to go back 2

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