Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

drm-legacy - failed to add FB for modeset #4

Open
rozle opened this issue Dec 28, 2018 · 3 comments
Open

drm-legacy - failed to add FB for modeset #4

rozle opened this issue Dec 28, 2018 · 3 comments

Comments

@rozle
Copy link

rozle commented Dec 28, 2018

Hi!

I have FreeBSD 12.0-RELEASE (amd64) installed on iMac 11,1 (late 2009), graphics card is vendor='Advanced Micro Devices, Inc. [AMD/ATI]'
device='RV770/M98L [Mobility Radeon HD 4850]'
I have installed Xorg and when I start it (I use startx from console) is just black screen. The same is when computer start and I have in/etc/rc.conf kld_list="/boot/modules/radeonkms.ko".

In the Xorg.log I have:
[ 505.376] failed to add FB for modeset
[ 505.376] (WW) RADEON(0): Failed to set mode on CRTC 0
[ 505.377] (EE) RADEON(0): Failed to enable any CRTC
I have installed drm-legacy-kmod and xf86-video-ati-legacy.

On the FreeBSD 11.2 I didn't have problem when I load driver from kernel but I had a problem with drm-legacy0kmod - black screen.
Now I am using scfb driver and it works.
And about boot:

sysctl machdep boothmetod shows UEFI

and
sysctl kern.vty shows vt

Thank you.

@rozle
Copy link
Author

rozle commented Dec 30, 2018

If help my pciconf -lv looks like:

hostb0@pci0:0:0:0: class=0x060000 card=0x00008086 chip=0xd1318086 rev=0x11 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor DMI'
class = bridge
subclass = HOST-PCI
pcib1@pci0:0:3:0: class=0x060400 card=0x00008086 chip=0xd1388086 rev=0x11 hdr=0x01
vendor = 'Intel Corporation'
device = 'Core Processor PCI Express Root Port 1'
class = bridge
subclass = PCI-PCI
none0@pci0:0:8:0: class=0x088000 card=0x00000000 chip=0xd1558086 rev=0x11 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor System Management Registers'
class = base peripheral
none1@pci0:0:8:1: class=0x088000 card=0x00000000 chip=0xd1568086 rev=0x11 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Semaphore and Scratchpad Registers'
class = base peripheral
none2@pci0:0:8:2: class=0x088000 card=0x00000000 chip=0xd1578086 rev=0x11 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor System Control and Status Registers'
class = base peripheral
none3@pci0:0:8:3: class=0x088000 card=0x00000000 chip=0xd1588086 rev=0x11 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Miscellaneous Registers'
class = base peripheral
none4@pci0:0:16:0: class=0x088000 card=0x00000000 chip=0xd1508086 rev=0x11 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor QPI Link'
class = base peripheral
none5@pci0:0:16:1: class=0x088000 card=0x00000000 chip=0xd1518086 rev=0x11 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor QPI Routing and Protocol Registers'
class = base peripheral
uhci0@pci0:0:26:0: class=0x0c0300 card=0x72708086 chip=0x3b3b8086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset USB Universal Host Controller'
class = serial bus
subclass = USB
ehci0@pci0:0:26:7: class=0x0c0320 card=0x72708086 chip=0x3b3c8086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset USB2 Enhanced Host Controller'
class = serial bus
subclass = USB
hdac1@pci0:0:27:0: class=0x040300 card=0x72708086 chip=0x3b568086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset High Definition Audio'
class = multimedia
subclass = HDA
pcib2@pci0:0:28:0: class=0x060400 card=0x72708086 chip=0x3b428086 rev=0x06 hdr=0x01
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset PCI Express Root Port 1'
class = bridge
subclass = PCI-PCI
pcib3@pci0:0:28:1: class=0x060400 card=0x72708086 chip=0x3b448086 rev=0x06 hdr=0x01
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset PCI Express Root Port 2'
class = bridge
subclass = PCI-PCI
pcib4@pci0:0:28:2: class=0x060400 card=0x72708086 chip=0x3b468086 rev=0x06 hdr=0x01
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset PCI Express Root Port 3'
class = bridge
subclass = PCI-PCI
pcib6@pci0:0:28:3: class=0x060400 card=0x72708086 chip=0x3b488086 rev=0x06 hdr=0x01
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset PCI Express Root Port 4'
class = bridge
subclass = PCI-PCI
pcib7@pci0:0:28:4: class=0x060400 card=0x72708086 chip=0x3b4a8086 rev=0x06 hdr=0x01
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset PCI Express Root Port 5'
class = bridge
subclass = PCI-PCI
uhci1@pci0:0:29:0: class=0x0c0300 card=0x72708086 chip=0x3b368086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset USB Universal Host Controller'
class = serial bus
subclass = USB
ehci1@pci0:0:29:7: class=0x0c0320 card=0x72708086 chip=0x3b348086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset USB2 Enhanced Host Controller'
class = serial bus
subclass = USB
pcib8@pci0:0:30:0: class=0x060401 card=0x72708086 chip=0x244e8086 rev=0xa6 hdr=0x01
vendor = 'Intel Corporation'
device = '82801 PCI Bridge'
class = bridge
subclass = PCI-PCI
isab0@pci0:0:31:0: class=0x060100 card=0x72708086 chip=0x3b028086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = 'P55 Chipset LPC Interface Controller'
class = bridge
subclass = PCI-ISA
ahci0@pci0:0:31:2: class=0x010601 card=0x72708086 chip=0x3b228086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset 6 port SATA AHCI Controller'
class = mass storage
subclass = SATA
none6@pci0:0:31:3: class=0x0c0500 card=0x72708086 chip=0x3b308086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset SMBus Controller'
class = serial bus
subclass = SMBus
none7@pci0:0:31:6: class=0x118000 card=0x00008086 chip=0x3b328086 rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = '5 Series/3400 Series Chipset Thermal Subsystem'
class = dasp
vgapci0@pci0:1:0:0: class=0x030000 card=0x00b5106b chip=0x944a1002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'RV770/M98L [Mobility Radeon HD 4850]'
class = display
subclass = VGA
hdac0@pci0:1:0:1: class=0x040300 card=0xaa30106b chip=0xaa301002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'RV770 HDMI Audio [Radeon HD 4850/4870]'
class = multimedia
subclass = HDA
bge0@pci0:2:0:0: class=0x020000 card=0x168414e4 chip=0x168414e4 rev=0x10 hdr=0x00
vendor = 'Broadcom Inc. and subsidiaries'
device = 'NetXtreme BCM5764M Gigabit Ethernet PCIe'
class = network
subclass = ethernet
ath0@pci0:3:0:0: class=0x028000 card=0x008f106b chip=0x002a168c rev=0x01 hdr=0x00
vendor = 'Qualcomm Atheros'
device = 'AR928X Wireless Network Adapter (PCI-Express)'
class = network
pcib5@pci0:4:0:0: class=0x060400 card=0x00000000 chip=0x823e104c rev=0x01 hdr=0x01
vendor = 'Texas Instruments'
device = 'XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express]'
class = bridge
subclass = PCI-PCI
fwohci0@pci0:5:0:0: class=0x0c0010 card=0x00000000 chip=0x823f104c rev=0x01 hdr=0x00
vendor = 'Texas Instruments'
device = 'XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express]'
class = serial bus
subclass = FireWire
hostb1@pci0:255:0:0: class=0x060000 card=0x80868086 chip=0x2c518086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor QuickPath Architecture Generic Non-Core Registers'
class = bridge
subclass = HOST-PCI
hostb2@pci0:255:0:1: class=0x060000 card=0x80868086 chip=0x2c818086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor QuickPath Architecture System Address Decoder'
class = bridge
subclass = HOST-PCI
hostb3@pci0:255:2:0: class=0x060000 card=0x80868086 chip=0x2c908086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor QPI Link 0'
class = bridge
subclass = HOST-PCI
hostb4@pci0:255:2:1: class=0x060000 card=0x80868086 chip=0x2c918086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor QPI Physical 0'
class = bridge
subclass = HOST-PCI
hostb5@pci0:255:3:0: class=0x060000 card=0x80868086 chip=0x2c988086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller'
class = bridge
subclass = HOST-PCI
hostb6@pci0:255:3:1: class=0x060000 card=0x80868086 chip=0x2c998086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller Target Address Decoder'
class = bridge
subclass = HOST-PCI
hostb7@pci0:255:3:4: class=0x060000 card=0x80868086 chip=0x2c9c8086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller Test Registers'
class = bridge
subclass = HOST-PCI
hostb8@pci0:255:4:0: class=0x060000 card=0x80868086 chip=0x2ca08086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller Channel 0 Control Registers'
class = bridge
subclass = HOST-PCI
hostb9@pci0:255:4:1: class=0x060000 card=0x80868086 chip=0x2ca18086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller Channel 0 Address Registers'
class = bridge
subclass = HOST-PCI
hostb10@pci0:255:4:2: class=0x060000 card=0x80868086 chip=0x2ca28086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller Channel 0 Rank Registers'
class = bridge
subclass = HOST-PCI
hostb11@pci0:255:4:3: class=0x060000 card=0x80868086 chip=0x2ca38086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers'
class = bridge
subclass = HOST-PCI
hostb12@pci0:255:5:0: class=0x060000 card=0x80868086 chip=0x2ca88086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller Channel 1 Control Registers'
class = bridge
subclass = HOST-PCI
hostb13@pci0:255:5:1: class=0x060000 card=0x80868086 chip=0x2ca98086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller Channel 1 Address Registers'
class = bridge
subclass = HOST-PCI
hostb14@pci0:255:5:2: class=0x060000 card=0x80868086 chip=0x2caa8086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller Channel 1 Rank Registers'
class = bridge
subclass = HOST-PCI
hostb15@pci0:255:5:3: class=0x060000 card=0x80868086 chip=0x2cab8086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = 'Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers'
class = bridge
subclass = HOST-PCI

@johalun
Copy link
Member

johalun commented Aug 27, 2019

Hey! Do you still have this problem? (try again with updated packages if you have not)

@rozle
Copy link
Author

rozle commented Aug 28, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants