TUMBLEWEED cannot start X after installing AMD fglrx driver

Hi all, I’ve installed fglrx using YaST one-click install (.ymp) file from the openSUSE website. But after reboot the Graphical UI won’t start. I’m using OpalXT AMD Radeon R7 M265 GPU. The following is the content of /var/log/Xorg.0.conf after I ran “startx” in CLI and failed:


    46.330] Current version of pixman: 0.33.6
    46.330] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 18 16:31:41 2016
    46.330] (==) Using config file: "/etc/X11/xorg.conf"
    46.330] (==) Using config directory: "/etc/X11/xorg.conf.d"
    46.330] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    46.330] (==) ServerLayout "aticonfig Layout"
    46.330] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
    46.330] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
    46.330] (**) |   |-->Device "aticonfig-Device[0]-0"
    46.330] (==) Automatically adding devices
    46.330] (==) Automatically enabling devices
    46.331] (==) Automatically adding GPU devices
    46.331] (==) Max clients allowed: 256, resource mask: 0x1fffff
    46.331] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
    46.331]     Entry deleted from font path.
    46.331] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
    46.331] (==) ModulePath set to "/usr/lib64/xorg/modules"
    46.331] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    46.331] (II) Loader magic: 0x813d00
    46.331] (II) Module ABI versions:
    46.331]     X.Org ANSI C Emulation: 0.4
    46.331]     X.Org Video Driver: 20.0
    46.331]     X.Org XInput driver : 22.1
    46.331]     X.Org Server Extension : 9.0
    46.331] (++) using VT number 1
    46.331] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    46.332] (II) xfree86: Adding drm device (/dev/dri/card0)
    46.335] (--) PCI:*(0:0:2:0) 8086:0a16:17aa:5021 rev 11, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x00005000/64
    46.335] (--) PCI: (0:5:0:0) 1002:6604:17aa:5021 rev 0, Mem @ 0xb0000000/268435456, 0xd0500000/262144, I/O @ 0x00003000/256, BIOS @ 0x????????/131072
    46.335] (II) "glx" will be loaded by default.
    46.335] (II) LoadModule: "glx"
    46.335] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
    46.335] (II) Module glx: vendor="Advanced Micro Devices, Inc."
    46.335]     compiled for 6.9.0, module version = 1.0.0
    46.335] (II) LoadModule: "fglrx"
    46.335] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
    46.354] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
    46.355]     compiled for 1.4.99.906, module version = 15.30.3
    46.355]     Module class: X.Org Video Driver
    46.355] (II) Loading sub module "fglrxdrm"
    46.355] (II) LoadModule: "fglrxdrm"
    46.355] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
    46.355] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
    46.355]     compiled for 1.4.99.906, module version = 15.30.3
    46.355] (II) AMD Proprietary Linux Driver Version Identifier:15.30.3
    46.355] (II) AMD Proprietary Linux Driver Release Identifier: 15.30.1025                           
    46.355] (II) AMD Proprietary Linux Driver Build Date: Nov 17 2015 22:40:55
    46.355] (WW) Falling back to old probe method for fglrx
    46.363] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
    46.364] ukiDynamicMajor: found major device number 244
    46.364] ukiDynamicMajor: found major device number 244
    46.364] ukiOpenByBusid: Searching for BusID PCI:5:0:0
    46.364] ukiOpenDevice: node name is /dev/ati/card0
    46.364] ukiOpenDevice: open result is 10, (OK)
    46.364] ukiOpenByBusid: ukiOpenMinor returns 10
    46.364] ukiOpenByBusid: ukiGetBusid reports PCI:5:0:0
    46.365] (--) Chipset Supported AMD Graphics Processor (0x6604) found
    46.366] (II) fglrx: intel VGA device detected, load intel driver.
    46.366] (II) LoadModule: "intel"
    46.366] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
    46.366] (II) Module intel: vendor="X.Org Foundation"
    46.366]     compiled for 1.18.0, module version = 2.99.917
    46.366]     Module class: X.Org Video Driver
    46.366]     ABI class: X.Org Video Driver, version 20.0
    46.367] (II) fglrx(0): pEnt->device->identifier=0x1e8a510
    46.367] (II) intel(1): pEnt->device->identifier=(nil)
    46.367] (EE) Screen 1 deleted because of no matching config section.
    46.367] (II) UnloadModule: "intel"
    46.367] (II) fglrx(0): === [xdl_xs117_atiddxPreInit] === begin
    46.367] (II) fglrx(0): FB driver is enabled
    46.367] (II) fglrx(0): PowerXpress: Discrete GPU is selected.
    46.453] (II) fglrx(0): PowerXpress: Diagnostic output from /usr/lib64/fglrx/switchlibGL:
Switch to AMD
    46.458] (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
    46.458] (==) fglrx(0): RGB weight 888
    46.458] (==) fglrx(0): Default visual is TrueColor
    46.458] (**) fglrx(0): Option "Tiling" "off"
    46.458] (**) fglrx(0): Option "LinearFramebuffer" "on"
    46.458] (--) fglrx(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400
    46.458] (**) fglrx(0): Relaxed fencing enabled
    46.458] (**) fglrx(0): Wait on SwapBuffers? enabled
    46.458] (**) fglrx(0): Triple buffering? enabled
    46.458] (**) fglrx(0): Framebuffer linear
    46.458] (**) fglrx(0): Pixmaps linear
    46.458] (**) fglrx(0): 3D buffers tiled
    46.458] (**) fglrx(0): SwapBuffers wait enabled
    46.458] (==) fglrx(0): video overlay key set to 0x101fe
    46.460] (II) fglrx(0): Output eDP1 using monitor section aticonfig-Monitor[0]-0
    46.460] (--) fglrx(0): found backlight control interface intel_backlight
    46.460] (II) fglrx(0): Output DP1 has no monitor section
    46.588] (II) fglrx(0): Output HDMI1 has no monitor section
    46.588] (II) fglrx(0): Output DP2 has no monitor section
    46.716] (II) fglrx(0): Output HDMI2 has no monitor section
    46.717] (II) fglrx(0): EDID for output eDP1
    46.717] (II) fglrx(0): Manufacturer: CMN  Model: 15bd  Serial#: 0
    46.717] (II) fglrx(0): Year: 2013  Week: 30
    46.717] (II) fglrx(0): EDID Version: 1.4
    46.717] (II) fglrx(0): Digital Display Input
    46.717] (II) fglrx(0): 6 bits per channel
    46.717] (II) fglrx(0): Digital interface is DisplayPort
    46.717] (II) fglrx(0): Max Image Size [cm]: horiz.: 34  vert.: 19
    46.717] (II) fglrx(0): Gamma: 2.20
    46.717] (II) fglrx(0): No DPMS capabilities specified
    46.717] (II) fglrx(0): Supported color encodings: RGB 4:4:4 
    46.717] (II) fglrx(0): First detailed timing is preferred mode
    46.717] (II) fglrx(0): Preferred mode is native pixel format and refresh rate
    46.717] (II) fglrx(0): redX: 0.573 redY: 0.346   greenX: 0.341 greenY: 0.595
    46.717] (II) fglrx(0): blueX: 0.161 blueY: 0.115   whiteX: 0.313 whiteY: 0.329
    46.717] (II) fglrx(0): Manufacturer's mask: 0
    46.717] (II) fglrx(0): Supported detailed timing:
    46.717] (II) fglrx(0): clock: 76.4 MHz   Image Size:  344 x 193 mm
    46.717] (II) fglrx(0): h_active: 1366  h_sync: 1434  h_sync_end 1479 h_blank_end 1592 h_border: 0
    46.717] (II) fglrx(0): v_active: 768  v_sync: 772  v_sync_end 779 v_blanking: 800 v_border: 0
    46.717] (II) fglrx(0):  N156BGE-EA1
    46.717] (II) fglrx(0):  CMN
    46.717] (II) fglrx(0):  N156BGE-EA1
    46.717] (II) fglrx(0): EDID (in hex):
    46.717] (II) fglrx(0):     00ffffffffffff000daebd1500000000
...
    46.717] (II) fglrx(0):     004e3135364247452d4541310a200088
    46.717] (II) fglrx(0): Not using default mode "320x240" (doublescan mode not supported)
...
    46.717] (II) fglrx(0): Not using default mode "1024x768" (doublescan mode not supported)
    46.717] (II) fglrx(0): Printing probed modes for output eDP1
    46.717] (II) fglrx(0): Modeline "1366x768"x60.0   76.42  1366 1434 1479 1592  768 772 779 800 -hsync -vsync (48.0 kHz eP)
...
    46.717] (II) fglrx(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
    46.717] (II) fglrx(0): EDID for output DP1
    46.844] (II) fglrx(0): EDID for output HDMI1
    46.844] (II) fglrx(0): EDID for output DP2
    46.972] (II) fglrx(0): EDID for output HDMI2
    46.972] (II) fglrx(0): Output eDP1 connected
    46.972] (II) fglrx(0): Output DP1 disconnected
    46.972] (II) fglrx(0): Output HDMI1 disconnected
    46.972] (II) fglrx(0): Output DP2 disconnected
    46.972] (II) fglrx(0): Output HDMI2 disconnected
    46.972] (II) fglrx(0): Using exact sizes for initial modes
    46.972] (II) fglrx(0): Output eDP1 using initial mode 1366x768 +0+0
    46.972] (II) fglrx(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
    46.972] (II) fglrx(0): Kernel page flipping support detected, enabling
    46.972] (==) fglrx(0): DPI set to (96, 96)
    46.972] (II) Loading sub module "fb"
    46.972] (II) LoadModule: "fb"
    46.972] (II) Loading /usr/lib64/xorg/modules/libfb.so
    46.972] (II) Module fb: vendor="X.Org Foundation"
    46.972]     compiled for 1.18.0, module version = 1.0.0
    46.972]     ABI class: X.Org ANSI C Emulation, version 0.4
    46.972] (II) Loading sub module "dri2"
    46.972] (II) LoadModule: "dri2"
    46.972] (II) Module "dri2" already built-in
    46.972] (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
    46.972] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
    46.972] (==) fglrx(0): Default visual is TrueColor
    46.972] (**) fglrx(0): Option "DPMS" "true"
    46.972] (**) fglrx(0): Option "ShadowFB" "off"
    46.972] (==) fglrx(0): RGB weight 888
    46.972] (II) fglrx(0): Using 8 bits per RGB 
    46.972] (==) fglrx(0): Buffer Tiling is ON
    46.972] (II) Loading sub module "fglrxdrm"
    46.972] (II) LoadModule: "fglrxdrm"
    46.972] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
    46.973] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
    46.973]     compiled for 1.4.99.906, module version = 15.30.3
    46.974] ukiDynamicMajor: found major device number 244
    46.974] ukiDynamicMajor: found major device number 244
    46.974] ukiOpenByBusid: Searching for BusID PCI:5:0:0
    46.974] ukiOpenDevice: node name is /dev/ati/card0
    46.974] ukiOpenDevice: open result is 13, (OK)
    46.974] ukiOpenByBusid: ukiOpenMinor returns 13
    46.974] ukiOpenByBusid: ukiGetBusid reports PCI:5:0:0
    46.975] (**) fglrx(0): NoAccel = NO
    46.975] (**) fglrx(0): AMD 2D Acceleration Architecture enabled
    46.975] (--) fglrx(0): Chipset: "AMD Radeon R7 M265 Series" (Chipset = 0x6604)
    46.975] (--) fglrx(0): (PciSubVendor = 0x17aa, PciSubDevice = 0x5021)
    46.975] (==) fglrx(0): board vendor info: third party graphics adapter - NOT original AMD
    46.975] (--) fglrx(0): Linear framebuffer (phys) at 0xb0000000
    46.975] (--) fglrx(0): MMIO registers at 0xd0500000
    46.975] (--) fglrx(0): I/O port at 0x00003000
    46.975] (==) fglrx(0): ROM-BIOS at 0x000c0000
    46.975] (II) fglrx(0): AC Adapter is used
    46.976] (II) fglrx(0): AMD Video BIOS revision 9 or later detected
    46.976] (--) fglrx(0): Video RAM: 2097152 kByte, Type: DDR3
    46.976] (II) fglrx(0): PCIE card detected
    46.976] (--) fglrx(0): Using per-process page tables (PPPT) as GART.
    46.976] (WW) fglrx(0): board is an unknown third party board, chipset is supported
    46.984] (II) fglrx(0): [FB] MC range(MCFBBase = 0xf400000000, MCFBSize = 0x80000000)
    46.984] (II) fglrx(0): RandR 1.2 support is enabled!
    46.984] (II) fglrx(0): RandR 1.2 rotation support is enabled!
    46.984] (II) Loading sub module "fb"
    46.984] (II) LoadModule: "fb"
    46.984] (II) Loading /usr/lib64/xorg/modules/libfb.so
    46.984] (II) Module fb: vendor="X.Org Foundation"
    46.984]     compiled for 1.18.0, module version = 1.0.0
    46.984]     ABI class: X.Org ANSI C Emulation, version 0.4
    46.984] (II) fglrx(0): EDID Management option: EDID Management is enabled
    46.984] (II) Loading sub module "ddc"
    46.984] (II) LoadModule: "ddc"
    46.984] (II) Module "ddc" already built-in
    46.988] (II) fglrx(0): Adapter AMD Radeon R7 M265 Series has 2 configurable heads and 0 displays connected.
    46.988] (==) fglrx(0):  PseudoColor visuals disabled
    46.988] (II) Loading sub module "ramdac"
    46.988] (II) LoadModule: "ramdac"
    46.988] (II) Module "ramdac" already built-in
    46.988] (==) fglrx(0): NoDRI = NO
    46.988] (==) fglrx(0): Capabilities: 0x00000000
    46.988] (==) fglrx(0): CapabilitiesEx: 0x00000000
    46.988] (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
    46.988] (==) fglrx(0): UseFastTLS=0
    46.988] (II) fglrx(0): TearFreeDesktop is not supported on PowerXpress systems currently.
    46.988] (--) Depth 24 pixmap format is 32 bpp
    46.988] (II) LoadModule: "glesx"
    46.988] (II) Loading /usr/lib64/xorg/modules/glesx.so
    46.991] (II) Module glesx: vendor="X.Org Foundation"
    46.991]     compiled for 1.4.99.906, module version = 1.0.0
    46.991] (EE) Backtrace:
    46.991] (EE) 0: X (xorg_backtrace+0x41) [0x58d441]
    46.991] (EE) 1: X (0x400000+0x191609) [0x591609]
    46.991] (EE) 2: /lib64/libc.so.6 (0x7fa2bc240000+0x34dc0) [0x7fa2bc274dc0]
    46.991] (EE) 3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xs117SetPictureScreen+0x34) [0x7fa2b95c6134]
    46.991] (EE) 4: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xclSetPictureScreen+0xd) [0x7fa2b8e0544d]
    46.992] (EE) 5: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xdl_xs117_atiddxPxPreDamageSetup+0xae) [0x7fa2b907407e]
    46.992] (EE) 6: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xdl_xs117_atiddxScreenInit+0x12fb) [0x7fa2b904fefb]
    46.992] (EE) 7: X (AddScreen+0x101) [0x4394c1]
    46.992] (EE) 8: X (InitOutput+0x3d1) [0x47c0a1]
    46.992] (EE) 9: X (0x400000+0x3cdf4) [0x43cdf4]
    46.992] (EE) 10: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7fa2bc260610]
    46.992] (EE) 11: X (_start+0x29) [0x428539]
    46.992] (EE) Segmentation fault at address 0x10
Fatal server error:
    46.992] (EE) Caught signal 11 (Segmentation fault). Server aborting
    46.992] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    46.994] (EE) Server terminated with error (1). Closing log file.

How exactly did you install fglrx?

Are you using GNOME, or more specifically, GDM?
This won’t work with fglrx AFAIK, in that case try to switch to a different display/login manager (lightdm e.g.)

It might also be that fglrx just doesn’t support Kernel 4.4.0 yet.
Not much to do then I’m afraid, except waiting for a new driver version, or at least a new version of Sebastian Siebert’s script.

Or maybe not even the latest Xorg in Tumbleweed is supported yet. (no idea if there has been a change)

You know that it is not really recommended to use Tumbleweed if you rely on 3rd party drivers?
The changes are just too many and too fluent, 3rd parties tend not to keep up.

I have Leap42.1 and also had issues with the fglrx module. Had to uninstall it.
I know this is not much of a help, but at least you know, you are not alone :wink:

As I said, I installed fglrx by YaST 1-Click install (.ymp) file from openSUSE SDB. That is to say, I used repo from geeko.ioda.net. Everything was automatically configured after install. Seems that there’re something wrong with the auto configuration, because I use fglrx proprietary on Kubuntu 15.10 as well and X can start normally.

Yes, you did. Sorry.

Seems that there’re something wrong with the auto configuration, because I use fglrx proprietary on Kubuntu 15.10 as well and X can start normally.

The “auto configuration” should work.
But the driver might not be compatible with the latest Kernel and/or Xorg yet. Kubuntu 15.10 likely has older versions than Tumbleweed.
And AMD are not really too quick in updating their drivers.
The packages from geeko.ioda.net do contain patches for the latest kernel, but 4.4.0 is quite new and this might just not work yet.
And AFAIK, there has been an Xorg update in Tumbleweed too recently.

As I don’t use fglrx on Tumbleweed myself, I’m not sure whether it’s supposed to work at the moment.
But it’s generally not really recommended or supported to run Tumbleweed with 3rd party drivers. fglrx is provided on a best-effort basis, but it might not always work. Not much openSUSE or its community members can do there, being proprietary closed-source, it’s AMD’s job to update the driver to work with the latest Kernel and Xorg, only they can.

But as I wrote, if you are using GDM, you might try to switch to a different DM (lightdm e.g.). There are known problems with GDM and fglrx.

First, what is your graphics card? It may have some known issues, especially if it is very new.

Second, you cannot use one-click install of fglrx on Tumbleweed or even Leap 42.1, you should be adding the specific repo in Yast and installing that way.

From the fglrx page: "Note: 1-click can’t be used directly with openSUSE Tumbleweed, due to the lack of a clear way to identity this derivative. See GUI/Yast2 installation way."

Please completely remove fglrx, (you can do this also in Yast) reboot, and start over using the Yast method, instructions here:
https://en.opensuse.org/SDB:AMD_fglrx
(scroll down to “Procedure GUI - YaST2”)

I do added the correct fglrx TUMBLEWEED repo, but the driver simply won’t work. I uninstalled the fglrx driver and the computer works again.

AFAIK, fglrx doesn’t work at all in Tumbleweed at the moment, because it doesn’t support the latest Xorg.

The recommendation (by Sebastian Siebert, the guy who packages fglrx for openSUSE) is to downgrade Xorg to Leap’s version for now, if you need the fglrx driver:
http://lists.opensuse.org/opensuse-factory/2016-01/msg00366.html

Right, it is really a problem when using rolling release. Even oss driver won’t work, showing "raedon: VCE init error (-110).:frowning:

Hm, googling for that error message gives quite a few hits…
http://www.google.at/search?q=VCE+init+error+(-110)&ie=UTF-8&oe=UTF-8