Summary: | No direct rendering with Radeon HD 7750 | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Jim Schutt <74.schutt> | ||||
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> | ||||
Status: | RESOLVED MOVED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | medium | CC: | 74.schutt | ||||
Version: | unspecified | ||||||
Hardware: | x86-64 (AMD64) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
You should try one of gentoo's stable kernel packages. If it still doesn't work, then file a bug with gentoo. It looks like you might not have specified the correct video card when building your X.Org packages. You should search gentoo documentation for the correct way to do this, but I think it's something like adding: export VIDEO_CARDS="radeon radeonsi" to your make.conf It turns out my root filesystem is on a bcache-backed device, so I need to use a 3.10 or newer kernel - AFAICS the latest stable gentoo-sources kernel is 3.8.13. FWIW my VIDEO_CARDS did include radeon, but not radeonsi. I interpret this bit of /usr/portage/profiles/desc/video_cards.desc to mean that including "radeonsi" restricts the build to only support SI, not add support for it: radeon - VIDEO_CARDS setting to build driver for ATI radeon video cards radeonsi - VIDEO_CARDS setting to build only Southern Islands based chips code for radeon Am I reading that wrong? The Xorg log I posted shows the radeon driver is being used, and probed my card as having a VERDE chipset. I didn't file a Gentoo bug because I thought that this part of what I reported in my dmesg: [ 11.109017] [drm:r600_uvd_init] *ERROR* UVD not responding, giving up!!! [ 11.109588] [drm:si_startup] *ERROR* radeon: failed initializing UVD (-1). could have tickled a bug that prevents my card from reporting it is direct-rendering capable. Isn't this the place to report possible bugs in the DRI code in the upstream kernel? So, please don't resolve this as fixed just yet. (In reply to comment #2) > It turns out my root filesystem is on a bcache-backed device, so I need to > use a > 3.10 or newer kernel - AFAICS the latest stable gentoo-sources kernel is > 3.8.13. > I would recommend trying the 3.10 stable kernel then. > > FWIW my VIDEO_CARDS did include radeon, but not radeonsi. I interpret this > bit of > /usr/portage/profiles/desc/video_cards.desc > to mean that including "radeonsi" restricts the build to only support SI, not > add support for it: > > radeon - VIDEO_CARDS setting to build driver for ATI radeon video cards > radeonsi - VIDEO_CARDS setting to build only Southern Islands based chips > code for radeon > > Am I reading that wrong? > I think you are correct here. > The Xorg log I posted shows the radeon driver is being used, and probed my > card as > having a VERDE chipset. > > I didn't file a Gentoo bug because I thought that this part of what I > reported in my dmesg: > > [ 11.109017] [drm:r600_uvd_init] *ERROR* UVD not responding, giving up!!! > [ 11.109588] [drm:si_startup] *ERROR* radeon: failed initializing UVD (-1). > I'm not sure why uvd fails to load, this should be filed as a separate bug. I don't think it's related to your direct rendering problems. > > So, please don't resolve this as fixed just yet. This looks to me like a gentoo packaging bug. llvmpipe is using LLVM 3.1 and radeonsi in Mesa 9.1.* requires a patched LLVM 3.2. (In reply to comment #3) > (In reply to comment #2) > > [ 11.109017] [drm:r600_uvd_init] *ERROR* UVD not responding, giving up!!! > > [ 11.109588] [drm:si_startup] *ERROR* radeon: failed initializing UVD (-1). > > > > I'm not sure why uvd fails to load, this should be filed as a separate bug. > I don't think it's related to your direct rendering problems. > OK, thanks. > > > > > So, please don't resolve this as fixed just yet. > > This looks to me like a gentoo packaging bug. llvmpipe is using LLVM 3.1 > and radeonsi in Mesa 9.1.* requires a patched LLVM 3.2. I'll try to get the proper LLVM running, and see if that helps. Thanks for your help. Have you managed to make the direct rendering work? -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/359. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 83043 [details] Xorg.0.log for no direct rendering I've got a Radeon HD 7750: 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde PRO [Radeon HD 7750] and I'm not getting direct rendering: # grep rendering /var/log/Xorg.0.log [ 33.034] (WW) RADEON(0): Direct rendering disabled # glxinfo | grep string server glx vendor string: SGI server glx version string: 1.4 client glx vendor string: Mesa Project and SGI client glx version string: 1.4 OpenGL vendor string: VMware, Inc. OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.1, 256 bits) OpenGL version string: 2.1 Mesa 9.1.4 OpenGL shading language version string: 1.20 # ls -l /dev/dri/* crw-rw----+ 1 root video 226, 0 Jul 26 07:41 /dev/dri/card0 crw-rw---- 1 root video 226, 64 Jul 26 07:41 /dev/dri/controlD64 and my username is in the video group: # grep video /etc/group video:x:27:root,jim I'm running Gentoo with a kernel.org kernel: 3.11.0-rc2-00185-g07bc9dc My system is built on an Asus PC8WS motherboard with UEFI BIOS. It's all new, and I've never had working direct rendering on this system. I build my kernel with the Radeon driver built in, and firmware included: # egrep "RADEON|EXTRA" .config CONFIG_EXTRA_FIRMWARE="radeon/VERDE_ce.bin radeon/VERDE_mc.bin radeon/VERDE_me.bin radeon/VERDE_pfp.bin radeon/VERDE_rlc.bin radeon/VERDE_smc.bin radeon/TAHITI_uvd.bin" CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" CONFIG_DRM_RADEON=y # CONFIG_DRM_RADEON_UMS is not set # CONFIG_FB_RADEON is not set AFAIK the firmware is the most recent available: # sha1sum /lib/firmware/radeon/{VERDE,TAHITI_uvd}* 9cda1adf01acdbf7de9171524828603b74edfcd6 /lib/firmware/radeon/VERDE_ce.bin b7993a2036b59a1b5bf6b5433d614f5c97596487 /lib/firmware/radeon/VERDE_mc.bin 29caf82d03f6bc6299777e23c028ec76dad51a71 /lib/firmware/radeon/VERDE_me.bin 3ccb727b909b4e6496cb48fda1e888671bfde19a /lib/firmware/radeon/VERDE_pfp.bin 8ba612da9ffedc0df18ed3593a2e65cb76f058f3 /lib/firmware/radeon/VERDE_rlc.bin 56ac1628276545c4ff1cd682461e4609547d79f4 /lib/firmware/radeon/VERDE_smc.bin 28c406a7dc5d3a223b79e5e76c35d7bb845071e3 /lib/firmware/radeon/TAHITI_uvd.bin Here's the main Gentoo X package versions I'm running: media-libs/mesa-9.1.4 x11-base/xorg-drivers-1.13 x11-base/xorg-server-1.13.4 x11-base/xorg-x11-7.4-r2 I've attached an X server log, and here's everything from dmesg that appears to be related to graphics: [ 0.000000] Command line: BOOT_IMAGE=(hd1,gpt1)/efi/linux/vmlinuz-3.11.0-rc2-00185-g07bc9dc root=LABEL=sys_root ro acpi_enforce_resources=lax radeon.dpm=1 [ 0.000000] Kernel command line: BOOT_IMAGE=(hd1,gpt1)/efi/linux/vmlinuz-3.11.0-rc2-00185-g07bc9dc root=LABEL=sys_root ro acpi_enforce_resources=lax radeon.dpm=1 [ 0.322036] efifb: probing for efifb [ 0.322127] efifb: framebuffer at 0xe0000000, mapped to 0xffffc9000ad00000, using 1984k, total 1984k [ 0.322129] efifb: mode is 800x600x32, linelength=3328, pages=1 [ 0.322131] efifb: scrolling: redraw [ 0.322133] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0 [ 0.324356] fb0: EFI VGA frame buffer device [ 0.364525] [drm] Initialized drm 1.1.0 20060810 [ 0.365086] [drm] radeon kernel modesetting enabled. [ 0.365636] fb: conflicting fb hw usage radeondrmfb vs EFI VGA - removing generic driver [ 0.366329] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x1787:0x200B). [ 0.366909] [drm] register mmio base: 0xF7E00000 [ 0.367456] [drm] register mmio size: 262144 [ 0.368707] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used) [ 0.369287] radeon 0000:01:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF [ 0.369865] [drm] Detected VRAM RAM=1024M, BAR=256M [ 0.370434] [drm] RAM width 128bits DDR [ 0.371017] [TTM] Zone kernel: Available graphics memory: 8209962 kiB [ 0.371579] [TTM] Zone dma32: Available graphics memory: 2097152 kiB [ 0.372135] [TTM] Initializing pool allocator [ 0.372687] [TTM] Initializing DMA pool allocator [ 0.373243] [drm] radeon: 1024M of VRAM memory ready [ 0.373782] [drm] radeon: 512M of GTT memory ready. [ 0.374830] [drm] GART: num cpu pages 131072, num gpu pages 131072 [ 0.375584] [drm] probing gen 2 caps for device 8086:151 = 261ad03/e [ 0.376105] [drm] PCIE gen 3 link speeds already enabled [ 0.376635] [drm] Loading VERDE Microcode [ 0.692398] [drm] PCIE GART of 512M enabled (table at 0x0000000000276000). [ 0.693008] radeon 0000:01:00.0: WB enabled [ 0.693520] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff88040df85c00 [ 0.694569] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff88040df85c04 [ 0.695675] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff88040df85c08 [ 0.696817] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff88040df85c0c [ 0.697977] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff88040df85c10 [ 0.699201] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc9000b035a18 [ 0.700458] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 0.701095] [drm] Driver supports precise vblank timestamp query. [ 0.701749] radeon 0000:01:00.0: irq 40 for MSI/MSI-X [ 0.701756] radeon 0000:01:00.0: radeon: using MSI. [ 0.702420] [drm] radeon: irq initialized. [ 0.722205] [drm] ring test on 0 succeeded in 2 usecs [ 0.722843] [drm] ring test on 1 succeeded in 1 usecs [ 0.723458] [drm] ring test on 2 succeeded in 1 usecs [ 0.724127] [drm] ring test on 3 succeeded in 4 usecs [ 0.724731] [drm] ring test on 4 succeeded in 4 usecs [ 1.901452] [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 2.922147] [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 3.943124] [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 4.964083] [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 5.984845] [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 7.005588] [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 8.026315] [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 9.047036] [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 10.067738] [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 11.088419] [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!! [ 11.109017] [drm:r600_uvd_init] *ERROR* UVD not responding, giving up!!! [ 11.109588] [drm:si_startup] *ERROR* radeon: failed initializing UVD (-1). [ 11.110974] [drm] ib test on ring 0 succeeded in 0 usecs [ 11.111448] [drm] ib test on ring 1 succeeded in 0 usecs [ 11.111895] [drm] ib test on ring 2 succeeded in 0 usecs [ 11.112319] [drm] ib test on ring 3 succeeded in 0 usecs [ 11.112720] [drm] ib test on ring 4 succeeded in 1 usecs [ 11.113577] [drm] Radeon Display Connectors [ 11.113901] [drm] Connector 0: [ 11.114201] [drm] DP-1 [ 11.114476] [drm] HPD4 [ 11.114737] [drm] DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c [ 11.115013] [drm] Encoders: [ 11.115276] [drm] DFP1: INTERNAL_UNIPHY2 [ 11.115540] [drm] Connector 1: [ 11.115796] [drm] HDMI-A-1 [ 11.116053] [drm] HPD1 [ 11.116311] [drm] DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c [ 11.116601] [drm] Encoders: [ 11.116890] [drm] DFP2: INTERNAL_UNIPHY2 [ 11.117173] [drm] Connector 2: [ 11.117438] [drm] DVI-I-1 [ 11.117706] [drm] HPD2 [ 11.117973] [drm] DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c [ 11.118272] [drm] Encoders: [ 11.118573] [drm] DFP3: INTERNAL_UNIPHY [ 11.118882] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [ 11.119229] [drm] Internal thermal controller with fan control [ 11.119604] [drm] probing gen 2 caps for device 8086:151 = 261ad03/e [ 11.119965] == power state 0 == [ 11.120314] ui class: none [ 11.120663] internal class: boot [ 11.121003] caps: [ 11.121326] uvd vclk: 0 dclk: 0 [ 11.121645] power level 0 sclk: 30000 mclk: 14900 vddc: 950 vddci: 900 pcie gen: 3 [ 11.121995] status: c r b [ 11.122353] == power state 1 == [ 11.122710] ui class: performance [ 11.123075] internal class: none [ 11.123435] caps: [ 11.123789] uvd vclk: 0 dclk: 0 [ 11.124147] power level 0 sclk: 30000 mclk: 15000 vddc: 825 vddci: 900 pcie gen: 3 [ 11.124539] power level 1 sclk: 40000 mclk: 112500 vddc: 950 vddci: 950 pcie gen: 3 [ 11.124925] power level 2 sclk: 80000 mclk: 112500 vddc: 1100 vddci: 950 pcie gen: 3 [ 11.125303] status: [ 11.125678] == power state 2 == [ 11.126051] ui class: none [ 11.126427] internal class: uvd [ 11.126811] caps: video [ 11.127179] uvd vclk: 72000 dclk: 56000 [ 11.127544] power level 0 sclk: 40000 mclk: 112500 vddc: 950 vddci: 950 pcie gen: 3 [ 11.127933] power level 1 sclk: 40000 mclk: 112500 vddc: 950 vddci: 950 pcie gen: 3 [ 11.128315] power level 2 sclk: 80000 mclk: 112500 vddc: 1100 vddci: 950 pcie gen: 3 [ 11.128704] status: [ 11.129092] == power state 3 == [ 11.129470] ui class: none [ 11.129839] internal class: ulv [ 11.130208] caps: [ 11.130574] uvd vclk: 0 dclk: 0 [ 11.130934] power level 0 sclk: 30000 mclk: 15000 vddc: 800 vddci: 900 pcie gen: 3 [ 11.131314] power level 1 sclk: 30000 mclk: 15000 vddc: 800 vddci: 900 pcie gen: 3 [ 11.131680] power level 2 sclk: 30000 mclk: 15000 vddc: 800 vddci: 900 pcie gen: 3 [ 11.132040] status: [ 11.136916] switching from power state: [ 11.137280] ui class: none [ 11.137644] internal class: boot [ 11.137998] caps: [ 11.138332] uvd vclk: 0 dclk: 0 [ 11.138671] power level 0 sclk: 30000 mclk: 14900 vddc: 950 vddci: 900 pcie gen: 3 [ 11.139037] status: c b [ 11.139402] switching to power state: [ 11.139768] ui class: performance [ 11.140137] internal class: none [ 11.140494] caps: [ 11.140840] uvd vclk: 0 dclk: 0 [ 11.141184] power level 0 sclk: 30000 mclk: 15000 vddc: 825 vddci: 900 pcie gen: 3 [ 11.141543] power level 1 sclk: 40000 mclk: 112500 vddc: 950 vddci: 950 pcie gen: 3 [ 11.141909] power level 2 sclk: 80000 mclk: 112500 vddc: 1100 vddci: 950 pcie gen: 3 [ 11.142278] status: r [ 11.143477] [drm] radeon: dpm initialized [ 11.180331] [drm] fb mappable at 0xE1388000 [ 11.180709] [drm] vram apper at 0xE0000000 [ 11.181071] [drm] size 9216000 [ 11.181435] [drm] fb depth is 24 [ 11.181796] [drm] pitch is 7680 [ 11.182142] fb: conflicting fb hw usage radeondrmfb vs EFI VGA - removing generic driver [ 11.182567] fbcon: radeondrmfb (fb1) is primary device [ 11.182604] switching from power state: [ 11.182605] ui class: performance [ 11.182605] internal class: none [ 11.182606] caps: [ 11.182606] uvd vclk: 0 dclk: 0 [ 11.182607] power level 0 sclk: 30000 mclk: 15000 vddc: 825 vddci: 900 pcie gen: 3 [ 11.182608] power level 1 sclk: 40000 mclk: 112500 vddc: 950 vddci: 950 pcie gen: 3 [ 11.182608] power level 2 sclk: 80000 mclk: 112500 vddc: 1100 vddci: 950 pcie gen: 3 [ 11.182609] status: c r [ 11.182609] switching to power state: [ 11.182609] ui class: performance [ 11.182610] internal class: none [ 11.182610] caps: [ 11.182610] uvd vclk: 0 dclk: 0 [ 11.182611] power level 0 sclk: 30000 mclk: 15000 vddc: 825 vddci: 900 pcie gen: 3 [ 11.182612] power level 1 sclk: 40000 mclk: 112500 vddc: 950 vddci: 950 pcie gen: 3 [ 11.182612] power level 2 sclk: 80000 mclk: 112500 vddc: 1100 vddci: 950 pcie gen: 3 [ 11.182613] status: c r [ 11.841979] radeon 0000:01:00.0: fb1: radeondrmfb frame buffer device [ 11.842679] radeon 0000:01:00.0: registered panic notifier [ 11.843386] [drm] Initialized radeon 2.34.0 20080528 for 0000:01:00.0 on minor 0 Any ideas about what I might be doing wrong would be greatly appreciated. Please let me know what other information might be needed to work this out. Thanks -- Jim