Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Radeon RV730-drm report modesetting isn't supported [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Ska`
n00b
n00b


Joined: 25 Sep 2004
Posts: 74

PostPosted: Tue Jun 23, 2015 7:05 pm    Post subject: Radeon RV730-drm report modesetting isn't supported [SOLVED] Reply with quote

It's not the first time I have to deal with this error but this time I can't fix it.

With 3.10.41-r1 everything works, it's more than a year that I try to update the kernel but still get this error.

/var/log/Xorg.1.log with 3.10.41-r1 (highlights are missing lines with 4.0.5)

Quote:
[ 9.995]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[ 9.995] X Protocol Version 11, Revision 0
[ 9.995] Build Operating System: Linux 3.10.41-gentoo-r1 x86_64 Gentoo
[ 9.995] Current Operating System: Linux lynnfield 3.10.41-gentoo-r1 #2 SMP PREEMPT Wed Feb 4 01:53:56 CET 2015 x86_64
[ 9.995] Kernel command line: BOOT_IMAGE=gentoo-3.10.41 ro root=807
[ 9.995] Build Date: 14 April 2015 02:21:32AM
[ 9.995]
[ 9.995] Current version of pixman: 0.32.6
[ 9.995] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 9.995] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 9.996] (==) Log file: "/var/log/Xorg.1.log", Time: Tue Jun 23 20:10:11 2015
[ 10.000] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 10.000] (==) No Layout section. Using the first Screen section.
[ 10.000] (==) No screen section available. Using defaults.
[ 10.000] (**) |-->Screen "Default Screen Section" (0)
[ 10.000] (**) | |-->Monitor "<default monitor>"
[ 10.001] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 10.001] (==) Automatically adding devices
[ 10.001] (==) Automatically enabling devices
[ 10.001] (==) Automatically adding GPU devices
[ 10.004] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 10.004] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 10.004] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 10.004] (II) Loader magic: 0x805c60
[ 10.004] (II) Module ABI versions:
[ 10.004] X.Org ANSI C Emulation: 0.4
[ 10.004] X.Org Video Driver: 18.0
[ 10.004] X.Org XInput driver : 21.0
[ 10.004] X.Org Server Extension : 8.0
[ 10.004] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 10.006] (--) PCI:*(0:1:0:0) 1002:9490:1682:2931 rev 0, Mem @ 0xd0000000/268435456, 0xfbae0000/65536, I/O @ 0x0000b000/256, BIOS @ 0x????????/131072
[ 10.006] (II) "glx" will be loaded by default.
[ 10.006] (II) LoadModule: "dri2"
[ 10.006] (II) Module "dri2" already built-in
[ 10.006] (II) LoadModule: "glamoregl"
[ 10.008] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[ 10.027] (EE) Failed to load /usr/lib64/xorg/modules/libglamoregl.so: /usr/lib64/xorg/modules/libglamoregl.so: undefined symbol: _glapi_tls_Context
[ 10.027] (II) UnloadModule: "glamoregl"
[ 10.027] (II) Unloading glamoregl
[ 10.027] (EE) Failed to load module "glamoregl" (loader failed, 7)
[ 10.027] (II) LoadModule: "glx"
[ 10.027] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 10.030] (II) Module glx: vendor="X.Org Foundation"
[ 10.030] compiled for 1.16.4, module version = 1.0.0
[ 10.030] ABI class: X.Org Server Extension, version 8.0
[ 10.030] (==) AIGLX enabled
[ 10.030] (==) Matched ati as autoconfigured driver 0
[ 10.030] (==) Matched ati as autoconfigured driver 1
[ 10.030] (==) Matched modesetting as autoconfigured driver 2
[ 10.030] (==) Matched fbdev as autoconfigured driver 3
[ 10.030] (==) Matched vesa as autoconfigured driver 4
[ 10.030] (==) Assigned the driver to the xf86ConfigLayout
[ 10.030] (II) LoadModule: "ati"
[ 10.031] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[ 10.031] (II) Module ati: vendor="X.Org Foundation"
[ 10.031] compiled for 1.16.4, module version = 7.5.0
[ 10.031] Module class: X.Org Video Driver
[ 10.031] ABI class: X.Org Video Driver, version 18.0
[ 10.031] (II) LoadModule: "radeon"
[ 10.031] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[ 10.035] (II) Module radeon: vendor="X.Org Foundation"
[ 10.035] compiled for 1.16.4, module version = 7.5.0
[ 10.035] Module class: X.Org Video Driver
[ 10.035] ABI class: X.Org Video Driver, version 18.0
[ 10.035] (II) LoadModule: "modesetting"
[ 10.036] (WW) Warning, couldn't open module modesetting
[ 10.036] (II) UnloadModule: "modesetting"
[ 10.036] (II) Unloading modesetting
[ 10.036] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 10.036] (II) LoadModule: "fbdev"
[ 10.036] (WW) Warning, couldn't open module fbdev
[ 10.036] (II) UnloadModule: "fbdev"
[ 10.036] (II) Unloading fbdev
[ 10.036] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 10.036] (II) LoadModule: "vesa"
[ 10.036] (WW) Warning, couldn't open module vesa
[ 10.036] (II) UnloadModule: "vesa"
[ 10.036] (II) Unloading vesa
[ 10.036] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 10.036] (II) RADEON: Driver for ATI Radeon chipsets:
[...]
[ 10.039] (--) using VT number 7

[ 10.046] (II) [KMS] Kernel modesetting enabled.
[ 10.046] (II) RADEON(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 10.046] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[ 10.046] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 10.046] (==) RADEON(0): Default visual is TrueColor
[ 10.046] (==) RADEON(0): RGB weight 888
[ 10.046] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[ 10.046] (--) RADEON(0): Chipset: "ATI RV730XT [Radeon HD 4670]" (ChipID = 0x9490)
[ 10.046] (II) RADEON(0): GPU accel disabled or not working, using shadowfb for KMS
[ 10.046] (II) Loading sub module "shadow"
[ 10.046] (II) LoadModule: "shadow"
[ 10.046] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[ 10.047] (II) Module shadow: vendor="X.Org Foundation"
[ 10.047] compiled for 1.16.4, module version = 1.1.0
[ 10.047] ABI class: X.Org ANSI C Emulation, version 0.4
[...]


/var/log/Xorg.1.log with 4.0.5

Quote:
[ 14.096]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[ 14.097] X Protocol Version 11, Revision 0
[ 14.097] Build Operating System: Linux 3.10.41-gentoo-r1 x86_64 Gentoo
[ 14.097] Current Operating System: Linux lynnfield 4.0.5-gentoo #1 SMP PREEMPT Tue Jun 23 20:03:54 CEST 2015 x86_64
[ 14.097] Kernel command line: BOOT_IMAGE=gentoo-4.0.5 ro root=807
[ 14.097] Build Date: 14 April 2015 02:21:32AM
[ 14.097]
[ 14.097] Current version of pixman: 0.32.6
[ 14.098] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 14.098] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 14.099] (==) Log file: "/var/log/Xorg.1.log", Time: Tue Jun 23 20:05:32 2015
[ 14.103] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 14.104] (==) No Layout section. Using the first Screen section.
[ 14.104] (==) No screen section available. Using defaults.
[ 14.104] (**) |-->Screen "Default Screen Section" (0)
[ 14.104] (**) | |-->Monitor "<default monitor>"
[ 14.105] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 14.105] (==) Automatically adding devices
[ 14.105] (==) Automatically enabling devices
[ 14.105] (==) Automatically adding GPU devices
[ 14.108] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 14.108] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 14.108] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 14.108] (II) Loader magic: 0x805c60
[ 14.108] (II) Module ABI versions:
[ 14.108] X.Org ANSI C Emulation: 0.4
[ 14.108] X.Org Video Driver: 18.0
[ 14.108] X.Org XInput driver : 21.0
[ 14.108] X.Org Server Extension : 8.0
[ 14.109] (--) PCI:*(0:1:0:0) 1002:9490:1682:2931 rev 0, Mem @ 0xd0000000/268435456, 0xfbae0000/65536, I/O @ 0x0000b000/256, BIOS @ 0x????????/131072
[ 14.110] (II) "glx" will be loaded by default.
[ 14.110] (II) LoadModule: "dri2"
[ 14.110] (II) Module "dri2" already built-in
[ 14.110] (II) LoadModule: "glamoregl"
[ 14.112] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[ 14.133] (EE) Failed to load /usr/lib64/xorg/modules/libglamoregl.so: /usr/lib64/xorg/modules/libglamoregl.so: undefined symbol: _glapi_tls_Context
[ 14.133] (II) UnloadModule: "glamoregl"
[ 14.133] (II) Unloading glamoregl
[ 14.133] (EE) Failed to load module "glamoregl" (loader failed, 7)
[ 14.133] (II) LoadModule: "glx"
[ 14.133] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 14.137] (II) Module glx: vendor="X.Org Foundation"
[ 14.137] compiled for 1.16.4, module version = 1.0.0
[ 14.137] ABI class: X.Org Server Extension, version 8.0
[ 14.137] (==) AIGLX enabled
[ 14.137] (==) Matched ati as autoconfigured driver 0
[ 14.137] (==) Matched modesetting as autoconfigured driver 1
[ 14.137] (==) Matched fbdev as autoconfigured driver 2
[ 14.137] (==) Matched vesa as autoconfigured driver 3
[ 14.137] (==) Assigned the driver to the xf86ConfigLayout
[ 14.137] (II) LoadModule: "ati"
[ 14.137] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[ 14.138] (II) Module ati: vendor="X.Org Foundation"
[ 14.138] compiled for 1.16.4, module version = 7.5.0
[ 14.138] Module class: X.Org Video Driver
[ 14.138] ABI class: X.Org Video Driver, version 18.0
[ 14.138] (II) LoadModule: "radeon"
[ 14.138] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[ 14.142] (II) Module radeon: vendor="X.Org Foundation"
[ 14.142] compiled for 1.16.4, module version = 7.5.0
[ 14.142] Module class: X.Org Video Driver
[ 14.142] ABI class: X.Org Video Driver, version 18.0
[ 14.142] (II) LoadModule: "modesetting"
[ 14.143] (WW) Warning, couldn't open module modesetting
[ 14.143] (II) UnloadModule: "modesetting"
[ 14.143] (II) Unloading modesetting
[ 14.143] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 14.143] (II) LoadModule: "fbdev"
[ 14.143] (WW) Warning, couldn't open module fbdev
[ 14.143] (II) UnloadModule: "fbdev"
[ 14.143] (II) Unloading fbdev
[ 14.143] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 14.143] (II) LoadModule: "vesa"
[ 14.143] (WW) Warning, couldn't open module vesa
[ 14.143] (II) UnloadModule: "vesa"
[ 14.143] (II) Unloading vesa
[ 14.143] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 14.143] (II) RADEON: Driver for ATI Radeon chipsets:
[...]
[ 14.145] (--) using VT number 7

[ 14.149] (II) [KMS] drm report modesetting isn't supported.
[ 14.149] (EE) Screen 0 deleted because of no matching config section.
[ 14.149] (II) UnloadModule: "radeon"
[ 14.149] (EE) Device(s) detected, but none match those in the config file.
[ 14.149] (EE)
Fatal server error:
[ 14.149] (EE) no screens found(EE)
[ 14.149] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 14.149] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 14.149] (EE)
[ 14.151] (EE) Server terminated with error (1). Closing log file.


Since often this error is caused by some framebuffer conflict, I compared the config files and found this difference:


cat linux-3.10.41-gentoo-r1/.config | grep DRM

Quote:
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=m
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m


cat linux-4.0.5-gentoo/.config | grep DRM

Quote:
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=m
# CONFIG_DRM_I2C_ADV7511 is not set
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m


I tried to change it manually but it keeps adding it before compiling.

Any ideas?


Last edited by Ska` on Sun Oct 25, 2015 7:40 pm; edited 2 times in total
Back to top
View user's profile Send private message
Ska`
n00b
n00b


Joined: 25 Sep 2004
Posts: 74

PostPosted: Sun Oct 25, 2015 6:40 pm    Post subject: Reply with quote

Tried again, this time with 3.14.48 importing the old config and manually checking differences, still same behaviour:

CONFIG_DRM_KMS_FB_HELPER is forced to yes and I can't find any other difference (maybe this isn't the problem btw).

With 3.10.41-r1 /proc/fb contains "0 radeondrmfb", from 3.14.48 /proc/fb is blank.

Loaded modules are the same, at least names:

3.10.42

Code:
Module                  Size  Used by
fbcon                  36395  76
bitblit                 4673  1 fbcon
font                    7324  1 fbcon
softcursor              1205  1 bitblit
radeon                774637  2
cfbfillrect             3618  1 radeon
cfbimgblt               2071  1 radeon
cfbcopyarea             3190  1 radeon
i2c_algo_bit            5039  1 radeon
drm_kms_helper         27006  1 radeon
ttm                    60817  1 radeon
drm                   215612  4 ttm,drm_kms_helper,radeon
fb                     32133  5 fbcon,drm_kms_helper,radeon,softcursor,bitblit
fbdev                    734  2 fb,fbcon
agpgart                26310  2 drm,ttm


3.14.48

Code:
Module                  Size  Used by
fbcon                  36959  0
bitblit                 4545  1 fbcon
font                    7388  1 fbcon
softcursor              1205  1 bitblit
radeon               1267539  0
cfbfillrect             3618  1 radeon
cfbimgblt               2167  1 radeon
cfbcopyarea             3254  1 radeon
i2c_algo_bit            5128  1 radeon
drm_kms_helper         27128  1 radeon
ttm                    69854  1 radeon
drm                   223313  3 ttm,drm_kms_helper,radeon
fb                     32517  5 fbcon,drm_kms_helper,radeon,softcursor,bitblit
fbdev                    766  2 fb,fbcon
agpgart                26693  2 drm,ttm
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Sun Oct 25, 2015 6:57 pm    Post subject: Reply with quote

You want to use binary driver but you have device claimed by kernel opensource driver. I think there is a Wiki article about setting up ATI?
Back to top
View user's profile Send private message
Ska`
n00b
n00b


Joined: 25 Sep 2004
Posts: 74

PostPosted: Sun Oct 25, 2015 7:01 pm    Post subject: Reply with quote

Yes, there is (https://wiki.gentoo.org/wiki/Radeon), but I can't figure out why the same exact config file doesn't work anymore :?

Could you please explain how do you see that thing?
Back to top
View user's profile Send private message
Ska`
n00b
n00b


Joined: 25 Sep 2004
Posts: 74

PostPosted: Sun Oct 25, 2015 7:28 pm    Post subject: Reply with quote

Looks like it was a firmware problem: I switched from sys-kernel/linux-firmware to sys-firmware/radeon-ucode and finally it works, I'm gonna try with 4.0.5.

Update

4.0.5 finally works too.

I noticed that I had CONFIG_FW_LOADER_USER_HELPER enabled and that it was renamed to CONFIG_FW_LOADER_USER_HELPER_FALLBACK and disabled by default, not sure if it was related but it could be.

Hope this helps someone.
Back to top
View user's profile Send private message
apiaio
Apprentice
Apprentice


Joined: 04 Dec 2008
Posts: 208

PostPosted: Thu Nov 05, 2015 6:05 pm    Post subject: Reply with quote

Ska` wrote:

Hope this helps someone.
Thanks. Solved my problem
Code:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Redwood PRO [Radeon HD 5550/5570/5630/6510/6610/7570]
Now running
Quote:
localhost / # uname -a
Linux localhost 4.1.12-gentoo #1 SMP Thu Nov 5 16:16:48 CET 2015 x86_64 Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum