[SOLVED] How to using desktop environment xfc4 using 7950x

kyocooro

Member
Feb 10, 2023
2
0
6
When installing a desktop environment such as xfce4 or mate, if you are unable to use your integrated GPU to output to a display when using an AMD CPU Ryzen 7000 (7950x, 7900x, 7700x, etc.), try the following steps:

1. Upgrade to pve kernel version 6.0 or higher.

2. If you encounter the error "failed to start light display manager" (xfce4), edit the file
Code:
/usr/share/X11/xorg.conf.d/xorg.conf
and modify the following section:

Code:
Section "Device"
Identifier "Card0"
Driver "amdgpu"
BusID "PCI:18:0:0"
EndSection

Change "amdgpu" to "fbdev".

When using this configuration, you may experience some lag because the package
Code:
xserver-xorg-video-amdgpu
version 19.1.0-2 on Bulleyes is not compatible with Zen4 (Raphael iGPU) on Ryzen 7000 series CPUs.

3. If you want to use the amdgpu driver, you can build it from source by following these steps:
- Clone the repository from https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu.
- Build the library using the
Code:
./autogen.sh 
 make
command in the
Code:
xf86-video-amdgpu/
directory.
- Copy the built library (amdgpu_drv.so) to
Code:
/usr/local/lib/xorg/modules/drivers
.
- Change the driver in xorg.conf to "amdgpu".

Note: The attached amdgpu_drv.so file was built on kernel version 6.2, proxmox 7.3, but you should build it yourself

Code:
https://www.virustotal.com/gui/file-analysis/YTNhNGJiZjU2MzNlMzk1OTdjYWFkOTU1M2U4ODg4Nzk6MTY3OTcyNDA0Mg==
 

Attachments