Void Linux

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1714
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Void Linux

Post by nbache »

Just wondering - is that xorg.conf file really correct?

It looks illogical to me that it defines a Device section with Identifier Device1, and then in the following Screen section, it refers to Device0.


Best regards,

Niels
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 clue. Void doesn't have a xorg.conf...so I donnot even know, what to write into a xorg.conf?
User avatar
gerograph
Posts: 95
Joined: Sun Mar 25, 2012 9:24 am
Location: Moers
Contact:

Re: Void Linux

Post by gerograph »

xeno74 wrote: Sun Nov 21, 2021 8:33 am
Please boot with the graphics card you want to use with Void. After that execute lspci and look for the hardware address (BusID) of the graphics card. Then create an xorg.conf with the correct hardware address.

For example for the Radeon FireMV 2250:

Code: Select all

Section "Device"
            Identifier "ATI RV516 GL [FireMV 2250]"
            BusID   "PCI:05:00.1"
            Driver "radeon"
EndSection
Therefore, my whole xorg.conf textfile consists out of the above 5 lines..., maybe this is incorrect per se?
...create a xorg.conf...
ceate a plain textfile....or is there more to it?
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Sun Nov 21, 2021 7:50 pm I haven't got a clue. Void doesn't have a xorg.conf...so I donnot even know, what to write into a xorg.conf?

Please try Julian's xorg.conf. You can also change Device0 to Device1 in the Screen section.
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 tried Julian's xorg.conf and changed Device0 to Device1... partly success:

I can boot and everything works fine, as long as I use one Graphic Card. Therefore xorg.conf seems to need at least Monitor-, Device- and Screen Section, in order to work. I also tried to add the BusID in the Device Section...

As soon as I put in the second Graphic Card, I get a black screen with flashing cursor on my Grapic Card 1 Screen. Graphic Card 2 just stays black (like it should). Once again my Idea:

Radeon HD 4650 in the second PCI Slot (counted from top) - this is planned for Linux
Radeon HIS in the firs PCI Slot (counted from top), this is where CFE is displayed (if plugged in) - planned for AmigaOS

Wondering wether it might be a possibility, that BusID changes for the second PCI Slot, when the second card is inserted? Can I prevent booting into xorg (that's what the Linux guys call Workbench?) and have console (CLI what we would call it ;-) )instead? In order to try lspci there?

Or should I open a new thread for this?
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Mon Nov 22, 2021 5:43 pm Can I prevent booting into xorg (that's what the Linux guys call Workbench?
Yes, you can prevent booting into Xorg with the following command.

Code: Select all

sudo rm /var/service/lightdm
Then reboot your X1000.

If you want to activate Xorg again then use the following command.

Code: Select all

sudo ln -s /etc/sv/lightdm /var/service/lightdm
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: Mon Nov 22, 2021 6:41 pm Then reboot your X1000.
= switch off? -> insert 2nd Graphic Card -> switch on?
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Void Linux

Post by xeno74 »

gerograph wrote: Mon Nov 22, 2021 8:15 pm
xeno74 wrote: Mon Nov 22, 2021 6:41 pm Then reboot your X1000.
= switch off? -> insert 2nd Graphic Card -> switch on?
Yes, that's correct.
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 »

O.k. did that. This command was "resident"...I could boot up into a console an enter lspci. And no, I suggested it wrong above:

My first Graphic Card (Radeon HD4650) ist still listed as BusID PCI:01:00.0... no matter wether you have got just on or two Graphic Cards mounted.
I have got one more idea left: Boot an old Debian from USB Stick an try to get Dual GraphicCard with that...and check xorg.conf
User avatar
gerograph
Posts: 95
Joined: Sun Mar 25, 2012 9:24 am
Location: Moers
Contact:

Re: Void Linux

Post by gerograph »

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?


Image
Post Reply