Cannot run Xorg

Hi. I installed Freebsd (12.1). But then i installed Xorg. Then a tried to run Xorg but unsuccessfully. It sayed
Cannot run in framebuffer mode. Please specify busIDs .
What I did wrong?
 
Motherboard is MSI A68HM-E33 , monitor connected by VGA. Also I use Amd A6-7400k with integrated video card. I installed graphics/drm-kmod and added amdgpu to the /etc/rc.conf. But then Freebsd even didnt start.
 
Boot to single user mode and remove that entry from rc.conf. Then it'll boot normally again. Use misc/pastebinit to easily upload your /var/log/Xorg.0.log from the command line.
 
Is graphics/drm-kmod installed and can you post here the line calling the driver load in /etc/rc.conf ?

Based on this: "Failed to load module "ati" (module does not exist, 0)" looks like the driver may not be loaded.
 
I disabled graphics/drm-kmod. Because of when I ise it my OS doesn`t boot. Before
it I used kld_list="amdgpu ".
 
What OS version, 12.1? If so, that could be the issue. graphics/drm-kmod is built for 12.0 so if running 12.1, it will cause a boot fail. If you can build graphics/drm-kmod from ports on 12.1, I think that is a good fix for the time being.

So, you have no graphics driver loading so can't get into xorg. Not sure why the vesa driver isn't loading?

If I explained that wrong, someone please correct me.
 
So I must delete previous drm-kmod and run cd /usr/ports/graphics/drm-fbsd12.0-kmod/ && make install clean ?
And why I may use drm-fbsd12.0-kmod above drm-kmod .
 
Please POST the line in your /etc/rc.conf so we can see it. Your statement above where you say you added kld_list="amdgpu" to your /etc/rc.conf is incorrect. The way the line should be entered is in the documentation SirDice posted.
 
Because it is not connected. Look, when I turn on the driver for the video card, the computer does not load the operating system. I use UEFI.
 
Look, when I turn on the driver for the video card, the computer does not load the operating system. I use UEFI.

Does that happen with the rebuilt driver? (Check the modification time for the kernel modules: ls -lh /boot/modules/amdgpu* | head -n 1. If you built them from source and installed correctly, the timestamp will reflect that.)

What about "hw.syscons.disable=1" setting?
 
OP: we still haven't established the contents of /etc/rc.conf. Perhaps you can boot to single user mode and view the file? Worse case, you can write down what the line calling the driver is so we can see? Your example above is not the correct call to load the driver.
 
You don't need to provide a full path unless you want to distinguish between multiple modules with the same name. While we have legacy i915kms and radeonkms modules, we don't have amdgpu in base.
 
Back
Top