Current-Users archive

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

Re: Kernel config options for drm [ Was Re: No HDMI output... ]





On 27 December 2022 14:22:42 (+00:00), Mayuresh wrote:

> On Mon, Dec 26, 2022 at 10:01:32PM +0530, Mayuresh wrote:
> > # dmesg | grep -i -e Radeon -e drm
> > [ 1.000004] cpu0: AMD A6-9225 RADEON R4, 5 COMPUTE CORES 2C+3G , id 0x670f00 > > [ 1.000004] cpu1: AMD A6-9225 RADEON R4, 5 COMPUTE CORES 2C+3G , id 0x670f00 > > [ 1.047740] genfb0 at pci0 dev 1 function 0: ATI Technologies Radeon R2/R3/R4/R5 Graphics (rev. 0xea)
> > [     1.047740] drm at genfb0 not configured
> > > > Please suggest whether a kernel reconfiguration is required for HDMI to
> > work.
> > To be more specific: > > # config -x | grep drm
>     #i915drm*       at drm?         # Intel i915, i945 DRM driver
> #mach64drm* at drm? # mach64 (3D Rage Pro, Rage) DRM driver
>     #mgadrm*        at drm?         # Matrox G[24]00, G[45]50 DRM driver
>     #r128drm*       at drm?         # ATI Rage 128 DRM driver
>     #radeondrm*     at drm?         # ATI Radeon DRM driver
>     #savagedrm*     at drm?         # S3 Savage DRM driver
>     #sisdrm*        at drm?         # SiS DRM driver
>     #tdfxdrm*       at drm?         # 3dfx (voodoo) DRM driver
>     i915drmkms*     at pci? dev ? function ?
>     radeondrmkmsfb* at radeonfbbus?
>     #viadrmums*     at drm?

That's the default...

> >
> i915drm is disabled, but i915drmkms is enabled. Similarly radeondrm is

> disabled and radeondrmkmsfb is enabled. What does this exactly mean?

>
> Also, how to interpret the message "drm at genfb0 not configured".

>
>     # config -x | grep genfb

>     # enable splash screen support; requires genfb or radeonfb

>     genfb*          at pci? dev ? function ?

> genfb* at vmbus? # Hyper-V Synthetic Video Framebuffer

Just in case someone is interested, this is what I get now (on 10.99.2 from yesterday, but it has been like that since I installed this graphics card):

...

radeon0 at pci1 dev 0 function 0: ATI Technologies FirePro W5000 (rev. 0x00) [drm] initializing kernel modesetting (PITCAIRN 0x1002:0x6809 0x1002:0x0B06 0x00).
[drm] register mmio base: 0xf0500000
[drm] register mmio size: 262144
radeon0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
radeon0: GTT: 2048M 0x0000000080000000 - 0x00000000FFFFFFFF
[drm] Detected VRAM RAM=800M, BAR=256M
[drm] RAM width 256bits DDR
[drm] radeon: 2048M of VRAM memory ready
[drm] radeon: 2048M of GTT memory ready.
[drm] Loading pitcairn Microcode
[drm] Internal thermal controller with fan control
[drm] radeon: dpm initialized
[drm] Found VCE firmware/feedback version 50.0.1 / 17!
[drm] GART: num cpu pages 524288, num gpu pages 524288
[drm] PCIE gen 2 link speeds already enabled
[drm] PCIE GART of 2048M enabled (table at 0x00000000001D6000).
radeon0: WB enabled
radeon0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0x0xffff87e4da456c00 radeon0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0x0xffff87e4da456c04 radeon0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0x0xffff87e4da456c08 radeon0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0x0xffff87e4da456c0c radeon0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0x0xffff87e4da456c10 radeon0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0x0xffff99844f3f5a18 radeon0: fence driver on ring 6 use gpu addr 0x0000000080000c18 and cpu addr 0x0xffff87e4da456c18 radeon0: fence driver on ring 7 use gpu addr 0x0000000080000c1c and cpu addr 0x0xffff87e4da456c1c
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
radeon0: radeon: MSI limited to 32-bit
radeon0: radeon: using MSI.
radeon0: interrupting at msi9 vec 0 (radeon0)
[drm] radeon: irq initialized.
[drm] ring test on 0 succeeded in 3 usecs
[drm] ring test on 1 succeeded in 1 usecs
[drm] ring test on 2 succeeded in 1 usecs
[drm] ring test on 3 succeeded in 7 usecs
[drm] ring test on 4 succeeded in 7 usecs
[drm] ring test on 5 succeeded in 2 usecs
[drm] UVD initialized successfully.
[drm] ring test on 6 succeeded in 24 usecs
[drm] ring test on 7 succeeded in 4 usecs
[drm] VCE initialized successfully.
[drm] ib test on ring 0 succeeded in 0 usecs
[drm] ib test on ring 1 succeeded in 0 usecs
[drm] ib test on ring 2 succeeded in 0 usecs
[drm] ib test on ring 3 succeeded in 0 usecs
[drm] ib test on ring 4 succeeded in 0 usecs
[drm] ib test on ring 5 succeeded
[drm] ib test on ring 6 succeeded
[drm] ib test on ring 7 succeeded
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   DP-1
[drm]   HPD4
[drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY2
[drm] Connector 1:
[drm]   DP-2
[drm]   HPD5
[drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
[drm]   Encoders:
[drm]     DFP2: INTERNAL_UNIPHY2
[drm] Connector 2:
[drm]   DVI-I-1
[drm]   HPD6
[drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[drm]   Encoders:
[drm]     DFP3: INTERNAL_UNIPHY
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
radeondrmkmsfb0 at radeon0
[drm] Initialized radeon 2.50.0 20080528 for radeon0 on minor 0
radeondrmkmsfb0: framebuffer at 0xe05d8000, size 1280x1024, depth 32, stride 5120 wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0 radeon0 at pci1 dev 0 function 0: ATI Technologies FirePro W5000 (rev. 0x00) [drm] initializing kernel modesetting (PITCAIRN 0x1002:0x6809 0x1002:0x0B06 0x00).
[drm] register mmio base: 0xf0500000
[drm] register mmio size: 262144
radeon0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
radeon0: GTT: 2048M 0x0000000080000000 - 0x00000000FFFFFFFF
[drm] Detected VRAM RAM=800M, BAR=256M
[drm] RAM width 256bits DDR
[drm] radeon: 2048M of VRAM memory ready
[drm] radeon: 2048M of GTT memory ready.
[drm] Loading pitcairn Microcode
[drm] Internal thermal controller with fan control
[drm] radeon: dpm initialized
[drm] Found VCE firmware/feedback version 50.0.1 / 17!
[drm] GART: num cpu pages 524288, num gpu pages 524288
[drm] PCIE gen 2 link speeds already enabled
[drm] PCIE GART of 2048M enabled (table at 0x00000000001D6000).
radeon0: WB enabled
radeon0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0x0xfffffc20b3a57c00 radeon0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0x0xfffffc20b3a57c04 radeon0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0x0xfffffc20b3a57c08 radeon0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0x0xfffffc20b3a57c0c radeon0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0x0xfffffc20b3a57c10 radeon0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0x0xffffca044f405a18 radeon0: fence driver on ring 6 use gpu addr 0x0000000080000c18 and cpu addr 0x0xfffffc20b3a57c18 radeon0: fence driver on ring 7 use gpu addr 0x0000000080000c1c and cpu addr 0x0xfffffc20b3a57c1c
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
radeon0: radeon: MSI limited to 32-bit
radeon0: radeon: using MSI.
radeon0: interrupting at msi9 vec 0 (radeon0)
[drm] radeon: irq initialized.
[drm] ring test on 0 succeeded in 3 usecs
[drm] ring test on 1 succeeded in 1 usecs
[drm] ring test on 2 succeeded in 1 usecs
[drm] ring test on 3 succeeded in 7 usecs
[drm] ring test on 4 succeeded in 7 usecs
[drm] ring test on 5 succeeded in 2 usecs
[drm] UVD initialized successfully.
[drm] ring test on 6 succeeded in 23 usecs
[drm] ring test on 7 succeeded in 3 usecs
[drm] VCE initialized successfully.
[drm] ib test on ring 0 succeeded in 0 usecs
[drm] ib test on ring 1 succeeded in 0 usecs
[drm] ib test on ring 2 succeeded in 0 usecs
[drm] ib test on ring 3 succeeded in 0 usecs
[drm] ib test on ring 4 succeeded in 0 usecs
[drm] ib test on ring 5 succeeded
[drm] ib test on ring 6 succeeded
[drm] ib test on ring 7 succeeded
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   DP-1
[drm]   HPD4
[drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY2
[drm] Connector 1:
[drm]   DP-2
[drm]   HPD5
[drm]   DDC: 0x6540 0x6540 0x6544 0x6544 0x6548 0x6548 0x654c 0x654c
[drm]   Encoders:
[drm]     DFP2: INTERNAL_UNIPHY2
[drm] Connector 2:
[drm]   DVI-I-1
[drm]   HPD6
[drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[drm]   Encoders:
[drm]     DFP3: INTERNAL_UNIPHY
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
radeondrmkmsfb0 at radeon0
[drm] Initialized radeon 2.50.0 20080528 for radeon0 on minor 0
radeondrmkmsfb0: framebuffer at 0xe05d8000, size 1280x1024, depth 32, stride 5120 wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0

.... It works as close to perfect as one can desire. cad.onshape.com/check returns some tens of millions tri/sec under the latest firefox. No graphics artifacts whatsoever. While here, my laptop under the same build as above, having an Intel 530 graphics (and a GeForce 950m, non-functional) works again perfectly well using 'driver Intel', whereas 'driver modesetting' is absolutely unusable. > > >
--
----
Chavdar Ivanov


Home | Main Index | Thread Index | Old Index