Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jan 2014 17:20:26 +1100
From:      Graham Menhennitt <graham@menhennitt.com.au>
To:        freebsd-stable@freebsd.org, dumbbell@FreeBSD.org
Subject:   Re: X not working on AMD64 Radeon after upgrading 9-Stable to 10-RC3
Message-ID:  <52C8F9AA.1090207@menhennitt.com.au>
In-Reply-To: <52C7F922.6010204@FreeBSD.org>
References:  <52C6846A.8010304@menhennitt.com.au> <52C7F922.6010204@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/01/2014 23:05, Jean-Sébastien Pédron wrote:
> On 03.01.2014 10:35, Graham Menhennitt wrote:
>> I have a box that's been running X and Kde4 on 9-Stable successfully for
>> ages. I tried a source upgrade to 10-Stable but couldn't get X to run
>> properly. I then blew the old installation away and did a fresh install
>> of 10-RC3. It has the same problem.
> Starting with FreeBSD 10.0, a new Radeon driver is available in the
> kernel. It's mandatory for Radeon HD 5000 and above, but can be used
> with older cards too.
>
> Could you please try to:
>
>     1. Define the following variable in your /etc/make.conf:
>        WITH_NEW_XORG="YES"
>
>     2. Upgrade your ports (eg. "portmaster -a" if you're using
>        portmaster). It should at least upgrade the following ports:
>          graphics/libdrm
>          graphics/libGL
>          graphics/dri
>          x11-servers/xorg-server
>          x11-drivers/xf86-video-ati
>
>     3. Rebuild xf86-* ports not upgraded by previous step. This could
>        include:
>          x11-drivers/xf86-input-keyboard
>          x11-drivers/xf86-input-mouse
>
> And try to start X again. Note that "Xorg -configure" will probably
> fail: this is a known issue. Try to start X without a configuration file.
>
> If this doesn't work, could you please post:
>     o  the output of dmesg *after* trying to start X
>     o  the output of "pciconf -lv"
>     o  your Xorg.log
>

Thank you very much Jean-Sébastien. That worked although I needed to do
a few extra things.

Firstly, I had the same problem with GLDEBUGPROCARB that you provided a
fix to Zenny for. I blew away all my xorg ports and started again which
fixed it.

Then I had a problem with glproto not being found. It looks like there's
a dependency on that missing somewhere. After I manually installed it,
everything built.

Now I can successfully start X and KDE - thank you!

There are a few things in my dmesg output that look a bit strange. I've
pasted it below in case there is a problem.

Also, I can't use Alt-F1 etc. to switch to other virtual consoles. And I
can't seem to kill X - I need to reboot. But both of those are very
minor problems.

Thanks again for your help,
    Graham



info: [drm] Initialized drm 1.1.0 20060810
drmn0: <ATI Radeon RS690 X1250 IGP> on vgapci0
info: [drm] RADEON_IS_PCI
info: [drm] initializing kernel modesetting (RS690 0x1002:0x791E
0x1458:0xD001).
info: [drm] register mmio base: 0xFDFE0000
info: [drm] register mmio size: 65536
info: [drm] radeon_atrm_get_bios: ===> Try ATRM...
info: [drm] radeon_atrm_get_bios: IGP card detected, skipping this method...
info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT...
info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xd8000000
info: [drm] igp_read_bios_from_vram: Map address: 0xfffff800d8000000
(262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x2070
info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM...
info: [drm] radeon_read_bios: Map address: 0xfffff800000c0000 (131072 bytes)
info: [drm] ATOM BIOS: ATI
drmn0: info: VRAM: 128M 0x00000000D0000000 - 0x00000000D7FFFFFF (128M used)
drmn0: info: GTT: 512M 0x00000000A0000000 - 0x00000000BFFFFFFF
info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
info: [drm] Driver supports precise vblank timestamp query.
info: [drm] radeon: irq initialized.
info: [drm] Detected VRAM RAM=128M, BAR=128M
info: [drm] RAM width 128bits DDR
[TTM] Zone  kernel: Available graphics memory: 2805918 kiB
[TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[TTM] Initializing pool allocator
info: [drm] radeon: 128M of VRAM memory ready
info: [drm] radeon: 512M of GTT memory ready.
info: [drm] GART: num cpu pages 131072, num gpu pages 131072
info: [drm] radeon: 1 quad pipes, 1 z pipes initialized.
info: [drm] PCIE GART of 512M enabled (table at 0x0000000007D4D000).
drmn0: info: WB enabled
drmn0: info: fence driver on ring 0 use gpu addr 0x00000000a0000000 and
cpu addr 0x0xfffff80008c40000
info: [drm] Loading RS690/RS740 Microcode
info: [drm] radeon: ring at 0x00000000A0001000
error: [drm:pid1162:r100_ring_test] *ERROR* radeon: ring test failed
(scratch(0x15E4)=0xCAFEDEAD)
error: [drm:pid1162:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
drmn0: error: failed initializing CP (-22).
drmn0: error: Disabling GPU acceleration
error: [drm:pid1162:r100_cp_fini] *ERROR* Wait for CP idle timeout,
shutting down CP.
error: [drm:pid1162:r100_gui_wait_for_idle] *ERROR* radeon: wait for
empty RBBM fifo failed ! Bad things might happen.
error: [drm:pid1162:r100_cp_disable] *ERROR* Failed to wait GUI idle
while programming pipes. Bad things might happen.
info: [drm] radeon: cp finalized
info: [drm] radeon_device_init: Taking over the fictitious range
0xd8000000-0xe0000000
iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
iic0: <I2C generic I/O> on iicbus0
iicbus1: <Philips I2C bus> on iicbb1 addr 0xff
iic1: <I2C generic I/O> on iicbus1
iicbus2: <Philips I2C bus> on iicbb2 addr 0xff
iic2: <I2C generic I/O> on iicbus2
iicbus3: <Philips I2C bus> on iicbb3 addr 0xff
iic3: <I2C generic I/O> on iicbus3
info: [drm] Radeon Display Connectors
info: [drm] Connector 0:
info: [drm]   VGA-1
info: [drm]   DDC: 0x7e50 0x7e40 0x7e54 0x7e44 0x7e58 0x7e48 0x7e5c 0x7e4c
info: [drm]   Encoders:
info: [drm]     CRT1: INTERNAL_KLDSCP_DAC1
info: [drm] Connector 1:
info: [drm]   SVIDEO-1
info: [drm]   Encoders:
info: [drm]     TV1: INTERNAL_KLDSCP_DAC1
info: [drm] Connector 2:
info: [drm]   HDMI-A-1
info: [drm]   DDC: 0x7e40 0x7e50 0x7e44 0x7e54 0x7e48 0x7e58 0x7e4c 0x7e5c
info: [drm]   Encoders:
info: [drm]     DFP3: INTERNAL_LVTM1
error: [drm:pid1162:rs600_irq_set] *ERROR* Can't enable IRQ/MSI because
no handler is installed
info: [drm] Initialized radeon 2.29.0 20080528







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52C8F9AA.1090207>