Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Troubles starting xorg (on a G5, AGP Radeon)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
schwarzygesetzlos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2004
Posts: 120
Location: Funeralopolis

PostPosted: Tue Sep 13, 2016 11:34 pm    Post subject: [SOLVED] Troubles starting xorg (on a G5, AGP Radeon) Reply with quote

Did a fresh install from the Gentoo PPC iso on my PowerMac G5 7,3 which went rather smoothly so far. I got the system running with a 32bit multilib install, systemd, network, sshd, nfs. etc. on gentoo-sources-4.4.19 and gentoo-sources-4.7.3. The framebuffer console works, but I was not able to get X running...

The insides of my PowerPC G5 7,3:
Code:
0000:f0:0b.0 Host bridge: Apple Inc. U3H AGP Bridge
0000:f0:10.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV350 [Radeon 9550/9600/X1050 Series]
0001:00:00.0 Host bridge: Apple Inc. U3 HT Bridge
0001:00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] AMD-8131 PCI-X Bridge (rev 12)
0001:00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] AMD-8131 PCI-X Bridge (rev 12)
0001:00:03.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
0001:00:04.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
0001:00:05.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
0001:00:06.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
0001:00:07.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
0001:01:07.0 Unassigned class [ff00]: Apple Inc. K2 KeyLargo Mac/IO (rev 60)
0001:01:08.0 USB controller: Apple Inc. K2 KeyLargo USB
0001:01:09.0 USB controller: Apple Inc. K2 KeyLargo USB
0001:02:0b.0 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:02:0b.1 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:02:0b.2 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev 04)
0001:03:0d.0 Unassigned class [ff00]: Apple Inc. K2 ATA/100
0001:03:0e.0 FireWire (IEEE 1394): Apple Inc. K2 FireWire
0001:04:0f.0 Ethernet controller: Apple Inc. K2 GMAC (Sun GEM)
0001:05:0c.0 IDE interface: Broadcom K2 SATA

The xorg-stack I am running:
Code:
[ebuild   R   ~] x11-libs/libdrm-2.4.70::gentoo  USE="libkms -static-libs -valgrind" VIDEO_CARDS="radeon -amdgpu (-exynos) (-freedreno) (-intel) -nouveau (-omap) (-tegra) (-vc4) (-vmware)" 0 KiB
[ebuild   R   ~] media-libs/mesa-12.0.2::gentoo  USE="classic dri3 egl gallium gbm gles2 llvm nptl udev -bindist -d3d9 -debug -gles1 -opencl (-openmax) -osmesa -pax_kernel -pic (-selinux) (-vaapi) -valgrind (-vdpau) -wayland -xa (-xvmc)" VIDEO_CARDS="r300 radeon (-freedreno) (-i915) (-i965) (-ilo) (-intel) -nouveau -r100 -r200 -r600 (-radeonsi) (-vc4) (-vmware)" 0 KiB
[ebuild   R   ~] x11-base/xorg-drivers-1.18-r1::gentoo  INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -elographics -fpit -hyperpen -joystick (-libinput) -mutouch -penmount -synaptics -tslib (-vmmouse) -void -wacom" VIDEO_CARDS="radeon (-amdgpu) (-apm) (-ast) -chips -cirrus -dummy -epson -fbdev (-fglrx) (-freedreno) (-geode) -glint (-i128) (-i740) (-intel) -mach64 -mga (-neomagic) -nouveau -nv (-nvidia) (-omap) (-omapfb) (-qxl) -r128 (-radeonsi) (-rendition) -s3 -s3virge -savage (-siliconmotion) -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx (-tegra) (-tga) -trident (-tseng) (-vesa) (-via) (-virtualbox) (-vmware) (-voodoo)" 0 KiB
[ebuild   R   ~] x11-base/xorg-server-1.18.4:0/1.18.4::gentoo  USE="ipv6 kdrive suid systemd udev xorg -dmx -doc -glamor -libressl -minimal (-selinux) -static-libs -tslib -unwind -wayland -xephyr -xnest -xvfb" 0 KiB
[ebuild   R   ~] x11-drivers/xf86-video-ati-7.7.0::gentoo  USE="udev -glamor" 0 KiB

The drm-relates messages from the kernel show nothing unusual IMHO:
Code:
[    7.347410] [drm] Initialized drm 1.1.0 20060810
[    8.497522] [drm] radeon kernel modesetting enabled.
[    8.526028] fb: switching to radeondrmfb from OFfb ATY,Piton_
[    8.550832] fb: switching to radeondrmfb from OFfb ATY,Piton_
[    8.551340] [drm] initializing kernel modesetting (RV350 0x1002:0x4150 0x1002:0x4150 0x00).
[    8.551355] [drm] Forcing AGP to PCI mode
[    8.551370] [drm] register mmio base: 0x90000000
[    8.551375] [drm] register mmio size: 65536
[    8.657962] [drm] Not an x86 BIOS ROM, not using.
[    8.658001] [drm] Using device-tree clock info
[    8.658009] [drm] Generation 2 PCI interface, using max accessible memory
[    8.658078] [drm] Detected VRAM RAM=256M, BAR=256M
[    8.658084] [drm] RAM width 128bits DDR
[    8.658321] [drm] radeon: 128M of VRAM memory ready
[    8.658327] [drm] radeon: 512M of GTT memory ready.
[    8.658371] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    8.660551] [drm] radeon: 1 quad pipes, 1 Z pipes initialized.
[    8.660571] [drm] PCI GART of 512M enabled (table at 0x0000000060580000).
[    8.660690] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    8.660696] [drm] Driver supports precise vblank timestamp query.
[    8.660874] [drm] radeon: irq initialized.
[    8.660903] [drm] Loading R300 Microcode
[    8.770065] [drm] radeon: ring at 0x0000000080001000
[    8.770105] [drm] ring test succeeded in 1 usecs
[    8.770644] [drm] ib test succeeded in 0 usecs
[    8.771348] [drm] Connector Table: 12 (mac g5 9600)
[    8.771370] [drm] No valid Ext TMDS info found in BIOS
[    8.771382] [drm] No TV DAC info found in BIOS
[    8.771508] [drm] No TMDS info found in BIOS
[    8.771657] [drm] Radeon Display Connectors
[    8.771664] [drm] Connector 0:
[    8.771669] [drm]   DVI-I-1
[    8.771673] [drm]   HPD1
[    8.771679] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[    8.771684] [drm]   Encoders:
[    8.771689] [drm]     DFP2: INTERNAL_DVO1
[    8.771694] [drm]     CRT2: INTERNAL_DAC2
[    8.771699] [drm] Connector 1:
[    8.771703] [drm]   DVI-I-2
[    8.771708] [drm]   HPD2
[    8.771713] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[    8.771718] [drm]   Encoders:
[    8.771723] [drm]     DFP1: INTERNAL_TMDS1
[    8.771727] [drm]     CRT1: INTERNAL_DAC1
[    8.771732] [drm] Connector 2:
[    8.771737] [drm]   SVIDEO-1
[    8.771741] [drm]   Encoders:
[    8.771746] [drm]     TV1: INTERNAL_DAC2
[    8.888586] [drm] fb mappable at 0xA0040000
[    8.888599] [drm] vram apper at 0xA0000000
[    8.888605] [drm] size 8294400
[    8.888610] [drm] fb depth is 24
[    8.888614] [drm]    pitch is 7680
[    8.985638] radeon 0000:f0:10.0: fb0: radeondrmfb frame buffer device
[    8.985820] [drm] Initialized radeon 2.45.0 20080528 for 0000:f0:10.0 on minor 0

But xorg failt to open a screen anyhow. :cry:
Code:
[  4910.663]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  4910.663] X Protocol Version 11, Revision 0
[  4910.663] Build Operating System: Linux 4.7.3-gentoo ppc64 Gentoo
[  4910.663] Current Operating System: Linux T800 4.7.3-gentoo #1 SMP Tue Sep 13 22:11:28 CEST 2016 ppc64
[  4910.663] Kernel command line: root=UUID=637cdd2f-ef32-412f-9efd-8cf51db84ad3 ro root=/dev/sda9 init=/usr/lib/systemd/systemd radeon.agpmode=-1
[  4910.663] Build Date: 13 September 2016  11:43:42PM
[  4910.663] 
[  4910.663] Current version of pixman: 0.32.8
[  4910.663]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  4910.663] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4910.663] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 14 00:16:54 2016
[  4910.663] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  4910.663] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4910.664] (==) No Layout section.  Using the first Screen section.
[  4910.664] (==) No screen section available. Using defaults.
[  4910.664] (**) |-->Screen "Default Screen Section" (0)
[  4910.664] (**) |   |-->Monitor "<default monitor>"
[  4910.664] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[  4910.664] (==) Automatically adding devices
[  4910.664] (==) Automatically enabling devices
[  4910.664] (==) Automatically adding GPU devices
[  4910.664] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  4910.664] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[  4910.664] (==) ModulePath set to "/usr/lib/xorg/modules"
[  4910.664] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[  4910.664] (II) Loader magic: 0x101d0688
[  4910.664] (II) Module ABI versions:
[  4910.664]    X.Org ANSI C Emulation: 0.4
[  4910.664]    X.Org Video Driver: 20.0
[  4910.664]    X.Org XInput driver : 22.1
[  4910.664]    X.Org Server Extension : 9.0
[  4910.666] (++) using VT number 7

[  4910.666] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  4910.667] (II) xfree86: Adding drm device (/dev/dri/card0)
[  4910.670] (--) PCI:*(0:240:16:0) 1002:4150:1002:4150 rev 0, Mem @ 0xa0000000/268435456, 0x90000000/65536, I/O @ 0x00000400/256, BIOS @ 0x????????/131072
[  4910.670] (II) LoadModule: "glx"
[  4910.670] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4910.674] (II) Module glx: vendor="X.Org Foundation"
[  4910.675]    compiled for 1.18.4, module version = 1.0.0
[  4910.675]    ABI class: X.Org Server Extension, version 9.0
[  4910.675] (==) AIGLX enabled
[  4910.675] (==) Matched ati as autoconfigured driver 0
[  4910.675] (==) Matched ati as autoconfigured driver 1
[  4910.675] (==) Matched modesetting as autoconfigured driver 2
[  4910.675] (==) Matched fbdev as autoconfigured driver 3
[  4910.675] (==) Assigned the driver to the xf86ConfigLayout
[  4910.675] (II) LoadModule: "ati"
[  4910.675] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[  4910.675] (II) Module ati: vendor="X.Org Foundation"
[  4910.675]    compiled for 1.18.4, module version = 7.7.0
[  4910.675]    Module class: X.Org Video Driver
[  4910.675]    ABI class: X.Org Video Driver, version 20.0
[  4910.675] (II) LoadModule: "radeon"
[  4910.675] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[  4910.676] (II) Module radeon: vendor="X.Org Foundation"
[  4910.676]    compiled for 1.18.4, module version = 7.7.0
[  4910.676]    Module class: X.Org Video Driver
[  4910.676]    ABI class: X.Org Video Driver, version 20.0
[  4910.676] (II) LoadModule: "modesetting"
[  4910.676] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  4910.676] (II) Module modesetting: vendor="X.Org Foundation"
[  4910.676]    compiled for 1.18.4, module version = 1.18.4
[  4910.676]    Module class: X.Org Video Driver
[  4910.676]    ABI class: X.Org Video Driver, version 20.0
[  4910.676] (II) LoadModule: "fbdev"
[  4910.677] (WW) Warning, couldn't open module fbdev
[  4910.677] (II) UnloadModule: "fbdev"
[  4910.677] (II) Unloading fbdev
[  4910.677] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  4910.677] (II) RADEON: Driver for ATI Radeon chipsets:
   ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
   ATI Radeon Mobility X300 (M24) 3152 (PCIE),
   ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI),
   ATI Radeon X600 (RV380) 3E50 (PCIE),
   ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136,
   ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP),
   ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
   ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP),
   ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
   ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP),
   ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
   ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650,
   ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237,
   ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336,
   ATI Radeon IGP330M/340M/350M (U2) 4337,
   ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI),
   ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP),
   ATI Radeon X800PRO (R420) JI (AGP),
   ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP),
   ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP),
   ATI Radeon Mobility 9800 (M18) JN (AGP),
   ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP),
   ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP),
   ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP),
   ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP),
   ATI Radeon Mobility M7 LW (AGP),
   ATI Mobility FireGL 7800 M7 LX (AGP),
   ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
   ATI FireGL Mobility 9000 (M9) Ld (AGP),
   ATI Radeon Mobility 9000 (M9) Lf (AGP),
   ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI FireMV 2400 PCI,
   ATI Radeon 9700 Pro ND (AGP), ATI Radeon 9700/9500Pro NE (AGP),
   ATI Radeon 9600TX NF (AGP), ATI FireGL X1 NG (AGP),
   ATI Radeon 9800PRO NH (AGP), ATI Radeon 9800 NI (AGP),
   ATI FireGL X2 NK (AGP), ATI Radeon 9800XT NJ (AGP),
   ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP),
   ATI Radeon Mobility 9600 (M10) NQ (AGP),
   ATI Radeon Mobility 9600 (M11) NR (AGP),
   ATI Radeon Mobility 9600 (M10) NS (AGP),
   ATI FireGL Mobility T2 (M10) NT (AGP),
   ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP),
   ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
   ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
   ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI),
   ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI),
   ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI),
   ATI Radeon Mobility X300 (M22) 5460 (PCIE),
   ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE),
   ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE),
   ATI Radeon X800PRO (R423) UI (PCIE),
   ATI Radeon X800LE (R423) UJ (PCIE),
   ATI Radeon X800SE (R423) UK (PCIE),
   ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE),
   ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE),
   ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE),
   ATI FireGL unknown (R423) UR (PCIE),
   ATI FireGL unknown (R423) UT (PCIE),
   ATI Mobility FireGL V5000 (M26) (PCIE),
   ATI Mobility FireGL V5000 (M26) (PCIE),
   ATI Mobility Radeon X700 XL (M26) (PCIE),
   ATI Mobility Radeon X700 (M26) (PCIE),
   ATI Mobility Radeon X700 (M26) (PCIE),
   ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834,
   ATI Radeon Mobility 9100 IGP (U3) 5835,
   ATI Radeon XPRESS 200 5954 (PCIE),
   ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP),
   ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP),
   ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI),
   ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE),
   ATI Radeon XPRESS 200M 5975 (PCIE),
   ATI Radeon XPRESS 200 5A41 (PCIE),
   ATI Radeon XPRESS 200M 5A42 (PCIE),
   ATI Radeon XPRESS 200 5A61 (PCIE),
   ATI Radeon XPRESS 200M 5A62 (PCIE),
   ATI Radeon X300 (RV370) 5B60 (PCIE),
   ATI Radeon X600 (RV370) 5B62 (PCIE),
   ATI Radeon X550 (RV370) 5B63 (PCIE),
   ATI FireGL V3100 (RV370) 5B64 (PCIE),
   ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE),
   ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
   ATI Radeon Mobility 9200 (M9+) 5C63 (AGP),
   ATI Mobility Radeon X800 XT (M28) (PCIE),
   ATI Mobility FireGL V5100 (M28) (PCIE),
   ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE),
   ATI Radeon X850 XT PE (R480) (PCIE),
   ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE),
   ATI unknown Radeon / FireGL (R480) 5D50 (PCIE),
   ATI Radeon X850 XT (R480) (PCIE),
   ATI Radeon X800XT (R423) 5D57 (PCIE),
   ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE),
   ATI Radeon X700 PRO (RV410) (PCIE),
   ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE),
   ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800,
   ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800,
   ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300,
   ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800,
   ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800,
   ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
   ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
   ATI Mobility Radeon X1400, ATI Radeon X1300/X1550,
   ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300,
   ATI Mobility Radeon X1300, ATI Mobility Radeon X1300,
   ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300,
   ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350,
   ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550,
   ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450,
   ATI Radeon X1300/X1550, ATI Mobility Radeon X2300,
   ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
   ATI Mobility Radeon X1350, ATI Mobility Radeon X1450,
   ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350,
   ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600,
   ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600,
   ATI Mobility FireGL V5200, ATI Mobility Radeon X1600,
   ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600,
   ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400,
   ATI Mobility FireGL V5250, ATI Mobility Radeon X1700,
   ATI Mobility Radeon X1700 XT, ATI FireGL V5200,
   ATI Mobility Radeon X1700, ATI Radeon X2300HD,
   ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300,
   ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950,
   ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
   ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
   ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
   ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950,
   ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560,
   ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400,
   ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560,
   ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835,
   ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200,
   ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740,
   ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT,
   ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT,
   ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600,
   ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
   ATI Radeon 4800 Series, ATI Radeon HD 4850 x2,
   ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL),
   ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2,
   ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270,
   AMD FireStream 9250, ATI FirePro V8700 (FireGL),
   ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
   ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series,
   ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98,
   ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP),
   ATI Mobility Radeon HD 4670, ATI FirePro M5750,
   ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP),
   ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
   ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
   ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
   ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
   ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
   ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770,
   ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT,
   ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000,
   ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT,
   ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610,
   ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
   ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
   ATI Mobility Radeon HD 3850 X2, ATI RV670,
   ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2,
   ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850,
   ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550,
   ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710,
   ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series,
   ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series,
   ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
   ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
   ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
   ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
   ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
   ATI FireGL V3600, ATI Radeon HD 2600 LE,
   ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
   ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
   ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430,
   ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450,
   ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series,
   ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO,
   ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO,
   ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
   ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
   ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
   ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
   ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics,
   ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2,
   SUMO, SUMO, SUMO2, SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200,
   ATI Radeon 4100, ATI Mobility Radeon HD 4200,
   ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
   AMD Radeon HD 6310 Graphics, AMD Radeon HD 6310 Graphics,
   AMD Radeon HD 6250 Graphics, AMD Radeon HD 6250 Graphics,
   AMD Radeon HD 6300 Series Graphics,
   AMD Radeon HD 6200 Series Graphics, PALM, PALM, PALM, CYPRESS,
   ATI FirePro (FireGL) Graphics Adapter,
   ATI FirePro (FireGL) Graphics Adapter,
   ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
   AMD Firestream 9350, ATI Radeon HD 5800 Series,
   ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series,
   ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series,
   ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
   ATI Mobility Radeon HD 5800 Series,
   ATI FirePro (FireGL) Graphics Adapter,
   ATI FirePro (FireGL) Graphics Adapter,
   ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series,
   ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
   ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
   ATI Mobility Radeon HD 5000 Series,
   ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
   ATI FirePro (FireGL) Graphics Adapter,
   ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670,
   ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD,
   ATI Mobility Radeon HD 5000 Series,
   ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics,
   ATI Mobility Radeon Graphics, CEDAR,
   ATI FirePro (FireGL) Graphics Adapter,
   ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR,
   ATI Radeon HD 5450, CEDAR, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
   CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
   AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN, CAYMAN,
   CAYMAN, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series,
   BARTS, BARTS, Mobility Radeon HD 6000 Series,
   Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS,
   AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series,
   AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
   TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
   TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
   CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS,
   CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, ARUBA, ARUBA,
   ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
   ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
   ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
   ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, TAHITI, TAHITI, TAHITI, TAHITI,
   TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI,
   TAHITI, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
   PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
   VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
   VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
   VERDE, VERDE, VERDE, VERDE, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
   OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
   OLAND, HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, BONAIRE,
   BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE,
   BONAIRE, BONAIRE, BONAIRE, KABINI, KABINI, KABINI, KABINI, KABINI,
   KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
   KABINI, KABINI, KABINI, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
   MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
   MULLINS, MULLINS, MULLINS, MULLINS, KAVERI, KAVERI, KAVERI, KAVERI,
   KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
   KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
   KAVERI, KAVERI, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII,
   HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII
[  4910.687] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  4910.728] (II) [KMS] Kernel modesetting enabled.
[  4910.728] (WW) Falling back to old probe method for modesetting
[  4910.728] (EE) No devices detected.
[  4910.728] (EE)
Fatal server error:
[  4910.728] (EE) no screens found(EE)
[  4910.728] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[  4910.728] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  4910.728] (EE)

Seems like the correct driver "radeon" is being picked up by xorg but is unable to open a screen. I can't see what I am doing wrong... :? I am running mesa 12.0.x and xorg-server-1.14.8 because this combination works fine on Ubuntu MATE 16.10 on this very machine. So far I rebuilt the x11-modules with and without USE=glamor, with and without USE=libkms but I had no success.

Any advice? Is someone maybe running a similar configuration with a known-good combination of xorg-server, drivers and USE-flags?
_________________
PMac G5 11,2. PMac G5 7,3. PBook G4 5,8. PBook G4 5,6. [MorphOS 3.10 / Gentoo Linux]
A1200. ACA-1233/55, Indivision AGA Mk2, 4 GiB CF. [Amiga OS 3.9]


Last edited by schwarzygesetzlos on Thu Oct 13, 2016 9:21 pm; edited 4 times in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Wed Sep 14, 2016 11:56 am    Post subject: Reply with quote

Quote:
4910.677] (EE) Failed to load module "fbdev" (module does not exist, 0)


Quote:
-fbdev


You may change that to fbdev

You wrote you are using a framebuffer, so you may need fbdev too set. https://en.wikipedia.org/wiki/Linux_framebuffer


Generic advise: There is always a wiki or some linux forum from different distros which already had the same issue.

Quote:
Fatal server error:
[ 4910.728] (EE) no screens found(EE)


You may need to specify a screen section yourself in your xorg.conf
Back to top
View user's profile Send private message
schwarzygesetzlos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2004
Posts: 120
Location: Funeralopolis

PostPosted: Wed Sep 14, 2016 10:37 pm    Post subject: Reply with quote

Thanks! Now at least I get something to see with fbdev and an appropriate xorg.conf

Quote:
Generic advise: There is always a wiki or some linux forum from different distros which already had the same issue.

Unfortunately not in this case. And the very similar setup in Ubuntu-MATE ppc (xorg-server-1.18.4, xf86-video-ati-7.7.0) just works.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Thu Sep 15, 2016 7:12 am    Post subject: Reply with quote

So issue resolved?
Back to top
View user's profile Send private message
schwarzygesetzlos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2004
Posts: 120
Location: Funeralopolis

PostPosted: Fri Sep 16, 2016 10:59 am    Post subject: Reply with quote

Yep, X is working so this issue is resolved.

Here is the /etc/X11/xorg.conf I needed to explicitly setting the fbdev driver:
Code:
Section "Device"
        Identifier      "Card0"
        Driver      "fbdev"
EndSection

x11-base/xorg-drivers has to be built with +fbdev then.

For the non working x11-drivers/xf86-video-ati-7.7.0 I filed bug https://bugs.gentoo.org.
_________________
PMac G5 11,2. PMac G5 7,3. PBook G4 5,8. PBook G4 5,6. [MorphOS 3.10 / Gentoo Linux]
A1200. ACA-1233/55, Indivision AGA Mk2, 4 GiB CF. [Amiga OS 3.9]
Back to top
View user's profile Send private message
schwarzygesetzlos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2004
Posts: 120
Location: Funeralopolis

PostPosted: Thu Oct 13, 2016 7:06 pm    Post subject: Reply with quote

Took this problem upstream and it turned out to be a kernel configuration issue. On my config it was crucial to have VGA Arbitration selected in the kernel .config to get both, framebuffer console and X, working. Without needing an xorg-config file!

I ended up using following options in my kernel:
Code:
Device Drivers  --->
   Graphics support  --->
      <M> /dev/agpgart (AGP Support)  --->
         <M>   Apple UniNorth & U3 AGP support
      [*] VGA Arbitration
      (16)  Maximum number of GPUs 
      <M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
         [*]   Enable legacy fbdev support for your modesetting driver
      <M> ATI Radeon
      Frame buffer Devices  --->
      {*} Support for frame buffer devices  --->
         [*] Open Firmware frame buffer device support
         < > ATI Radeon display support
         < > ATI Rage128 display support
         < > ATI Mach64 display support

As I said the most important part is to have VGA_ARB enabled. Furthermore if FB_OF and DRM_FBDEV_EMULATION are selected you should NOT use any of the other framebuffers (FB_RADEON, FB_ATY128, FB_ATY, etc.).

During the boot process the OpenFirmware Framebuffer (FB_OF) is used which hands over to the DRM_FBDEV_EMULATION providing the console display. You will notice the following kernel messages if everything went fine:
Code:
# dmesg | grep -i fb
[    0.409240] fb0: Open Firmware frame buffer device on /pci@0,f0000000/ATY,PitonParent@10/ATY,Piton_A@0
[    0.409846] fb1: Open Firmware frame buffer device on /pci@0,f0000000/ATY,PitonParent@10/ATY,Piton_B@1
[   75.994364] fb: switching to radeondrmfb from OFfb ATY,Piton_
[   76.018605] fb: switching to radeondrmfb from OFfb ATY,Piton_
[   76.495668] [drm] fb mappable at 0xA0040000
[   76.495688] [drm] fb depth is 24
[   76.593111] radeon 0000:f0:10.0: fb0: radeondrmfb frame buffer device

After that, X starts properly without he need of a config file! At least if you don't get hit by other ppc-specific xorg-bugs wich require setting some xorg-options...

Maybe this is helpful to some people as the Gentoo PPC Installation Handbook recommends other config options which provide console support but prevent X from starting properly (as on my machine and with a recent kernel).
_________________
PMac G5 11,2. PMac G5 7,3. PBook G4 5,8. PBook G4 5,6. [MorphOS 3.10 / Gentoo Linux]
A1200. ACA-1233/55, Indivision AGA Mk2, 4 GiB CF. [Amiga OS 3.9]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum