Can't get kde work!

In the working chipsets is listed,

AMDRadeon RX 580PolarisWorks11.2use "amdgpu" kernel module

It could also be RX 540 does not work with amdgpu...
 
In the working chipsets is listed,

AMDRadeon RX 580PolarisWorks11.2use "amdgpu" kernel module

It could also be RX 540 does not work with amdgpu...
I would expect it works, since astyle has almost the same card and it works. Also from googling I have the impression some have it working. Well you never know, but for now I assume the problems might be due to OP being a newbie to FreeBSD... ;)

Neptunus no insult`:cool:
We will try to get it work...
What says the output of
Code:
kldstat
and what is the error
Code:
startx
issues now?
 
I don't know about you, but i got it from banggood for a good price!
[Kr1,914.88]Yeston RX550-4G 4HDMI GA 4GB GDDR5 128Bit 1071MHz 6000MHz Graphics Card for Video Multi-Screen Series Computer Components from Computers & Office on banggood
I paid $110 USD for mine when I got it almost exactly 5 years ago on Amazon... I use amdgpu for it. :p Yeah, my screen does flicker a bit when the driver loads, but then the flickering stops, and resolution gets better. Man, prices for some things like GPU's pretty much doubled in the wake of the great GPU shortage of 2021...
 
# kld_list="radeonkms"
#
# kldload amdgpu
# kldload radeonkms
kldload: can't load radeonkms: module already loaded or in kernel
Oh, one more thing: You only need ONE driver, but not both. For /etc/rc.conf, use kld_list="amdgpu", and don't do anything else, don't kldload anything. These drivers compete for the same PCIE lanes on the mobo, and the kernel can only to so much to manage that. If it gets too messy, both drivers get fired from the job.
 
Not to brag. I own a cheap passively cooled,
'Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]'
Working fine
My xorg.conf:
Code:
Section "Device"
    Identifier "Card0"
    Option "AccelMethod" "EXA"
    #Option "AccelMethod" "glamor"
    #Option "MigrationHeuristic" "greedy"
    BusID "PC:1:0:0"
    Screen 0
EndSection

Section "Screen"
    Identifier "Screen0"
    Device       "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Depth     24
    EndSubSection
EndSection
In fact just the bus ID.
 
kldload: can't load radeonkms: module already loaded or in kernel

Which one did you load? radeonkms or amdgpu. If you are unsure, just reboot the machine and try again.

Otherwise, so long as it attached, then you are good to go in that regard (and can then add it to the rc.conf).

Finally, as the instructions suggest, you should add your user to the video group so it can access the device in /dev.

# pw groupmod video -m <username>

And finally $ startx should now work.
 
Which one did you load? radeonkms or amdgpu. If you are unsure, just reboot the machine and try again.

Otherwise, so long as it attached, then you are good to in that regard (and can add it to the rc.conf).

Finally, as the instructions suggest, you should add your user to the video group so it can access the device in /dev.

# pw groupmod video -m <username>

And finally $ startx should now work.
kld_list="amdgpu"
 
Thank you for post!
May i ask how i sfatly remove this pkg x11/kde5 and replace it with the minimal kde with only konsole installed. i want to be able to choose and install those freshport i want. there is tones of things with this pkg x11/kde5 that is to much that i dont ever want to use or will be using.
 
Last edited:
This isn't actually loading it. You are jumping ahead a bit; does amdgpu actually attach?

When you do # kldload amdgpu what happens? Perhaps a # kldstat will be useful to see what you have loaded.
# kldstat
Id Refs Address Size Name
1 109 0xffffffff80200000 1f30590 kernel
2 1 0xffffffff82132000 a158 cryptodev.ko
3 1 0xffffffff8213d000 5b93a0 zfs.ko
4 1 0xffffffff82c00000 417220 amdgpu.ko
5 2 0xffffffff82b21000 739e0 drm.ko
6 3 0xffffffff82b95000 5220 linuxkpi_gplv2.ko
7 4 0xffffffff82b9b000 62d8 dmabuf.ko
8 1 0xffffffff82ba2000 c758 ttm.ko
9 1 0xffffffff82baf000 a038 amdgpu_polaris12_mc_bin.ko
10 1 0xffffffff82bba000 6370 amdgpu_polaris12_pfp_2_bin.ko
11 1 0xffffffff82bc1000 6370 amdgpu_polaris12_me_2_bin.ko
12 1 0xffffffff82bc8000 4370 amdgpu_polaris12_ce_2_bin.ko
13 1 0xffffffff82bcd000 61f0 amdgpu_polaris12_rlc_bin.ko
14 1 0xffffffff83018000 42380 amdgpu_polaris12_mec_2_bin.ko
15 1 0xffffffff8305b000 42380 amdgpu_polaris12_mec2_2_bin.ko
16 1 0xffffffff82bd4000 5270 amdgpu_polaris12_sdma_bin.ko
17 1 0xffffffff82bda000 5270 amdgpu_polaris12_sdma1_bin.ko
18 1 0xffffffff8309e000 5db58 amdgpu_polaris12_uvd_bin.ko
19 1 0xffffffff830fc000 2ac78 amdgpu_polaris12_vce_bin.ko
20 1 0xffffffff83127000 21e30 amdgpu_polaris12_smc_bin.ko
21 1 0xffffffff82be0000 3378 acpi_wmi.ko
22 1 0xffffffff82be4000 3250 ichsmb.ko
23 1 0xffffffff82be8000 2180 smbus.ko
24 1 0xffffffff83149000 87098 if_iwlwifi.ko
25 1 0xffffffff82beb000 2340 uhid.ko
26 1 0xffffffff82bee000 4350 ums.ko
27 1 0xffffffff82bf3000 3380 usbhid.ko
28 1 0xffffffff82bf7000 31f8 hidbus.ko
29 1 0xffffffff82bfb000 4d00 ng_ubt.ko
30 3 0xffffffff831d1000 aac8 netgraph.ko
31 2 0xffffffff831dc000 a238 ng_hci.ko
32 2 0xffffffff831e7000 25a8 ng_bluetooth.ko
#
 
thank you for post!
mau i ask how i sfatly remove this pkg x11/kde5 and replace it with the minimal kde with only konsole installed. i want to be able to choose and install those freshport i want. there is tones of things with this pkg x11/kde5 that is to much that i dont ever want to use or will be using.
for removing kde5 and replacing it with minimal you can do
pkg remove kde5
pkg install -f plasma5-plasma
pkg install -f konsole
pkg autoremove
 
pkg remove x11/kde 5 or sudo pkg remove x11/kde5 is not removing this desktop enviroment, what am i doing wrong here. I want to saftely replace the x11/kde5 to x11/plasma5-plasma with the konsole and from there pkg install only what i will use.
 
pkg remove x11/kde 5 or sudo pkg remove x11/kde5 is not removing this desktop enviroment, what am i doing wrong here. I want to saftely replace the x11/kde5 to x11/plasma5-plasma with the konsole and from there pkg install only what i will use.
see my previous post. pkg remove kde5 removes only the metapackage. pkg autoremove then removes all dependencies that are not needed anymore (i.e. the "real" kde packages).
 
Finally!
Now everything runs fine! thanks to you all i have got everything up and running as it should run!
You guys are pure awesomeness and epic, i wont forget all the hard work and effort you have put down here to help.
And if i have offended someone, please forgive me with your greatness!
 
This isn't actually loading it. You are jumping ahead a bit; does amdgpu actually attach?

When you do # kldload amdgpu what happens? Perhaps a # kldstat will be useful to see what you have loaded.
When /etc/rc.conf actually has a line kld_list="amdgpu", there's no need to additionally kldload the same module after the computer boots. # kldstat | grep amdgpu should confirm that.

I'd know, I've done that. What do you think /etc/rc.conf is for?
 
Pro??? Funny, I have a non-pro Asus Radeon RX 550 4GB, and got Wayland and KDE to work... Read this thread: Thread amdgpu-polaris-freebsd13-rc1-module-not-found.79264/, and follow the Handbook.... Worked great for me... Just watch out for enabling dbus in /etc/rc.conf and mounting procfs in /etc/fstab.
Since this thread is solved, I am hijacking it.
You mentioned you have gotten KDE to work with Wayland. Can you give me a hint towards how you did this?
I can get other Compositors to work with Wayland, but KDE always stays black after splash screen.
 
When /etc/rc.conf actually has a line kld_list="amdgpu", there's no need to additionally kldload the same module after the computer boots. # kldstat | grep amdgpu should confirm that.

Indeed, at that point of testing which kernel module to use I didn't recommend writing to rc.conf and subsequently rebooting just yet, I was quite clear on that. Everyone was too keen to jump ahead (in all the excitement ;)) rather than taking it step by step.

For example, if you load a kernel module and it panics the machine, you really don't want it in your rc.conf to load automatically or you get into a loop and have to start frigging about with single user mode to undo the damage. I certainly don't want to put new FreeBSD users through that.

I'd know, I've done that. What do you think /etc/rc.conf is for?
*Not* for testing kernel modules for one.

But glad it all worked out in the end, if a little sloppy and risky.
 
Back
Top