Comment # 4
on bug 87856
from kristof
Hello, I've successfully install Debian Jessie on iMac G5 revC (iSight) Facing same issue, I've followed these instructions here in order to downgrad mesa packages : http://ppcluddite.blogspot.fr/2012/03/installing-debian-linux-on-ppc-part-iv.html#graphics uname -a : Linux iMac17c 3.16.0-4-powerpc64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) ppc64 GNU/Linux 0000:04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV380 [Radeon X600] (prog-if 00 [VGA controller]) Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RV380 [Radeon X600] Flags: bus master, fast devsel, latency 0, IRQ 25 Memory at 98000000 (32-bit, prefetchable) [size=128M] I/O ports at 0400 [size=256] Memory at 90000000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at 90020000 [size=128K] Capabilities: [50] Power Management version 2 Capabilities: [58] Express Endpoint, MSI 00 Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [100] Advanced Error Reporting Kernel driver in use: radeon Workaround : 1) Jessie fresh install graphics results (no firmware non-free installed), able to log in graphic session : LIBGL_DEBUG=verbose glxinfo | grep render libGL: screen 0 does not appear to be DRI3 capable libGL: screen 0 does not appear to be DRI2 capable libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so libGL: Can't open configuration file /home/kristof/.drirc: No such file or directory. direct rendering: Yes GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, GLX_MESA_query_renderer, GLX_OML_swap_method, GLX_SGIS_multisample, OpenGL renderer string: Software Rasterizer GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp, dmesg | egrep 'drm|radeon' complains about microcode : [ 13.715213] [drm] Loading R300 Microcode [ 13.732935] radeon 0000:04:00.0: firmware: failed to load radeon/R300_cp.bin (-2) [ 13.732962] [drm:r100_cp_init] *ERROR* Failed to load firmware! [ 13.732971] radeon 0000:04:00.0: failed initializing CP (-2). [ 13.732978] radeon 0000:04:00.0: Disabling GPU acceleration 2) then install it with non-free firmware : dmesg | egrep 'drm|radeon' happy because it find the microcode :-) [ 13.469992] [drm] radeon: irq initialized. [ 13.470031] [drm] Loading R300 Microcode [ 13.560891] radeon 0000:04:00.0: firmware: direct-loading firmware radeon/R300_cp.bin [ 13.561237] [drm] radeon: ring at 0x0000000078010000 but it breaks something :-( LIBGL_DEBUG=verbose glxinfo | grep render libGL: screen 0 does not appear to be DRI3 capable libGL: pci id for fd 4: 1002:5b62, driver r300 libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/tls/r300_dri.so libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/r300_dri.so libGL: Can't open configuration file /home/kristof/.drirc: No such file or directory. libGL: Can't open configuration file /home/kristof/.drirc: No such file or directory. libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: r300 libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so libGL: Can't open configuration file /home/kristof/.drirc: No such file or directory. libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast Error: couldn't find RGB GLX visual or fbconfig 3) according to the procedure provides in the link above, I've applied patch : LIBGL_DEBUG=verbose glxinfo | grep render libGL: screen 0 does not appear to be DRI3 capable libGL: pci id for fd 4: 1002:5b62, driver r300 libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/tls/r300_dri.so libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/r300_dri.so libGL: driver does not expose __driDriverGetExtensions_r300(): /usr/lib/powerpc-linux-gnu/dri/r300_dri.so: undefined symbol: __driDriverGetExtensions_r300 libGL: Can't open configuration file /home/kristof/.drirc: No such file or directory. libGL: Can't open configuration file /home/kristof/.drirc: No such file or directory. direct rendering: Yes GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, OpenGL renderer string: Gallium 0.4 on ATI RV370 GL_NV_blend_square, GL_NV_conditional_render, GL_NV_fog_distance, GL_OES_depth_texture, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, dmesg | egrep 'drm|radeon' [ 13.085940] [drm] Initialized drm 1.1.0 20060810 [ 13.518475] [drm] radeon kernel modesetting enabled. [ 13.518613] fb: switching to radeondrmfb from OFfb ATY,Aphrod [ 13.542630] fb: switching to radeondrmfb from OFfb ATY,Aphrod [ 13.543441] radeon 0000:04:00.0: enabling device (0006 -> 0007) [ 13.544541] [drm] initializing kernel modesetting (RV380 0x1002:0x5B62 0x1002:0x5B62). [ 13.544639] radeon 0000:04:00.0: Using 64-bit DMA iommu bypass [ 13.544658] [drm] register mmio base: 0x90000000 [ 13.544663] [drm] register mmio size: 65536 [ 13.544841] radeon 0000:04:00.0: Invalid ROM contents [ 13.544868] radeon 0000:04:00.0: Invalid ROM contents [ 13.544881] [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM [ 13.544972] [drm] Using device-tree clock info [ 13.545019] [drm] Generation 2 PCI interface, using max accessible memory [ 13.545031] radeon 0000:04:00.0: VRAM: 128M 0x0000000098000000 - 0x000000009FFFFFFF (128M used) [ 13.545040] radeon 0000:04:00.0: GTT: 512M 0x0000000078000000 - 0x0000000097FFFFFF [ 13.549473] [drm] Detected VRAM RAM=128M, BAR=128M [ 13.549489] [drm] RAM width 128bits DDR [ 13.549842] [drm] radeon: 128M of VRAM memory ready [ 13.549850] [drm] radeon: 512M of GTT memory ready. [ 13.549915] [drm] GART: num cpu pages 8192, num gpu pages 131072 [ 13.550164] [drm] radeon: 1 quad pipes, 1 Z pipes initialized. [ 13.579036] [drm] PCIE GART of 512M enabled (table at 0x0000000098040000). [ 13.582052] radeon 0000:04:00.0: WB enabled [ 13.582150] radeon 0000:04:00.0: fence driver on ring 0 use gpu addr 0x0000000078000000 and cpu addr 0xc00000004d1f0000 [ 13.583048] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 13.583066] [drm] Driver supports precise vblank timestamp query. [ 13.583081] radeon 0000:04:00.0: radeon: MSI limited to 32-bit [ 13.583135] [drm] radeon: irq initialized. [ 13.583180] [drm] Loading R300 Microcode [ 13.655061] radeon 0000:04:00.0: firmware: direct-loading firmware radeon/R300_cp.bin [ 13.655383] [drm] radeon: ring at 0x0000000078010000 [ 13.655421] [drm] ring test succeeded in 0 usecs [ 13.655637] [drm] ib test succeeded in 0 usecs [ 13.689091] [drm] Connector Table: 8 (imac g5 isight) [ 13.689133] [drm] No TMDS info found in BIOS [ 13.689285] [drm] No TV DAC info found in BIOS [ 13.689444] [drm] Radeon Display Connectors [ 13.689450] [drm] Connector 0: [ 13.689454] [drm] DVI-D-1 [ 13.689459] [drm] HPD1 [ 13.689465] [drm] DDC: 0x68 0x68 0x68 0x68 0x68 0x68 0x68 0x68 [ 13.689470] [drm] Encoders: [ 13.689475] [drm] DFP1: INTERNAL_TMDS1 [ 13.689479] [drm] Connector 1: [ 13.689483] [drm] VGA-1 [ 13.689489] [drm] DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64 [ 13.689494] [drm] Encoders: [ 13.689498] [drm] CRT2: INTERNAL_DAC2 [ 13.689503] [drm] Connector 2: [ 13.689507] [drm] SVIDEO-1 [ 13.689511] [drm] Encoders: [ 13.689515] [drm] TV1: INTERNAL_DAC2 [ 13.888366] [drm] fb mappable at 0x980C0000 [ 13.888385] [drm] vram apper at 0x98000000 [ 13.888390] [drm] size 5242880 [ 13.888395] [drm] fb depth is 24 [ 13.888399] [drm] pitch is 5760 [ 13.955320] radeon 0000:04:00.0: fb0: radeondrmfb frame buffer device [ 13.955425] radeon 0000:04:00.0: registered panic notifier [ 13.984018] [drm] Initialized radeon 2.39.0 20080528 for 0000:04:00.0 on minor 0 PS : can someone tells me if it this an "abnornal" things in the last dmesg | egrep 'drm|radeon' please ? Thanks and have a nice day Kristof
You are receiving this mail because:
- You are the assignee for the bug.
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel