this post was submitted on 20 Oct 2023
229 points (95.3% liked)

Linux

48207 readers
892 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

So I posted a few weeks ago asking for opinions on the Surface Pro 4, trying to decide if I should pick one up and slap Linux on it.
Opinions were.....mixed.

I got a decent deal on one, and that's partly why it's taken me so long to post an update. It was cheap because the previous buyer had returned it to the seller claiming that there were power issues. The seller said they hadn't encountered said issues in the hour or so of testing they did, and I call fucking bullshit!
Once powered off or restarted it was taking up to 48hrs before it would grace me with booting up. And usable time ranged for 15mins to an hour before system lockup resulting in either a freeze until battery run out, or immediate system shutdown, and another 12-48hrs wait to power it up again. Obviously this is suboptimal.

Part of the issue, possibly unsurprisingly, was windows and the stripped down BIOS. After turning off secure boot, turning off the "battery saver" mode(restricts charging to 50% of total capacity) and scrubbing windows off the drive like a crusty booger...things have improved. I'm still unable to restart the device, restart powers down, but no power up. Wait times to power up again went from probably 36hrs average to 2hrs average, and if I just don't turn it off, the system is stable.

My time with Nobara on the surface has been really enjoyable, everything is just stock, I've not wanted to muck around too much and get attached in case I can't figure out the actual root cause of the power issues.
As such, not really much else to report other than Nobara running well, and pretty much everything running as well or better than when windows was installed. Touch functionality works slightly differently in Nobara than Windows, but that's not really a bother for me.

If any of you greybeard wizards has any ideas on what might be happening with the power cycle issues I'd appreciate some suggestions. I think it may be a battery issue, but I'm waiting on a hot air station to be able to open it up and have a proper look at it's guts. Doesn't seem to have anything to do with temps, that was my first thought but that didn't pan out.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

I've recently switched to pop_os so I'm a bit new. I tried a few different things to get firefox to stop using xwayland. I want it to use wayland to actually utilize accelerated video decode.

I added a MOZ_ENABLE_WAYLAND=1 variable to my ~/.profile, and I tried adding this and some additional environment variables to the .desktop file that launches firefox. I can't find the post or the file anymore, I just remember at least one variable was not firefox specific, so it was suggested to launch firefox in an environment with those variables set, to prevent messing with other things. Do you have any other ideas on what to check to get firefox to actually run in wayland?

[–] [email protected] 4 points 1 year ago (1 children)

I simply added MOZ_ENABLE_WAYLAND=1 to ~/.config/environment.d/envvars.conf and gnome picked it up after restart. Just confirm that there is no mention of xwayland afterward in firefox's about:support.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Maybe I added it in the wrong spots with the things I already tried. I'll add it there as well and report back. Either way, thanks a lot for the reply! :)

edit: I don't have an environment.d in my .config

[–] [email protected] 2 points 1 year ago (1 children)

Just manually create the folder if it's not already exist (it also didn't exist on my fresh installation either).

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

Right, idk why that didn't occur to me lmao

edit: still giving me xwayland as window protocol on about:support :(

edit 2: NEVERMIND! It worked! I had to reboot, not just relog. Thanks!

[–] [email protected] 2 points 1 year ago

Glad it worked out!