Void Linux

AmigaOne X1000 platform specific issues related to Linux only.
Post Reply
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Tue Nov 23, 2021 12:38 pm I did it :-)...this is what I did:
  • mounted both Graphic Cards
  • booted the old Debian from USB (X1000 A-Eon Downloadsection), which brought me right into XFCE on my Radeon 4650
  • saved the file etc/X11/xorg.conf.d/10-vsync.conf
  • unmounted Graphic Card Radeon HIS
  • booted Void from HD
  • created a directory xorg.conf.d in /etc/X11
  • copied 10-vsync.conf into there
  • also copied 10-vsync.conf into usr/share/X11/xorg.conf.d
  • mounted 2nd Graphic Card again, and after reboot, everything worked like supposed

I am not 100% sure wether I need 10-vsync.conf in both locations ?
Do I still need 10-radeon.conf in usr/share/X11/xorg.conf.d ?
How can I check wether Graphic Accelaration and 3D Acceleration works on my setup?
Great news! Well done! Now, other users can use your instructions for using two graphics cards in the AmigaOnes. Thanks a lot!

If you want to know, if hardware 3D acceleration works, then please check it with the following command:

Code: Select all

glxinfo | egrep -i "rendering|opengl"
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
gerograph
Posts: 95
Joined: Sun Mar 25, 2012 9:24 am
Location: Moers
Contact:

Re: Void Linux

Post by gerograph »

xeno74 wrote: Tue Nov 23, 2021 5:30 pm If you want to know, if hardware 3D acceleration works, then please check it with the following command:

Code: Select all

glxinfo | egrep -i "rendering|opengl"
A couple of more questions:

1) HW 3D accelaration seems to work?

Image

2) Why don't I have rights to install Software? Even if I enter "amigaone", What can I do about it?

Image

3) If I use caja, Ken's Icons are displayed correctly (https://www.gnome-look.org/p/1012377/) - Great! BUT if I start caja via Terminal (su -> amigaone -> caja) I am logged in as "superuser"/Admin. Icon's disappeared for that instance/session. How can I change that? Which brings me to the next question...

4) Can I prevent, that I have to login as Admin for certain actions (e.g. mount the fat partition on my drive)? Is there a possibility to be admin/superuser straight away? (I know, this is against one of the basic linux ideas..;-) )

5) Can my fat partition be automounted during startup?
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Wed Nov 24, 2021 9:39 am 2) Why don't I have rights to install Software? Even if I enter "amigaone", What can I do about it?
To allow the user amigaone system access via the sudo command, you need to edit the file "/etc/sudoers" with "visudo". Uncomment this line: # %wheel ALL=(ALL) ALL.

Lets anybody in the wheel group run anything as any user.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
gerograph
Posts: 95
Joined: Sun Mar 25, 2012 9:24 am
Location: Moers
Contact:

Re: Void Linux

Post by gerograph »

I haven't got a line like that...however I have a # %sudo ALL.... line. But uncommenting this doesn't help with my issues.
Should I add that wheel line?
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Wed Nov 24, 2021 4:20 pm I haven't got a line like that...however I have a # %sudo ALL.... line. But uncommenting this doesn't help with my issues.
Should I add that wheel line?
Hi Gerograph,

You can add this line. (see screenshot)

Image

gerograph wrote: Wed Nov 24, 2021 9:39 am 5) Can my fat partition be automounted during startup?
Yes, it can automount your fat partition via autofs during the startup.

Installation instructions: Automount -- voidlinux wiki

I tested it today and it works. (see screenshot)

Image

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Wed Nov 24, 2021 9:39 am 1) HW 3D accelaration seems to work?
Yes, it works! Well done!

Could you please test the RC2 of kernel 5.16?

I would like to know if it boots on your X1000 with two graphics cards.

Thanks
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

You can also provide automount via autofs for a user:

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Wed Nov 24, 2021 9:39 am 4) Can I prevent, that I have to login as Admin for certain actions (e.g. mount the fat partition on my drive)?
Yes, it's possible. :-)

Instructions for accessing of partitions without password for Void PPC

vi /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy

Please change the following policies

Code: Select all

<action id="org.freedesktop.udisks2.filesystem-mount-system">
<action id="org.freedesktop.udisks2.filesystem-fstab">
<action id="org.freedesktop.udisks2.filesystem-unmount-others">
from

Code: Select all

<allow_active>auth_admin_keep</allow_active>
to

Code: Select all

<allow_active>yes</allow_active>
Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
gerograph
Posts: 95
Joined: Sun Mar 25, 2012 9:24 am
Location: Moers
Contact:

Re: Void Linux

Post by gerograph »


Could you please test the RC2 of kernel 5.16?

I would like to know if it boots on your X1000 with two graphics cards.

Thanks
Tested that one today for a short time, seems to be no problem. This is what I did for "automounting" my FAT partition:
  • Added this towards the sudoers file: %wheel ALL=(ALL) NOPASSWD: ALL
  • installed autofs
  • edited auto.master as described
  • created auto.media and added "sdb2 -fstype=auto,async,nodev,user,noexec,nosuid,umask=002 :/dev/sdb2"
  • added a simple "/media/sdb2" to WB Startup (however you call it in Linux).
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Thu Nov 25, 2021 8:50 pm Tested that one today for a short time, seems to be no problem.
Thanks a lot for testing the RC2! :-)
gerograph wrote: Wed Nov 24, 2021 9:39 am Is there a possibility to be admin/superuser straight away? (I know, this is against one of the basic linux ideas..;-) )
Yes, of course. You can login as root via the display manager. (graphical login)

If your root user doesn't have a password then you can set up a password with "sudo passwd root".
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply