Cannot run in framebuffer mode.

My laptop CPU is AMD Ryzen 3700U and GPU is AMD VEGA 10!

startx is failed!

I installed for drm-kmod-12 and kldload amdgpu .. can't start.
 
can you find anything about drm information in your dmesg,I think that is drm problem, Svn checkout FreeBSD Svn and compile it,I will give your a thread for this written by me
 
I suspect this is your issue but I don't have an AMD GPU so have no experience setting them up:
Code:
[  2551.827] (II) LoadModule: "ati"
[  2551.827] (WW) Warning, couldn't open module ati
[  2551.827] (II) UnloadModule: "ati"
[  2551.827] (II) Unloading ati
[  2551.827] (EE) Failed to load module "ati" (module does not exist, 0)

Also, did you read the FreeBSD graphics wiki? There is a bit about AMD graphics and the EFI framebuffer:
It is important to note that there is currently a conflict with both AMD drivers and the EFI frambuffer. The current workaround, when booting via UEFI on these systems, is to disable the framebuffer via /boot/loader.conf:
hw.syscons.disable=1
This will have the side effect of there being no console output until either the amdgpu or radeonkms kernel driver is loaded. Please see this Github issue for more context.

Maybe this is related to your issue?
 
I suspect this is your issue but I don't have an AMD GPU so have no experience setting them up:
Code:
[  2551.827] (II) LoadModule: "ati"
[  2551.827] (WW) Warning, couldn't open module ati
[  2551.827] (II) UnloadModule: "ati"
[  2551.827] (II) Unloading ati
[  2551.827] (EE) Failed to load module "ati" (module does not exist, 0)

Also, did you read the FreeBSD graphics wiki? There is a bit about AMD graphics and the EFI framebuffer:


Maybe this is related to your issue?
Yes, i create new bug in bugzilla! and post other thread in forum!
 
Thanks all! The question has resolved!

Code:
$ cd /home/zoujiaqing
$ pkg install git
$ clone https://github.com/FreeBSDDesktop/kms-drm.git
$ cd kms-drm/
$ git checkout kms-drm-v5.0-fbsd12.1
$ make
$ sudo make install
$ sudo reboot

PS: The kms-drm 4.16 has bug!
 
$ git checkout kms-drm-v5.0-fbsd12.1

that part gives me

error: pathspec 'kms-drm-v5.0-fbsd12.1' did not match any file(s) know to git

'
 
The branch is called drm-v5.0-fbsd12.1, try this one rather than kms-drm-v5.0-fbsd12.1.

It took a while to compile, but that worked as far getting the module built.

I rebooted and I got a graphical environment, but I think it's loading the vesa driver and not amdgpu for my RX580. Does it look like that to you? Here's my /varl/log/Xorg.0.log
 

Attachments

  • Xorg.0.log.txt
    42.7 KB · Views: 138
So, I did that, and this time the graphical environment didn't load at all. If I run startx it tells me that there is no screen found.

Here's my log again
 

Attachments

  • log.txt
    4 KB · Views: 159
What th...? nope, it wasn't installed. I have NO clue at what point I uninstalled it, but that seems to have done the trick.

Thanks a lot for your help everyone!
 
Back
Top