Can't run xorg on ryzen 3 , vega 3 laptop....

Can't run xorg on ryzen 3 , vega 3 laptop....
I tried with disabling syscons parameter and it worked I managed to start it 2-3 times while pressing some buttons...but never again.
Xorg doesn't start if I don't disable syscons because of efi and amd gpu.
When I disable syscons then I got some framebuffer details and it freezes there , can't switch terminal can't do anything.
Is there a way I can fix that ?
 
I wish it would work only by doing that !
It doesn't even runs that way
I have to disable syscons to make xorg run
I made it run but after 2-3 times it freezes in framebuffer details and never start, I don't know maybe its the sddm I installed next with slim it booted I don't know if it is that.


1- install drm-kmod
2- put ' kld_list="amdgpu" ' to your /etc/rc.conf
3- reboot
 
I have already tried to boot freebsd in single user mode ctrl+alt+f2,3,4 doesn't work at all
but when i press the power button it shutdown .
Can you tell me what is the equivalent of linux amdgpu.dc=0 or 1 for freebsd ? maybe something has to do with it ?
When i have not disabled syscons it doesn't start xorg but i have terminal , after i disable syscons it stucks no terminals nothing !
It stucks after the efi framebuffer information.
If you find a solution i'm making freebsd my daily driver , i want to switch from linux but i don't have to use linux on my laptop and freebsd on my desktop either go with freebsd and works on my devices or stay with linux.
I'm a linux user since 1999.

hit CTRL+ALT+F2 to access another teminal.
if not possible reboot freebsd on single user mode.
 
I have already tried to boot freebsd in single user mode ctrl+alt+f2,3,4 doesn't work at all
In single-user mode, there are no other virtual TTYs, so the hotkeys for switching won't work. Once you're in multi-user mode, you can use Ctrl+Alt+F2,3,4 to switch to a different virtual TTY.

1- install drm-kmod
2- put ' kld_list="amdgpu" ' to your /etc/rc.conf
3- reboot
I wish it would work only by doing that !
It doesn't even runs that way
Not sure whether you mean Xorg or syscons/vt when you say "it" doesn't run. However, does it work if you list the path explicitly? The GENERIC kernel for 12.x and earlier is built with DRM modules included by default, so you are probably loading /boot/kernel/amdgpu.ko when you want to load /boot/modules/amdgpu.ko from drm-kmod instead. You may also need to load /boot/modules/drm.ko before that since /boot/kernel/drm.ko may be causing trouble as well:
Code:
kld_list="/boot/modules/drm.ko /boot/modules/amdgpu.ko"

I have to disable syscons to make xorg run
When you say "syscons", you are referring to hw.syscons.disable=1 in /boot/loader.conf, right? I ask because syscons(4) is the old TTY driver and newer systems should be using vt(4) (i.e. kern.vty=vt in loader.conf; this should be used by default without you needing to set it explicitly).

This post may be helpful for your Vega 3 (start reading the code section at the line containing ## Graphics driver amdgpu). I'm sure you can use pkg(8) instead of building from source using make install clean.

If none of this info helps you to get Xorg working, it would also be helpful to see the relevant parts of your /var/log/Xorg.0.log dealing with video.
 
Yes i know in single mode there are no terminals, but in multiuser mode i can't switch to a terminal either !
no switching to a terminal means i can't configure any configuration files.
Yes im disabling syscons with hw.syscons.disable=1 i tried that and booted one or two times then nothing .
Something has to do with efi framebuffer and amdgpu
---I haven't tried to load /boot/modules/drm.ko i will try it.
I have another idea if i use radeon would be more compatible ???
Also what if i don't have the syscons disable parameter ? can i have xorg in that way and how?
When i have not set syscons disable i have terminal and it works normally but when i try to start xorg it doesn't start and show some error messages including something like i need to put some address for framebuffer .
---How i can install freebsd without efi ?? what kind of partition i can use instead of efi partition ?? for example on linux i can use an ext2,ext4 partition and mount it on /boot

----The most strange thing is that in one installation i managed to start slim and openbox at least two times , i will try with freebsd 13 and devel driver maybe i have some better luck ?
---The positives are that wifi sound works out of the box and touchpad works fine with iichid build from source.
 
Last year i don't my rx580 would even work normally :)
Yes vega has problems if i had no efi i would have no problems at all, i wish my laptop could boot from non efi partitions...maybe it can but i don't know how to install freebsd with no efi !
I mean what type of partition i have to make instead of efi ?? is there freebsd-boot or something ?

Last year, someone said either Ryzen 3 or 3,000 series didn't work yet.

" href="/index.php?threads/
Last year, someone said either Ryzen 3 or 3,000 series didn't work yet.

/">Thread
Last year, someone said either Ryzen 3 or 3,000 series didn't work yet.

 
I found a post in this forum that says that i need to find a device address with pciconf -lv and enter the address in the file /usr/local/share/pciids/pci.ids
....to be able to run xorg without disabling syscons !!
I i don't have syscons disabled i can't run Xorg , it gives me a message that it needs to input some framebuffer addresses !
If i have hw.sysons.disable=1 then xorg stuck on EFI Framework Information...... i succeed sometimes to boot it but then i was not able to boot anymore it has problems disabling syscons also i have no access to a terminal .
----Can anyone help me how and what addresses this file needs for my graphics card ?????????
Is anyone here that knows how to install it on my ryzen3 vega3 laptop touchpad,sound,wifi works fine but i have this problem only .
I don't see much support to be sincere every problem i had i solved myself.
 
I found a post in this forum that says that i need to find a device address with pciconf -lv and enter the address in the file /usr/local/share/pciids/pci.ids
....to be able to run xorg without disabling syscons !!
I i don't have syscons disabled i can't run Xorg , it gives me a message that it needs to input some framebuffer addresses !
If i have hw.sysons.disable=1 then xorg stuck on EFI Framework Information...... i succeed sometimes to boot it but then i was not able to boot anymore it has problems disabling syscons also i have no access to a terminal .
----Can anyone help me how and what addresses this file needs for my graphics card ?????????






In single-user mode, there are no other virtual TTYs, so the hotkeys for switching won't work. Once you're in multi-user mode, you can use Ctrl+Alt+F2,3,4 to switch to a different virtual TTY.


Not sure whether you mean Xorg or syscons/vt when you say "it" doesn't run. However, does it work if you list the path explicitly? The GENERIC kernel for 12.x and earlier is built with DRM modules included by default, so you are probably loading /boot/kernel/amdgpu.ko when you want to load /boot/modules/amdgpu.ko from drm-kmod instead. You may also need to load /boot/modules/drm.ko before that since /boot/kernel/drm.ko may be causing trouble as well:
Code:
kld_list="/boot/modules/drm.ko /boot/modules/amdgpu.ko"


When you say "syscons", you are referring to hw.syscons.disable=1 in /boot/loader.conf, right? I ask because syscons(4) is the old TTY driver and newer systems should be using vt(4) (i.e. kern.vty=vt in loader.conf; this should be used by default without you needing to set it explicitly).

This post may be helpful for your Vega 3 (start reading the code section at the line containing ## Graphics driver amdgpu). I'm sure you can use pkg(8) instead of building from source using make install clean.

If none of this info helps you to get Xorg working, it would also be helpful to see the relevant parts of your /var/log/Xorg.0.log dealing with video.
 
I will give it another try (i tried so many times already) i don't know why he succeed but i can't !
I wonder what would be if i haven't used efi partition and created a freebsd-boot partition would be able to boot or not ?
I'm afraid it won't work , this is so bad when you fail and i have invested much time learning freebsd i want to make a change i'm using linux since 1999
I don't care about games if i can run some pixelated games from wine steam or linux version of steam i would be more than satisfied.
I had it running on my previous laptop and with very good performance also on my pc it performs pretty well !

Someone managed to have video on laptop with similar spec (on 13-current): https://wiki.freebsd.org/Laptops/Motile_M141
 
It worked !
:)
LOL
Maybe it helped that i made a xorg -configure ?? i'm not sure !
But it worked fine !
The only that is painful with FreeBSD is the package download speed ! They download slowly and i have a 50MBPS internet connection , i even switched to europe but that didn't helped much
It could be faster

Someone managed to have video on laptop with similar spec (on 13-current): https://wiki.freebsd.org/Laptops/Motile_M141
 
Just about a year ago (Summer 2020), my old computer broke and I had to replace mainboard and some other stuff. I ended up with an AMD 3200G and decided for FreeBSD as my new main OS (I had prior used it only in virtualbox but liked it). Since this is my only machine at home, I went to a friend, downloaded a minimal FreeBSD (12.x or 13 - don't remember) on a USB stick and went home. But it would not even boot without crashing. Given the USB stick was all I had and no internet access or anything else... I mounted my bicycle once again and this time put a debian buster on my USB stick. I did not want Linux but I needed *something*... Buster at least managed to boot and get a system in text only mode installed. And with internet connection working, then I could (in 2 days work) upgrade it to bullseye, where finally also xwayland/gnome started to work with the on chip graphics of my new CPU.
Why do I tell this story here? Because all the advice I found in previous posts assumed, that you get into an at least minimal operable state, where you can tweak config files etc.
And I think, even if one can manage to get it to work with tweaking, it is not good enough and people like me who have to cold-install and fail, it is an unsurmountable obstacle.
 
I begin with FreeBSD about at the 2019 more seriously at 2020 , right now its perfect and rock stable it wasn't like that when i started !
Just about a year ago (Summer 2020), my old computer broke and I had to replace mainboard and some other stuff. I ended up with an AMD 3200G and decided for FreeBSD as my new main OS (I had prior used it only in virtualbox but liked it). Since this is my only machine at home, I went to a friend, downloaded a minimal FreeBSD (12.x or 13 - don't remember) on a USB stick and went home. But it would not even boot without crashing. Given the USB stick was all I had and no internet access or anything else... I mounted my bicycle once again and this time put a debian buster on my USB stick. I did not want Linux but I needed *something*... Buster at least managed to boot and get a system in text only mode installed. And with internet connection working, then I could (in 2 days work) upgrade it to bullseye, where finally also xwayland/gnome started to work with the on chip graphics of my new CPU.
Why do I tell this story here? Because all the advice I found in previous posts assumed, that you get into an at least minimal operable state, where you can tweak config files etc.
And I think, even if one can manage to get it to work with tweaking, it is not good enough and people like me who have to cold-install and fail, it is an unsurmountable obstacle.
 
Code:
kld_list="/boot/modules/drm.ko /boot/modules/amdgpu.ko"

ln a desktop with AMD ryzen 3200G with built in radeon Vega8 graphics I experienced this problem, was redirected here, applied the as given by memreflect console and xfce works now. Thank you.
 
Some errors after fixing the startx error, related to the kld_list code

XFCE requires root privileges, Chromium requires to be started as a user, if I logout I get back to the console from where Chromium can't be launched, launched it as root from the terminal with a --no-sandbox flag which gave the following warning:

# chrome --no-sandbox
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
 
Back
Top