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

christhegeek

Active Member

Reaction score: 17
Messages: 124

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 ?
 

tuxador

Member

Reaction score: 7
Messages: 24

1- install drm-kmod
2- put ' kld_list="amdgpu" ' to your /etc/rc.conf
3- reboot
 
OP
christhegeek

christhegeek

Active Member

Reaction score: 17
Messages: 124

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
 

tuxador

Member

Reaction score: 7
Messages: 24

hit CTRL+ALT+F2 to access another teminal.
if not possible reboot freebsd on single user mode.
 
OP
christhegeek

christhegeek

Active Member

Reaction score: 17
Messages: 124

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.
 

memreflect

Member

Reaction score: 54
Messages: 99

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.
 

sidetone

Daemon

Reaction score: 460
Messages: 1,213

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

christhegeek

Active Member

Reaction score: 17
Messages: 124

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.
 
OP
christhegeek

christhegeek

Active Member

Reaction score: 17
Messages: 124

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.
 
OP
christhegeek

christhegeek

Active Member

Reaction score: 17
Messages: 124

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.
 
OP
christhegeek

christhegeek

Active Member

Reaction score: 17
Messages: 124

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.
 
Top