Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Experience with any Snapdragon Laptop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1634
Location: Germany

PostPosted: Fri Aug 30, 2024 11:37 am    Post subject: Experience with any Snapdragon Laptop Reply with quote

Does anybody have already experience with a Snapdragon X Laptop and Gentoo?

A search here for Snapdragon did not result in anything recent.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 495
Location: San Diego, California USA

PostPosted: Tue Sep 03, 2024 11:14 pm    Post subject: Reply with quote

Probably not quite yet. Kernel support for all the drivers isn't all in. Even when the drivers are all in, each machine is likely to need to a different Device tree configuration.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1634
Location: Germany

PostPosted: Wed Sep 04, 2024 12:22 pm    Post subject: Reply with quote

thx. Thought arm support was more common in the linux world. Or is this something new and special?

The main thing why I'm interested in those: Battery running time.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 495
Location: San Diego, California USA

PostPosted: Thu Sep 05, 2024 4:11 am    Post subject: Reply with quote

There is ARM support in the Linux kernel. But it takes more than that. You need drivers for the actual devices that are on the machine. Stuff like power controllers, memory controllers, Wifi chips, Bluetooth chips, storage controllers, etc. And, in the ARM world, you need to specify how the various pieces of hardware are connected together and where in the memory map the registers are used to control them. That's what device trees are for.

The PC world is different. Different manufacturers try to make their low level interfaces conform to various standards so that the kernel can figure out how to talk to all of the them. In the ARM world each piece of hardware is configured differently. The kernel must be given a "device tree" which is a map to the hardware configuration.

Qualcomm is still working on adding drivers for much of the chip internals. Then we're going to need device tree configurations for the different models out there.

https://www.qualcomm.com/developer/blog/2024/05/upstreaming-linux-kernel-support-for-the-snapdragon-x-elite

In the mean time if you want to experiment with ARM hardware how about trying hardware that is well supported. Like a Raspberry Pi or something similar. I've converted my main server at home from an aging PC to a RPi 5. It's a snappy little machine that takes much less energy.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1634
Location: Germany

PostPosted: Thu Sep 05, 2024 6:48 am    Post subject: Reply with quote

It's more like: Oh, maybe a new latop? Why not something new with very good battery life?

Thx for the informations so far, looks like I will wait :-)
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Spargeltarzan
Guru
Guru


Joined: 23 Jul 2017
Posts: 319

PostPosted: Thu Sep 05, 2024 8:44 am    Post subject: Reply with quote

I am also considering to upgrade my notebook soon and was thinking about the Lenovo Yoga 7x. The combination of similar or maybe better performance and longer battery time was somehow charming to me.

What I have absolutely no idea on is once the kernel has full support for Snapdragon, what about the rest of the Portage tree? Wouldn't it be necessary to develop every package with proper ARM support?

Kernel 6.11. should have much better support:
https://www.phoronix.com/news/Linux-6.11-SoC-Platforms
_________________
___________________
Regards

Spargeltarzan

Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 495
Location: San Diego, California USA

PostPosted: Thu Sep 05, 2024 4:35 pm    Post subject: Reply with quote

For the most part, the core system "just works" on ARM. Think of it this way, I'd say that most of the routers out there on the market are running some form of Linux. And a large percentage of them are some kind ARM chip. Linux ARM support has all been there for quite a while.

I have an ARM-based VM on my MacBook that runs an Ubuntu image. It includes the full desktop environment.

And, finally, I have a small Gentoo VM running on my M3 Max MacBook Pro. That is, by far, the fastest Gentoo environment I own. It absolutely flies. I'm looking forward to Snapdragon based hardware as well. Whether it happens with the current generation of chips or we have to wait another generation I predict they will be wonderful.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum