[Bug 97987] xf86-video-ati-7.7.1: "(EE) No devices detected.", ppc

2016-10-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97987

--- Comment #10 from erhar...@mailbox.org ---
Finally sorted it out with your help from here. The main issue was "VGA
Arbitration" in the kernel-config, Device Drivers -> Graphics support. On my
config (PowerMac G5, AGP graphics card) I need to have CONFIG_VGA_ARB=y
enabled.

With CONFIG_VGA_ARB=y in combination with CONFIG_DRM_FBDEV_EMULATION=y and
CONFIG_FB_OF=y I get a working concole and working X with "radeon"-driver.
Other framebuffer drivers must not be selected in the kernel config.

With these options set correctly no xorg.conf is needed. The framebuffer
console switches from Open Firmware to the radeon driver and the output looks
like this:

# dmesg | grep -i rade
[8.365707] [drm] radeon kernel modesetting enabled.
[8.365765] fb: switching to radeondrmfb from OFfb ATY,Piton_
[8.390327] fb: switching to radeondrmfb from OFfb ATY,Piton_
[8.393385] radeon :f0:10.0: enabling device (0006 -> 0007)
[8.395828] radeon :f0:10.0: Invalid PCI ROM header signature: expecting
0xaa55, got 0x
[8.500921] radeon :f0:10.0: VRAM: 256M 0xA000 -
0xAFFF (128M used)
[8.500927] radeon :f0:10.0: GTT: 512M 0x8000 -
0x9FFF
[8.504153] [drm] radeon: 128M of VRAM memory ready
[8.504157] [drm] radeon: 512M of GTT memory ready.
[8.506559] [drm] radeon: 1 quad pipes, 1 Z pipes initialized.
[8.506661] radeon :f0:10.0: WB enabled
[8.506670] radeon :f0:10.0: fence driver on ring 0 use gpu addr
0x8000 and cpu addr 0xc0026a6c7000
[8.506754] [drm] radeon: irq initialized.
[8.665381] [drm] radeon: ring at 0x80001000
[8.666957] [drm] Radeon Display Connectors
[8.882890] radeon :f0:10.0: fb0: radeondrmfb frame buffer device
[8.886343] [drm] Initialized radeon 2.45.0 20080528 for :f0:10.0 on
minor 0

# cat /proc/fb 
0 radeondrmfb

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 97987] xf86-video-ati-7.7.1: "(EE) No devices detected.", ppc

2016-10-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97987

--- Comment #9 from Michel Dänzer  ---
(In reply to erhard_f from comment #7)
> [   10.851080] radeonfb (:f0:10.0): ATI Radeon 4150 "AP"
> [   10.851081] radeonfb_pci_register END
> [   12.484886] [drm] radeon kernel modesetting enabled.

radeonfb initializes first, so the radeon driver cannot initialize in KMS mode.
You need to prevent radeonfb from initializing before the radeon driver, either
via something like video=radeonfb:off on the kernel command line, or by
preventing the radeonfb module from loading at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 97987] xf86-video-ati-7.7.1: "(EE) No devices detected.", ppc

2016-10-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97987

--- Comment #8 from erhar...@mailbox.org ---
Created attachment 127041
  --> https://bugs.freedesktop.org/attachment.cgi?id=127041=edit
xorg.log_v2

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 97987] xf86-video-ati-7.7.1: "(EE) No devices detected.", ppc

2016-10-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97987

--- Comment #7 from erhar...@mailbox.org ---
I built a new kernel and added following config options: CONFIG_VGA_ARB=y,
CONFIG_FB_RADEON=m, CONFIG_DEVTMPFS_MOUNT=y. I removed: CONFIG_FB_OF,
CONFIG_FB_SIMPLE. Still activated is; CONFIG_DRM_KMS_HELPER=m,
CONFIG_DRM_KMS_FB_HELPER=y, CONFIG_DRM_FBDEV_EMULATION=y.

"radeon"-driver still does not work, but at least the Xorg.0.log (see attatched
xorg.log_v2) and dmesg are more verbose. It seems to look for /dev/dri/ devices
but there are none. I only got /dev/fb0.

# cat /proc/fb
0 ATI Radeon 4150

# lsmod | grep -i radeon
radeon   1717072  0
hwmon   4272  1 radeon
ttm76692  1 radeon
drm_kms_helper119440  1 radeon
drm   339744  3 ttm,drm_kms_helper,radeon
radeonfb   78368  2
cfbfillrect 4224  2 drm_kms_helper,radeonfb
cfbcopyarea 3584  2 drm_kms_helper,radeonfb
cfbimgblt   2560  2 drm_kms_helper,radeonfb
i2c_algo_bit7428  2 radeonfb,radeon
fb_ddc  2560  1 radeonfb

# dmesg | grep -i radeon
[8.398541] radeonfb_pci_register BEGIN
[8.398558] radeonfb :f0:10.0: enabling device (0006 -> 0007)
[8.596608] radeonfb (:f0:10.0): Found 131072k of DDR 128 bits wide
videoram
[8.596828] radeonfb (:f0:10.0): mapped 16384k videoram
[8.596864] radeonfb: Found Open Firmware ROM Image
[8.596876] radeonfb: Retrieved PLL infos from Open Firmware
[8.596880] radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=200.00 Mhz,
System=325.00 MHz
[8.596884] radeonfb: PLL min 12000 max 35000
[8.597003] radeonfb :f0:10.0: I2C bus monid registered.
[8.597068] radeonfb :f0:10.0: I2C bus dvi registered.
[8.597133] radeonfb :f0:10.0: I2C bus vga registered.
[8.597199] radeonfb :f0:10.0: I2C bus crt2 registered.
[9.030027] radeonfb: I2C (port 1) ... not found
[9.460042] radeonfb: I2C (port 2) ... not found
[9.890070] radeonfb: I2C (port 3) ... not found
[   10.143428] radeonfb: I2C (port 4) ... not found
[   10.143436] radeon_probe_OF_head
[   10.143453] radeon_probe_OF_head
[   10.576689] radeonfb: I2C (port 3) ... not found
[   10.826683] radeonfb: I2C (port 4) ... not found
[   10.827682] radeonfb: Monitor 1 type DFP found
[   10.827689] radeonfb: EDID probed
[   10.827692] radeonfb: Monitor 2 type no found
[   10.851080] radeonfb (:f0:10.0): ATI Radeon 4150 "AP"
[   10.851081] radeonfb_pci_register END
[   12.484886] [drm] radeon kernel modesetting enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 97987] xf86-video-ati-7.7.1: "(EE) No devices detected.", ppc

2016-10-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97987

--- Comment #6 from erhar...@mailbox.org ---
"lsof /dev/dri/*" as root shows no output.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati