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.
Are you using wayland or X11? If it's wayland, are firefox running under native wayland mode, or xwayland mode (check
about:support
to confirm).No idea, It uses whatever Ubuntu 22 defaulted to I believe.
I'll check next time I can, Thank you.
I believe Firefox running under native Wayland mode should have touch input support enabled, but I can't personally test it myself because I have no laptop or desktop with touchscreen display.
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?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'sabout:support
.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
Just manually create the folder if it's not already exist (it also didn't exist on my fresh installation either).
Right, idk why that didn't occur to me lmao
edit: still giving me
xwayland
as window protocol onabout:support
:(edit 2: NEVERMIND! It worked! I had to reboot, not just relog. Thanks!
Glad it worked out!