NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

radeon card on 9.1



Hi,
   I have a box with intel integrated graphics (Intel HD Graphics 630)
and an ATI Radeon HD 4550 card.   Under 8.x the X server would find and
use the Radeon card without needing any explicit configuration.

Under 9.1 with default config it doesn't seem to see the radeon and just
tries to use the intel graphics (which works fine for 2d but has some
issues with 3d).  If I put an xorg.conf in explicitly using the radeon
driver it reports "No devices detected"

The kernel however seems to happily see both:

% dmesg | grep 'drm'
[     1.039607] i915drmkms0 at pci0 dev 2 function 0: vendor 8086
product 5912 (rev. 0x04)
[     5.098905] kern info: [drm] initializing kernel modesetting (RV710
0x1002:0x9540 0x1028:0x0002).
[     5.098905] kern info: [drm] register mmio base: 0xf7120000
[     5.098905] kern info: [drm] register mmio size: 65536
[     5.259046] kern info: [drm] Detected VRAM RAM=200M, BAR=256M
[     5.259046] kern info: [drm] RAM width 64bits DDR
[     5.259046] kern info: [drm] radeon: 512M of VRAM memory ready
[     5.259046] kern info: [drm] radeon: 1024M of GTT memory ready.
[     5.259046] kern info: [drm] Loading RV710 Microcode
[     5.268903] kern info: [drm] Memory usable by graphics device = 4096M
[     5.268903] kern info: [drm] Supports vblank timestamp caching Rev 2
(21.10.2013).
[     5.268903] kern info: [drm] Driver supports precise vblank
timestamp query.
[     5.268903] kern info: [drm] failed to find VBIOS tables
[     5.268903] i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
[     5.268903] kern error:
[drm:(/src/work/9/src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c:636)i915_firmware_load_error_print]
*ERROR* failed to load firmware i915/kbl_dmc_ver1.bin (0)
[     5.268903] kern error:
[drm:(/src/work/9/src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c:651)i915_firmware_load_error_print]
*ERROR* The driver is built-in, so to load the firmware you need to
[     5.268903] kern info: [drm] Internal thermal controller with fan
control
[     5.268903] kern info: [drm] radeon: dpm initialized
[     5.278904] kern info: [drm] GART: num cpu pages 262144, num gpu
pages 262144
[     5.278904] kern info: [drm] PCIE GART of 1024M enabled (table at
0x000000000025E000).
[     5.288994] kern info: [drm] Supports vblank timestamp caching Rev 2
(21.10.2013).
[     5.288994] kern info: [drm] Driver supports precise vblank
timestamp query.
[     5.288994] kern info: [drm] radeon: irq initialized.
[     5.328903] kern info: [drm] ring test on 0 succeeded in 1 usecs
[     5.328903] kern info: [drm] ring test on 3 succeeded in 2 usecs
[     5.508903] kern info: [drm] ring test on 5 succeeded in 1 usecs
[     5.508903] kern info: [drm] UVD initialized successfully.
[     5.508903] kern info: [drm] ib test on ring 0 succeeded in 0 usecs
[     5.508903] kern info: [drm] ib test on ring 3 succeeded in 0 usecs
[     5.688904] kern info: [drm] failed to retrieve link info, disabling eDP
[     5.688904] kern error:
[drm:(/src/work/9/src/sys/external/bsd/drm2/dist/drm/i915/intel_guc_loader.c:560)guc_fw_fetch]
*ERROR* Failed to fetch GuC firmware from i915/kbl_guc_ver9_14.bin
(error -2)
[     5.758904] kern error:
[drm:(/src/work/9/src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c:5417)i915_gem_init_hw]
*ERROR* Failed to initialize GuC, error -5 (ignored)
[     5.758904] i915drmkms0: info: No connectors reported connected with
modes
[     5.758904] kern info: [drm] Cannot find any crtc or sizes - going
1024x768
[     5.758904] intelfb0 at i915drmkms0
[     6.158904] kern info: [drm] ib test on ring 5 succeeded
[     6.158904] kern info: [drm] Radeon Display Connectors
[     6.158904] kern info: [drm] Connector 0:
[     6.158904] kern info: [drm]   DP-4
[     6.158904] kern info: [drm]   HPD2
[     6.158904] kern info: [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54
0x7e58 0x7e58 0x7e5c 0x7e5c
[     6.158904] kern info: [drm]   Encoders:
[     6.158904] kern info: [drm]     DFP1: INTERNAL_UNIPHY
[     6.158904] kern info: [drm] Connector 1:
[     6.158904] kern info: [drm]   DVI-I-1
[     6.158904] kern info: [drm]   HPD4
[     6.158904] kern info: [drm]   DDC: 0x7f10 0x7f10 0x7f14 0x7f14
0x7f18 0x7f18 0x7f1c 0x7f1c
[     6.158904] kern info: [drm]   Encoders:
[     6.158904] kern info: [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[     6.158904] kern info: [drm]     DFP2: INTERNAL_UNIPHY2
[     6.238903] radeondrmkmsfb0 at radeon0
[     6.238903] radeondrmkmsfb0: framebuffer at 0xffffb6813d2a2000, size
1920x1200, depth 32, stride 7680
[     6.738903] wsdisplay1 at radeondrmkmsfb0 kbdmux 1
[     6.838904] kern info: [drm] RC6 on


Any suggestions how to get X to use the radeon?

cheers
mark


Home | Main Index | Thread Index | Old Index