New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
radeonkms loading results in black screen with RS780L #117
Comments
Does the workaround in #108 works ? |
The workaround in #108 does not seem to work for me. When I inlcude only |
This comment has been minimized.
This comment has been minimized.
Does temporary installation of x11-drivers/xf86-video-ati make a difference in this case? The driver may, may not be recommended for your hardware but still, I'd like to know the outcome. Thanks. |
I tried using the absolute path of the module, no difference for me. I guess the problem from the forums was the the module was no found? But for me the module is found and loaded. The system keeps running, too. I can login via ssh and verify that radeonkms was loaded, "only" the screen remains black. For the second suggestion: I had |
Thanks,
The person who, for a while, found it necessary to use an absolute path later found it not necessary to use an absolute path.
As root, or as a normal user? |
Thanks for staying with me.
After loading Installing kldstat
|
Could you test latest master please ? (With acfc459) |
No news, closing. |
Describe the bug
I cannot load radeokms on my machine. Whenever I load it, the screen turns black. I tried loading it via kldlist in
/etc/rc.conf
or viakldload
. I tried the binary package from pkg and building the module by hand via the ports collection. I also tried withhw.syscons.disable=1
or without it in/boot/loader.conf
.FreeBSD version
FreeBSD marc 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #0: Tue Aug 24 07:33:27 UTC 2021 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
PCI Info
pciconf -lv
hostb0@pci0:0:0:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x9600 subvendor=0x1043 subdevice=0x8388
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'RS780 Host Bridge'
class = bridge
subclass = HOST-PCI
pcib1@pci0:0:1:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1043 device=0x9602 subvendor=0x1043 subdevice=0x8388
vendor = 'ASUSTeK Computer Inc.'
device = 'AMD RS780/RS880 PCI to PCI bridge (int gfx)'
class = bridge
subclass = PCI-PCI
pcib2@pci0:0:7:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x9607 subvendor=0x1043 subdevice=0x8388
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'RS780/RS880 PCI to PCI bridge (PCIE port 3)'
class = bridge
subclass = PCI-PCI
pcib3@pci0:0:10:0: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x9609 subvendor=0x1043 subdevice=0x8388
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'RS780/RS880 PCI to PCI bridge (PCIE port 5)'
class = bridge
subclass = PCI-PCI
ahci0@pci0:0:17:0: class=0x010601 rev=0x00 hdr=0x00 vendor=0x1002 device=0x4391 subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]'
class = mass storage
subclass = SATA
ohci0@pci0:0:18:0: class=0x0c0310 rev=0x00 hdr=0x00 vendor=0x1002 device=0x4397 subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
class = serial bus
subclass = USB
ohci1@pci0:0:18:1: class=0x0c0310 rev=0x00 hdr=0x00 vendor=0x1002 device=0x4398 subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0 USB OHCI1 Controller'
class = serial bus
subclass = USB
ehci0@pci0:0:18:2: class=0x0c0320 rev=0x00 hdr=0x00 vendor=0x1002 device=0x4396 subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
class = serial bus
subclass = USB
ohci2@pci0:0:19:0: class=0x0c0310 rev=0x00 hdr=0x00 vendor=0x1002 device=0x4397 subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0/SB8x0/SB9x0 USB OHCI0 Controller'
class = serial bus
subclass = USB
ohci3@pci0:0:19:1: class=0x0c0310 rev=0x00 hdr=0x00 vendor=0x1002 device=0x4398 subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0 USB OHCI1 Controller'
class = serial bus
subclass = USB
ehci1@pci0:0:19:2: class=0x0c0320 rev=0x00 hdr=0x00 vendor=0x1002 device=0x4396 subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0/SB8x0/SB9x0 USB EHCI Controller'
class = serial bus
subclass = USB
intsmb0@pci0:0:20:0: class=0x0c0500 rev=0x3c hdr=0x00 vendor=0x1002 device=0x4385 subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SBx00 SMBus Controller'
class = serial bus
subclass = SMBus
atapci0@pci0:0:20:1: class=0x01018a rev=0x00 hdr=0x00 vendor=0x1002 device=0x439c subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0/SB8x0/SB9x0 IDE Controller'
class = mass storage
subclass = ATA
hdac1@pci0:0:20:2: class=0x040300 rev=0x00 hdr=0x00 vendor=0x1002 device=0x4383 subvendor=0x1043 subdevice=0x836c
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SBx00 Azalia (Intel HDA)'
class = multimedia
subclass = HDA
isab0@pci0:0:20:3: class=0x060100 rev=0x00 hdr=0x00 vendor=0x1002 device=0x439d subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0/SB8x0/SB9x0 LPC host controller'
class = bridge
subclass = PCI-ISA
pcib4@pci0:0:20:4: class=0x060401 rev=0x00 hdr=0x01 vendor=0x1002 device=0x4384 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SBx00 PCI to PCI Bridge'
class = bridge
subclass = PCI-PCI
ohci4@pci0:0:20:5: class=0x0c0310 rev=0x00 hdr=0x00 vendor=0x1002 device=0x4399 subvendor=0x1043 subdevice=0x8389
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0/SB8x0/SB9x0 USB OHCI2 Controller'
class = serial bus
subclass = USB
hostb1@pci0:0:24:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1600 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 15h Processor Function 0'
class = bridge
subclass = HOST-PCI
hostb2@pci0:0:24:1: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1601 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 15h Processor Function 1'
class = bridge
subclass = HOST-PCI
hostb3@pci0:0:24:2: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1602 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 15h Processor Function 2'
class = bridge
subclass = HOST-PCI
hostb4@pci0:0:24:3: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1603 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 15h Processor Function 3'
class = bridge
subclass = HOST-PCI
hostb5@pci0:0:24:4: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1604 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 15h Processor Function 4'
class = bridge
subclass = HOST-PCI
hostb6@pci0:0:24:5: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1605 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 15h Processor Function 5'
class = bridge
subclass = HOST-PCI
vgapci0@pci0:1:5:0: class=0x030000 rev=0x00 hdr=0x00 vendor=0x1002 device=0x9616 subvendor=0x1043 subdevice=0x8388
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'RS780L [Radeon 3000]'
class = display
subclass = VGA
hdac0@pci0:1:5:1: class=0x040300 rev=0x00 hdr=0x00 vendor=0x1002 device=0x960f subvendor=0x1043 subdevice=0x8388
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'RS780 HDMI Audio [Radeon 3000/3100 / HD 3200/3300]'
class = multimedia
subclass = HDA
xhci0@pci0:2:0:0: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1b21 device=0x1042 subvendor=0x1043 subdevice=0x8488
vendor = 'ASMedia Technology Inc.'
device = 'ASM1042 SuperSpeed USB Host Controller'
class = serial bus
subclass = USB
re0@pci0:3:0:0: class=0x020000 rev=0x09 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x1043 subdevice=0x8505
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
DRM KMOD version
drm-fbsd13-kmod 5.4.144.g20210908 drm-kmod g20190710_1
To Reproduce
Boot machine, login as root, execute
kldload radeonkms
Additional context
The problem occured after upgrading from 12.2-RELEASE to 13.0-RELEASE.
/var/log/messages
Oct 5 16:41:20 marc kernel: [drm] radeon kernel modesetting enabled.
Oct 5 16:41:20 marc kernel: drmn0: on vgapci0
Oct 5 16:41:20 marc kernel: vgapci0: child drmn0 requested pci_enable_io
Oct 5 16:41:20 marc syslogd: last message repeated 1 times
Oct 5 16:41:20 marc kernel: sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)!
Oct 5 16:41:20 marc kernel: [drm] initializing kernel modesetting (RS780 0x1002:0x9616 0x1043:0x8388 0x00).
Oct 5 16:41:20 marc kernel: [drm ERROR :radeon_atombios_init] Unable to find PCI I/O BAR; using MMIO for ATOM IIO
Oct 5 16:41:20 marc kernel: ATOM BIOS: B27732
Oct 5 16:41:20 marc kernel: drmn0: VRAM: 256M 0x00000000C0000000 - 0x00000000CFFFFFFF (256M used)
Oct 5 16:41:20 marc kernel: drmn0: GTT: 512M 0x00000000A0000000 - 0x00000000BFFFFFFF
Oct 5 16:41:20 marc kernel: Successfully added WC MTRR for [0xd0000000-0xdfffffff]: 0;
Oct 5 16:41:20 marc kernel: [drm] Detected VRAM RAM=256M, BAR=256M
Oct 5 16:41:20 marc kernel: [drm] RAM width 32bits DDR
Oct 5 16:41:20 marc kernel: [TTM] Zone kernel: Available graphics memory: 8228336 KiB
Oct 5 16:41:20 marc kernel: [TTM] Zone dma32: Available graphics memory: 2097152 KiB
Oct 5 16:41:20 marc kernel: [TTM] Initializing pool allocator
Oct 5 16:41:20 marc kernel: [drm] radeon: 256M of VRAM memory ready
Oct 5 16:41:20 marc kernel: [drm] radeon: 512M of GTT memory ready.
Oct 5 16:41:20 marc kernel: [drm] Loading RS780 Microcode
Oct 5 16:41:20 marc kernel: drmn0: successfully loaded firmware image 'radeon/RS780_pfp.bin'
Oct 5 16:41:20 marc kernel: drmn0: successfully loaded firmware image 'radeon/RS780_me.bin'
Oct 5 16:41:20 marc kernel: drmn0: successfully loaded firmware image 'radeon/R600_rlc.bin'
Oct 5 16:41:20 marc kernel: [drm] radeon: power management initialized
Oct 5 16:41:20 marc kernel: [drm] GART: num cpu pages 131072, num gpu pages 131072
Oct 5 16:41:20 marc kernel: [drm] PCIE GART of 512M enabled (table at 0x00000000C0040000).
Oct 5 16:41:20 marc kernel: drmn0: WB enabled
Oct 5 16:41:20 marc kernel: drmn0: fence driver on ring 0 use gpu addr 0x00000000a0000c00 and cpu addr 0x0xfffff800789f1c00
Oct 5 16:41:20 marc kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Oct 5 16:41:20 marc kernel: [drm] Driver supports precise vblank timestamp query.
Oct 5 16:41:20 marc kernel: drmn0: radeon: MSI limited to 32-bit
Oct 5 16:41:20 marc kernel: [drm] radeon: irq initialized.
Oct 5 16:41:20 marc kernel: [drm] ring test on 0 succeeded in 1 usecs
Oct 5 16:41:20 marc kernel: [drm] ib test on ring 0 succeeded in 0 usecs
Oct 5 16:41:20 marc kernel: [drm] Connector VGA-1: get mode from tunables:
Oct 5 16:41:20 marc kernel: [drm] - kern.vt.fb.modes.VGA-1
Oct 5 16:41:20 marc kernel: [drm] - kern.vt.fb.default_mode
Oct 5 16:41:20 marc kernel: [drm] Connector HDMI-A-1: get mode from tunables:
Oct 5 16:41:20 marc kernel: [drm] - kern.vt.fb.modes.HDMI-A-1
Oct 5 16:41:20 marc kernel: [drm] - kern.vt.fb.default_mode
Oct 5 16:41:20 marc kernel: [drm] Radeon Display Connectors
Oct 5 16:41:20 marc kernel: [drm] Connector 0:
Oct 5 16:41:20 marc kernel: [drm] VGA-1
Oct 5 16:41:20 marc kernel: [drm] DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
Oct 5 16:41:20 marc kernel: [drm] Encoders:
Oct 5 16:41:20 marc kernel: [drm] CRT1: INTERNAL_KLDSCP_DAC1
Oct 5 16:41:20 marc kernel: [drm] Connector 1:
Oct 5 16:41:20 marc kernel: [drm] HDMI-A-1
Oct 5 16:41:20 marc kernel: [drm] HPD3
Oct 5 16:41:20 marc kernel: [drm] DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
Oct 5 16:41:20 marc kernel: [drm] Encoders:
Oct 5 16:41:20 marc kernel: [drm] DFP3: INTERNAL_KLDSCP_LVTMA
Oct 5 16:41:20 marc kernel: [drm] Cannot find any crtc or sizes
Oct 5 16:41:20 marc kernel: [drm] Initialized radeon 2.50.0 20080528 for drmn0 on minor 0
Oct 5 16:41:21 marc kernel: [drm] Cannot find any crtc or sizes
The text was updated successfully, but these errors were encountered: