Pegasos2 , Debian 8.11.0 and pci-to-pcie bridge with X1950 question

This forum is for Pegasos II specific issues.
Post Reply
kas1e
Beta Tester
Beta Tester
Posts: 543
Joined: Sat Jun 18, 2011 7:56 am
Contact:

Pegasos2 , Debian 8.11.0 and pci-to-pcie bridge with X1950 question

Post by kas1e »

@All
As we don't have Linux section for Pegasos2 board, i will wrote question here:

I do use Pericom PCI-to-PCIe bridge with Radeon X1950 attached to it, and so, want to make at least simple framebuffer to work on, and not on Radeon9250 which is sits in my AGP slot.

So far, when i do lspci -knn, i do have this:

Code: Select all

root@debian# lspci -knn


0000:00:00.0 Host bridge [0600]: Marvell Technology Group Ltd. MV64360/64361/64362 System Controller [11ab:6460] (rev 03)
0000:00:01.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev 46)
        Subsystem: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044]
        Kernel driver in use: firewire_ohci
0000:00:06.0 PCI bridge [0604]: Pericom Semiconductor PI7C9X111SL PCIe-to-PCI Reversible Bridge [12d8:e111] (rev 02)
0000:00:0c.0 ISA bridge [0601]: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] [1106:8231] (rev 10)
        Kernel driver in use: parport_pc
0000:00:0c.1 IDE interface [0101]: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571] (rev 06)
        Kernel driver in use: pata_via
0000:00:0c.2 USB controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 1e)
        Subsystem: VIA Technologies, Inc. (Wrong ID) VA-502 Mainboard [0925:1234]
        Kernel driver in use: uhci_hcd
0000:00:0c.3 USB controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 1e)
        Subsystem: VIA Technologies, Inc. (Wrong ID) VA-502 Mainboard [0925:1234]
        Kernel driver in use: uhci_hcd
0000:00:0c.4 Bridge [0680]: VIA Technologies, Inc. VT8235 ACPI [1106:8235] (rev 10)
0000:00:0c.5 Multimedia audio controller [0401]: VIA Technologies, Inc. VT82C686 AC97 Audio Controller [1106:3058] (rev 40)
        Kernel driver in use: snd_via82xx
0000:00:0c.6 Communication controller [0780]: VIA Technologies, Inc. AC'97 Modem Controller [1106:3068] (rev 20)
0000:00:0d.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6102 [Rhine-II] [1106:3065] (rev 51)
        Subsystem: Device [3065:1106]
        Kernel driver in use: via-rhine
0000:01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] R580+ [Radeon X1950 XT] [1002:7244]
0001:02:00.0 Host bridge [0600]: Marvell Technology Group Ltd. MV64360/64361/64362 System Controller [11ab:6460] (rev 03)
0001:02:08.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV280 [Radeon 9200 PRO] [1002:5960] (rev 01)
        Subsystem: Tul Corporation / PowerColor Device [148c:2093]
        Kernel driver in use: radeon
0001:02:08.1 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] RV280 [Radeon 9200 PRO] (Secondary) [1002:5940] (rev 01)
        Subsystem: Tul Corporation / PowerColor Device [148c:2092]                                                                                                                                  
		

So bridge surely found, and X1950 in it too. But how i can made output to be on X1950 , and not on Radeon9250 of at least of Framebuffer ?

Thanks !
User avatar
sailorMH
Posts: 239
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Pegasos2 , Debian 8.11.0 and pci-to-pcie bridge with X1950 question

Post by sailorMH »

@kas1e
did you see output from Radeon 9250 normally?

If X works, it should be enough to write config file:
/etc/X11/xorg.conf or /etc/X11/xorg.conf.d/10-X1950.conf

Code: Select all

Section "Device"
   Identifier   "X1950 PCIe"
   Driver       "radeon"
   BusID "00:01:00:00"
EndSection
Maybe you have to experiment with BusID format, maybe it should be 0000:01:00.0 or 00:00:01:00 or , or similar - it should be: PCI:bus:device:function but sometimes lspci uses differemt format than X.
You can look to X.log which bus id format uses Radeon 9250 and made it the same way.

I am using this on Powermac G5 with dual cards setup. In the evening I will send you may configs.
A1200, Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, Sam460LE, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
sailorMH
Posts: 239
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Pegasos2 , Debian 8.11.0 and pci-to-pcie bridge with X1950 question

Post by sailorMH »

BusID with lspci and xorg are differs on Powermac:

Powermac G5 Quad:

Code: Select all

martina@quad:~$ lspci | grep VGA
0000:0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] R580+ [Radeon X1950 XTX]
0001:06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks PRO [Radeon HD 6570/7570/8550 / R5 230]

Code: Select all

Section "Device"
        Option     "Accel"	"yes"         	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
#	Driver      "amdgpu"
	BusID       "PCI:6@1:0:0"
EndSection
and are the same on X1000:

Code: Select all

martina@amigaone:~$ lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks XT [Radeon HD 6670/7670]
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
martina@amigaone:~$ cat /etc/X11/xorg.conf.d/10-xorg.conf 
Section "Module"
	Load  "glx"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        Option     "Accel"	"True"              	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "ColorTiling2D"      	# [<bool>]
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "AccelMethod"        	# <str>
        #Option     "EXAVSync"           	# [<bool>]
        #Option     "EXAPixmaps"         	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
A1200, Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, Sam460LE, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
Post Reply