-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General Discussion #7
Comments
I spent some effort to enable KVM for Linux on Surface Pro X but didn't succeed so far. By default Linux boots in Exception Level 1 (Supervisor Level). The boot procedure on Surface Pro X looks similar to x86_64. There is a lot of assumption below: The second method is similar to the first but via the secure monitor in EL3 (hvc) I see a lot of Edit: A good starting point would be to dump the content of the exception tables in EL3 and EL2. |
Feel free to open a new issue for that! Unfortunately, this is something I know practically nothing about. But having KVM support would be awesome. |
Thanks for your contribution to making Linux usable on SPX. |
Can you post a full dmesg log? Also what's the putput of In terms of user-space software, I only explicitly installed |
There are no files under |
In that case, I don't think mesa will work either. Does |
2c00000.gpu does exist. |
Do you have an SQ1 or SQ2? Also at this point I think we need a dmesg log. |
SQ1 dmesg info |
Okay, so might be a difference between SQ1 and SQ2. What about |
|
That means that no devices (that have drivers) wait on other drivers to load. I can't seem to find any reference to pretty much anything GPU related in your dmesg log. Can you post your kernel config? |
The config I used is spx-5.19.rc1-arch.config |
Can you try and export the final/actual config with |
Okay, so the config checks out... it kinda looks like everything with drivers built as modules doesn't work... Can you check if they're accessible (e.g. run |
|
So I guess it can't find any modules... the partitions are mounted properly? What about |
|
Okay, there should be a |
Thanks for the hint. I will look into it. |
Solved. |
I got some problems while booting Fedora 36 installation on my surface pro x. Here is my
I'm a beginner in linux kernel field, would you please lend me a hand? |
Em, it seems that I've found a corresponding explanation in linux-surface/grub#1 |
I've recently gotten ahold of a windows dev kit 2023, which appears to be a surface pro 9 (5g) / sq3 in a box, and I'm attempting to boot linux on it with these patches. Progress so far -
Barring better suggestions, I'm going to try to extract the firmware with the script from aarch64-firmware and stuff it into the arch image above and see where that gets booting |
You can also experiment with In the long run, you'll probably want to have a look at the DT of the sc8280xp (that is 8cx Gen 3; it's also used in the Thinkpad X13s) and use that as a base. Also, you might want to join the |
Really looking forward to this project. Any new developments currently? |
For the dev-kit see #43. As far as I understand, it's booting via ACPI with display support, but a DT will likely be required to get the GPU working. For the SPX: I'm a bit busy right now, so progress is somewhat slow. I'm working on getting some patches for UEFI variables (that are also useful for other Qualcomm devices) upstream. I'll also need to revisit the GRUB patches (completely forgot about those). So hopefully I can find the time to work on that over easter. There's also linux-surface/aarch64-arch-mkimg#5 to build a DT-bootable disk image that should hopefully make installation a bit easier. Unfortunately, that seems to building somewhat randomly (fails downloading a package from our repo) and I'm not exactly sure why. |
Hey, I think it's really great to see progress like the arm64 releases, but is there any progress on the audio or webcam drivers? |
@TimoRams Not on the SPX side, unfortunately. I'm not sure how far along webcam support is on the X13s (that could probably at least partially be adapted for the ARM-based SP9 and DevKit). AFAIK audio should work on that though (but again might have to be adapted in some parts, at least integrated in some DTS). |
Does anyone know if there is an issue with acceleration / graphics? It seems like when there is high CPU usage, the device has a very noticeable lag (to the point that actions are delayed by seconds). This happens on Wayland (GNOME and Sway), but AFAIK HW Acceleration is enabled |
Hmm. Can't say that, really, I'm using the WDK and Thinkpad X13s on Windows 11 and Linux, and on Linux it's not perfect, but at least on par with Windows 11. More like a lttle faster. There are some USB-related issues, meaning if there's a lot of traffic on it, you would see lags, but as daily driver... nope What#s your setup? |
This mostly happens when there is really high CPU usage such as |
Can someone explain to me how to install the arch linux from the aarch64-arch-mkimg on the nvme since the instructions on how to install it is different from x86. The other question would be how to copy the surface kernal to the manjaro install usb for example. I'm pretty new to all this but I would like to run Arch/Manjaro on my surface. |
anyone try to boot android, i try but never success |
Hi everyone! I have an SQ1 Pro X and am getting increasingly frustrated with successive Windows 11 updates degrading the performance, and turning what was, on release, really a very nice device, into a bit of a pain in the arse. I'm also much more keen to be running Linux on everything these days than I was when I bought it. So I'd love to put it on my SPX but I'm a little unclear as to how exactly to go about it. Is the tracking issue representative of the current state i.e. things basically work except sound, sensors, webcams? "External Display Ports" don't work, but what about HDMI alt-mode over USB-C? If I am to install it, how much of the support has been upstreamed? Can I try a normal openSUSE Tumbleweed installer these days, like I did once with an old SP4? (Would be my preferred distro.) Or do I need to use this special Arch image? I use Linux on my main desktop PC but have essentially zero experience with the kernel and almost no knowledge of its inner workings. However, I do actually have one, and it's not my primary device, so I am very happy to try out things and investigate things, send logs etc. or anything that will help further development. Writing anything myself is probably beyond me (basically only know Python), but maybe I can still assist in other ways, if guided? :) |
I haven't really tested that.
The critical parts are still not upstream, most notably the device tree. Even then it would probably not be straightforward to install, because Linux doesn't support ACPI PEPs, with Qualcomm makes heavy use of with those kind of devices. I think the easiest we can do is create some kind of install media like I've done here. But note that that's not really user-friendly. |
Ah, that does seem like a quite a lot of hoops still yeah... |
Issue for general discussions.
The text was updated successfully, but these errors were encountered: