1 |
On Thursday, 26 December 2019 08:43:02 GMT Adam Carter wrote: |
2 |
> Try creating an xorg.conf |
3 |
|
4 |
You shouldn't need an xorg.conf today under most basic cases. From what the |
5 |
OP reports below the kernel modesetting is not working, which makes me think |
6 |
some setting is probably missing in the kernel. |
7 |
|
8 |
|
9 |
> On Thursday, December 26, 2019, gevisz <gevisz@×××××.com> wrote: |
10 |
> > I have installed Gentoo on my second desktop computer |
11 |
> > with Gigabyte MA790FXT-UD5P motherboard, AMD |
12 |
> > Phenome II X4 945 processor, and AMD/ATI Radion |
13 |
> > HD 4770 video card. However, currently I have only |
14 |
> > the command line: startx fails to start X11 reporting |
15 |
> > the following error: |
16 |
> > ... |
17 |
> > (II) [KMS] drm report modesetting isn't supported. |
18 |
> > (EE) Fatal server error: |
19 |
> > (EE) no screens found (EE) |
20 |
> > ... |
21 |
> > (EE) Server terminated with error (1). Closing log file. |
22 |
> > ... |
23 |
> > xinit: unable to connect to X server: Bad file descriptor. |
24 |
> > and this is despite of the fact that I configured 4.19.86 |
25 |
> > gentoo kernel following instructions from |
26 |
> > https://wiki.gentoo.org/wiki/Xorg/Guide |
27 |
> > and |
28 |
> > https://wiki.gentoo.org/wiki/Radeon#Feature_support |
29 |
> > Namely, I set |
30 |
> > EXTRA_FIRMWARE_DIR = /lib/firmware |
31 |
> > EXTRA_FIRMWARE = radeon/R700_rlc.bin, RV740_smc.bin, and RV710_uvd.bin |
32 |
> > DRM = y and DRM_RADEON = y as described in the second link above. |
33 |
> > (I have tried several variations but always got the above |
34 |
> > error message after startx.) |
35 |
|
36 |
I have a slightly older card than yours in a laptop: |
37 |
|
38 |
"ATI Mobility Radeon HD 4670" (ChipID = 0x9488) AMD RV730 |
39 |
|
40 |
These kernel .config entries may be needed in yours too: |
41 |
|
42 |
$ grep -i DRM /usr/src/linux/.config |
43 |
CONFIG_DRM=y |
44 |
# CONFIG_DRM_DP_AUX_CHARDEV is not set |
45 |
# CONFIG_DRM_DEBUG_MM is not set |
46 |
# CONFIG_DRM_DEBUG_SELFTEST is not set |
47 |
CONFIG_DRM_KMS_HELPER=y |
48 |
CONFIG_DRM_KMS_FB_HELPER=y |
49 |
CONFIG_DRM_FBDEV_EMULATION=y |
50 |
CONFIG_DRM_FBDEV_OVERALLOC=100 |
51 |
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set |
52 |
# CONFIG_DRM_DP_CEC is not set |
53 |
CONFIG_DRM_TTM=y |
54 |
# CONFIG_DRM_I2C_CH7006 is not set |
55 |
# CONFIG_DRM_I2C_SIL164 is not set |
56 |
# CONFIG_DRM_I2C_NXP_TDA998X is not set |
57 |
# CONFIG_DRM_I2C_NXP_TDA9950 is not set |
58 |
CONFIG_DRM_RADEON=y |
59 |
CONFIG_DRM_RADEON_USERPTR=y |
60 |
# CONFIG_DRM_AMDGPU is not set |
61 |
# CONFIG_DRM_NOUVEAU is not set |
62 |
# CONFIG_DRM_I915 is not set |
63 |
CONFIG_DRM_VGEM=y |
64 |
# CONFIG_DRM_VKMS is not set |
65 |
# CONFIG_DRM_VMWGFX is not set |
66 |
# CONFIG_DRM_GMA500 is not set |
67 |
CONFIG_DRM_UDL=m |
68 |
# CONFIG_DRM_AST is not set |
69 |
# CONFIG_DRM_MGAG200 is not set |
70 |
# CONFIG_DRM_CIRRUS_QEMU is not set |
71 |
# CONFIG_DRM_QXL is not set |
72 |
# CONFIG_DRM_BOCHS is not set |
73 |
# CONFIG_DRM_VIRTIO_GPU is not set |
74 |
CONFIG_DRM_PANEL=y |
75 |
CONFIG_DRM_BRIDGE=y |
76 |
CONFIG_DRM_PANEL_BRIDGE=y |
77 |
# CONFIG_DRM_ANALOGIX_ANX78XX is not set |
78 |
# CONFIG_DRM_HISI_HIBMC is not set |
79 |
# CONFIG_DRM_TINYDRM is not set |
80 |
# CONFIG_DRM_LEGACY is not set |
81 |
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y |
82 |
# CONFIG_DRM_VBOXVIDEO is not set |
83 |
|
84 |
Also in make.conf I have: |
85 |
|
86 |
VIDEO_CARDS="radeon r600" |
87 |
|
88 |
Rebuild your kernel, xorg and mesa, if you change any of the the above, |
89 |
reboot, check dmesg to make sure your radeon firmware is loading and the |
90 |
kernel is not reporting any errors on your card, then startx and look at /var/ |
91 |
log/Xorg.0.log to see what is being reported. |
92 |
|
93 |
HTH. |
94 |
-- |
95 |
Regards, |
96 |
Mick |