Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
User reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo Switch
How to boot Linux on your Switch
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="robozman" data-source="post: 7936998" data-attributes="member: 447091"><p>To anyone who got graphics output working, what packages did you install? I got LXDM to display with touch input last night but after wiping my SD and trying to set it up again it doesn't work. The VT login shows up on default boot, but I just get dropped to a black screen after enabling LXDM(.service). The lxdm log complans about not being able to load any DRI libs in /usr/lib/dri. Errors also reference tegra_dri.so being missing, though I don't remember copying that in or installing a package that might have contained it last night, though maybe I just don't remember as it was 3AM.</p><p></p><p>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p><p></p><p>Also, here are some instruction for chrooting into the ArchArm sd to install packages. (instructions only tested on Arch as the root user</p><p>1. Install qemu-user-static from the aur (Other distributions likely have a compariable package to this) (There is a qemu-user-static-bin package if you don't want to compile but I have not tested this package)</p><p>2. Create a rule for the linux kernel to user qemu to run aarch64 binaries. Put the following in /etc/binfmt.d/qemu-arm64.conf</p><p>[CODE]:qemu-arm64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-aarch64-static:OC[/CODE]</p><p>3. Run the related systemd service to enable this rule</p><p>[CODE]systemctl start systemd-binfmt[/CODE]</p><p>4. Mount the Arch ARM sd's root partition. (/mnt/root is used for this)</p><p>[CODE]mount /dev/sda2 /mnt/root[/CODE]</p><p>5. Copy the qemu binary into the chroot</p><p>[CODE]cp /usr/bin/qemu-aarch64-bin /mnt/root/usr/bin[/CODE]</p><p>6. Do some other mounting logic (I made this into a script and put it into /mnt to make this easier)</p><p>[CODE]mount /dev/sda2 root</p><p>mount -o bind /dev root/dev</p><p>mount -t proc /proc root/proc</p><p>mount -o bind /dev/pts root/dev/pts</p><p>chroot root /bin/bash[/CODE]</p><p>7. Run the commands you would like.</p><p>8. Leave the chroot</p><p>[CODE]exit[/CODE]</p><p>9. Unmount everything so you can remove the sdcard</p><p>[CODE]sync</p><p>umount -R /mnt/root[/CODE]</p><p></p><p></p><p>Some notes:</p><p>In order to use the network in the chroot you will have to setup resolv.conf. I suggest moving the existing file (actually it's a symlink) at /etc/resolv.conf to /etc/resolv.conf.bak and make a temporary /etc/resolv.conf with the contents [CODE]nameserver 8.8.8.8[/CODE]</p><p>Make sure to revert this back before leaving the chroot</p><p></p><p></p><p>My system sometimes becomes wierdly unstable while using this. If anyone has any idea why I would be interested. i think based on what I've read it's maybe forwarding some x86 binaries to qemu but I can't see why it would be doing this.</p><p></p><p></p><p>If this is completely broken let me know and I'll see what I forgot to write up.</p></blockquote><p></p>
[QUOTE="robozman, post: 7936998, member: 447091"] To anyone who got graphics output working, what packages did you install? I got LXDM to display with touch input last night but after wiping my SD and trying to set it up again it doesn't work. The VT login shows up on default boot, but I just get dropped to a black screen after enabling LXDM(.service). The lxdm log complans about not being able to load any DRI libs in /usr/lib/dri. Errors also reference tegra_dri.so being missing, though I don't remember copying that in or installing a package that might have contained it last night, though maybe I just don't remember as it was 3AM. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Also, here are some instruction for chrooting into the ArchArm sd to install packages. (instructions only tested on Arch as the root user 1. Install qemu-user-static from the aur (Other distributions likely have a compariable package to this) (There is a qemu-user-static-bin package if you don't want to compile but I have not tested this package) 2. Create a rule for the linux kernel to user qemu to run aarch64 binaries. Put the following in /etc/binfmt.d/qemu-arm64.conf [CODE]:qemu-arm64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-aarch64-static:OC[/CODE] 3. Run the related systemd service to enable this rule [CODE]systemctl start systemd-binfmt[/CODE] 4. Mount the Arch ARM sd's root partition. (/mnt/root is used for this) [CODE]mount /dev/sda2 /mnt/root[/CODE] 5. Copy the qemu binary into the chroot [CODE]cp /usr/bin/qemu-aarch64-bin /mnt/root/usr/bin[/CODE] 6. Do some other mounting logic (I made this into a script and put it into /mnt to make this easier) [CODE]mount /dev/sda2 root mount -o bind /dev root/dev mount -t proc /proc root/proc mount -o bind /dev/pts root/dev/pts chroot root /bin/bash[/CODE] 7. Run the commands you would like. 8. Leave the chroot [CODE]exit[/CODE] 9. Unmount everything so you can remove the sdcard [CODE]sync umount -R /mnt/root[/CODE] Some notes: In order to use the network in the chroot you will have to setup resolv.conf. I suggest moving the existing file (actually it's a symlink) at /etc/resolv.conf to /etc/resolv.conf.bak and make a temporary /etc/resolv.conf with the contents [CODE]nameserver 8.8.8.8[/CODE] Make sure to revert this back before leaving the chroot My system sometimes becomes wierdly unstable while using this. If anyone has any idea why I would be interested. i think based on what I've read it's maybe forwarding some x86 binaries to qemu but I can't see why it would be doing this. If this is completely broken let me know and I'll see what I forgot to write up. [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo Switch
How to boot Linux on your Switch
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
No one is chatting at the moment.
@
K3Nv2
:
Think I'm gonna use my giftcard balance on a nice pair of headphones but $100 is still limited
Today at 5:26 AM
@
K3Nv2
:
Soundcore q30s are nice but they leak so much sound it sounds like speakers
Today at 5:27 AM
@
Psionic Roshambo
:
Ken spend the 100 on a gun and skii mask, wait for a jogger at the park jewelry money and headphones!
+1
Today at 5:32 AM
@
K3Nv2
:
If only Amazon sold guns
+1
Today at 5:34 AM
@
K3Nv2
:
Fucking dick heads think it's a bad idea to get a gun 2 days later
+1
Today at 5:35 AM
@
BigOnYa
:
Wait, I thought you were the dickhe...nvm
+1
Today at 5:38 AM
@
K3Nv2
:
I got balls on my chin and two dicks on my forehead sir
+1
Today at 5:39 AM
@
BigOnYa
:
Sorry, no offense there double dickhead chinballs.
+1
Today at 5:42 AM
@
K3Nv2
:
Chicks still love it
+1
Today at 5:43 AM
@
BigOnYa
:
"Mommy, look, what is that?". "That's your soon to be daddy."
+1
Today at 5:44 AM
@
K3Nv2
:
That you'll only see once
+2
Today at 5:44 AM
@
Veho
:
Double dickhead chinballs is still better than double dickhead eyeballs.
+1
Today at 6:45 AM
@
Veho
:
As in, the balls will grow in your eye sockets.
Today at 6:45 AM
@
K3Nv2
:
I paid 5 grand to get them moved to my chin
+1
Today at 6:49 AM
@
Veho
:
This you?
Today at 6:51 AM
@
Veho
:
+2
Today at 6:51 AM
@
K3Nv2
:
My hair can't be that cool
+1
Today at 6:56 AM
@
BigOnYa
:
Today at 6:56 AM
@
K3Nv2
:
https://infimobile.com/details/plans-5734270
this is kinda tempting
Today at 7:07 AM
@
Sonic Angel Knight
:
JOE!
Today at 7:12 AM
@
K3Nv2
:
https://youtube.com/shorts/w7P9fmRc1WI?si=3iQ4Eo21fT-zQ4Yy
Today at 9:17 AM
@
Veho
:
Ah, yes, portrait mode, surely the best way to film a row of people. If only there were some way to fit a wider shot, at the expense of height... if only...
+1
Today at 9:23 AM
@
K3Nv2
:
4k portrait mode?
+1
Today at 9:35 AM
@
K3Nv2
:
https://youtu.be/Rx-KuevU4h4?si=1MoSvL-y5fFFHf58
Damn kinda sad for Iran
+1
Today at 9:46 AM
@
Psionic Roshambo
:
https://www.youtube.com/watch?v=iIpfWORQWhU
+1
Today at 11:34 AM
Submit
@
Psionic Roshambo
:
https://www.youtube.com/watch?v=iIpfWORQWhU
+1
Today at 11:34 AM
Chat
0