Current-Users archive

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

Re: radeon framebuffer console all dark



On Thu, 28 May 2020 at 12:08, Riccardo Mottola
<riccardo.mottola%libero.it@localhost> wrote:
>
> Hello David,
>
> David Brownlee wrote:
> >> Any suggestions? It is not a regression bug from 9.0: it is already
> >> bugged. I am just testing current kernel and noticed the issue
> >> continues.
> > Are there any BIOS options to adjusting the amount of memory available
> > to the display hardware? If so it may be worth trying it on the
> > max/min settings to see if it affects anything
>
> thanks for the hint! The options were there, didn't think of them at
> first because hidden in a sub-menu.
>
> I have the following options: 32-64-128-AUTO
> It was set to 32.
> At 64, 128 or AUTO (which apparently seems to set it to 128 according to
> the dmesg?) works.

I believe AUTO defaults it to 128M and allows the running system to
adjust with the right calls.

> How does it come that 32MB is enough for X11 but gives issues to the
> console... leading to only a cursor moving?

I strongly suspect the text is there, just *very* dark. You can see if
you have an external screen on which you turn the brightness right up
:)

> at AUTO this is an extract of the dmesg.
>
> I notice really a lot of errors. ringtest, cp and at the end GPU
> acceleration disabled.

Thats a separate issue (and probably worth a separate PR :-p

David

> Thank you,
> Riccardo
>
>
> [     4.775180] kern info: [drm] initializing kernel modesetting (RS480
> 0x1002:0x5955 0x103C:0x308B).
> [     4.775180] kern info: [drm] register mmio base: 0xd8300000
> [     4.775180] kern info: [drm] register mmio size: 65536
> [     4.775180] kern info: [drm] Generation 2 PCI interface, using max
> accessible memory
> [     4.775180] radeon0: info: VRAM: 128M 0x0000000058000000 -
> 0x000000005FFFFFFF (128M used)
> [     4.775180] radeon0: info: GTT: 512M 0x0000000060000000 -
> 0x000000007FFFFFFF
> [     4.775180] kern info: [drm] Detected VRAM RAM=80M, BAR=256M
> [     4.775180] kern info: [drm] RAM width 128bits DDR
> [     4.775180] Zone  kernel: Available graphics memory: 216894 kiB
> [     4.775180] kern info: [drm] radeon: 128M of VRAM memory ready
> [     4.775180] kern info: [drm] radeon: 512M of GTT memory ready.
> [     4.775180] kern info: [drm] GART: num cpu pages 131072, num gpu
> pages 131072
> [     4.785193] kern info: [drm] radeon: 1 quad pipes, 1 z pipes
> initialized.
> [     4.785193] kern info: [drm] PCIE GART of 512M enabled (table at
> 0x0000000042D10000).
> [     4.785193] radeon0: info: WB enabled
> [     4.785193] radeon0: info: fence driver on ring 0 use gpu addr
> 0x0000000060000000 and cpu addr 0x0xfffffc264fef3000
> [     4.785193] kern info: [drm] Supports vblank timestamp caching Rev 2
> (21.10.2013).
> [     4.785193] kern info: [drm] Driver supports precise vblank
> timestamp query.
> [     4.785193] radeon0: info: radeon: MSI limited to 32-bit
> [     4.785193] radeon0: interrupting at ioapic0 pin 17 (radeon0)
> [     4.785193] kern info: [drm] radeon: irq initialized.
> [     4.785193] kern info: [drm] Loading R300 Microcode
> [     4.835217] kern info: [drm] radeon: ring at 0x0000000060001000
> [     4.975304] kern error:
> [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:3701)r100_ring_test]
> *ERROR* radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
> [     4.975304] kern error:
> [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:1232)r100_cp_init]
> *ERROR* radeon: cp isn't working (-22).
> [     4.975304] radeon0: autoconfiguration error: error: failed
> initializing CP (-22).
> [     4.975304] radeon0: autoconfiguration error: error: Disabling GPU
> acceleration
> [     5.105385] kern error:
> [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:1252)r100_cp_fini]
> *ERROR* Wait for CP idle timeout, shutting down CP.
> [     5.235467] kern warning: Failed to wait GUI idle while programming
> pipes. Bad things might happen.
> [     5.235467] kern info: [drm] radeon: cp finalized
> [     5.235467] kern info: [drm] Panel ID String: LGP
> [     5.235467] kern info: [drm] Panel Size 1400x1050
> [     5.235467] kern info: [drm] Radeon Display Connectors
> [     5.235467] kern info: [drm] Connector 0:
> [     5.235467] kern info: [drm]   VGA-1
> [     5.235467] kern info: [drm]   DDC: 0x68 0x68 0x68 0x68 0x68 0x68
> 0x68 0x68
> [     5.235467] kern info: [drm]   Encoders:
> [     5.235467] kern info: [drm]     CRT1: INTERNAL_DAC2
> [     5.235467] kern info: [drm] Connector 1:
> [     5.235467] kern info: [drm]   LVDS-1
> [     5.235467] kern info: [drm]   DDC: 0x198 0x198 0x19c 0x19c 0x1a0
> 0x1a0 0x1a4 0x1a4
> [     5.235467] kern info: [drm]   Encoders:
> [     5.235467] kern info: [drm]     LCD1: INTERNAL_LVDS
> [     5.235467] kern info: [drm] Connector 2:
> [     5.235467] kern info: [drm]   SVIDEO-1
> [     5.235467] kern info: [drm]   Encoders:
> [     5.235467] kern info: [drm]     TV1: INTERNAL_DAC2
> [     5.285498] radeondrmkmsfb0 at radeon0
> [     5.285498] radeondrmkmsfb0: framebuffer at 0xffffdb00399a0000, size
> 1400x1050, depth 32, stride 5632
> [     5.305510] warning:
> /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't
> enable IRQ/MSI because no handler is installed
> [     5.365548] wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console
> (default, vt100 emulation), using wskbd0
>


Home | Main Index | Thread Index | Old Index