SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Whenever I try to install the AMD Proprietary Catalyst Driver, it fails with an error that it can't find the version.h file in the Kernel source. Is there a workaround for this, maybe creating a version.h file it will accept?
I just upgraded (via clean install) to Slackware64 14.2. I have a "Legacy" GPU *cough* HD 6950 *cough* so a more current driver is not an option. It was however running fine on 14.1 and I do game some AAA titles via Steam so Proprietary is needed. ("gibson" in signature)
If I remember right from Slackware-current development, it could be patched to work with kernel 4.x, but the issue was they wouldn't support xorg 1.18 with their "legacy" driver.
@OP, I think you're either stuck with 14.1 or using the opensource drivers in 14.2 (which have improved immensely since 14.1).
As far as I know AMDGPU (which is their next generation Linux driver -- part of it is open source and you can install additional proprietary support) works properly with 1.18, but I haven't seen any official reports of it on Slackware (either way, whether it is or isn't working).
You can't install catalyst driver in slackware 14.2, for the HD 6950 you should use the open source drivers instead.
I think the Sapphire Radeon RX 480 Nitro looks like a great card for linux and i hope that RX 470 and RX 460 will be great as well.
I think the RX 480 should work with open source drivers if you upgrade the kernel but you might want to upgrade llvm-git (3.9) and mesa-git as well for all bells and whistles.
I haven't tried amdgpu-pro in slackware but people seems to be able to install it in various linux distributions, let us hope that there will be a generic installer for amdgpu-pro soon.
If you need a more complete driver for AMD GPUs, you should install the latest kernel, latest libdrm, libclc to add OpenCL support, libtxc_dxtn for S3TC texture compression, libomxil-bellagio for OpenMAX support and then rebuild Mesa and enable the build flags to support OpenCL and OpenMAX. After that install driconf and you have a driver and configuration for AMD hardware as complete as the OEM driver.
Try the opensource driver, it works really good here with my radeon 5870.
Not sure it is the same for your card, but driver for my card is just called "radeon".
I play some games even in 2560 x 1440 and it works surprisingly well
Also planning to get a rx480 when custom designs arrive, that should also work after updating kernel/mesa.
I don't like vsync and wanted dri3 , so I dropped this into /etc/X11/xorg.conf.d/, but I read
dri3 is now default? https://www.phoronix.com/scan.php?pa...fault-Latest-X
So if you don't care about vsync you can leave out the next two things.
root@gibson:/etc# xorgsetup
(output)
X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.2 Slackware Linux Project
Current Operating System: Linux gibson 4.4.14 #2 SMP Fri Jun 24 13:38:27 CDT 2016 x86_64
Kernel command line: initrd=initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 nomodeset SLACK_KERNEL=huge.s BOOT_IMAGE=/kernels/huge.s/bzImage root=/dev/sda7 rdinit= ro
Build Date: 15 April 2016 11:05:21AM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 16 16:36:31 2016
List of video drivers:
apm
savage
nv
trident
sis
siliconmotion
sisusb
tga
s3virge
intel
i128
voodoo
ati
chips
i740
r128
nouveau
neomagic
glint
mach64
mga
xgi
xgixp
vmware
ark
v4l
s3
ast
tdfx
rendition
dummy
radeon
tseng
amdgpu
cirrus
openchrome
vesa
modesetting
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] drm report modesetting isn't supported.
(EE)
(EE) Backtrace:
(EE) 0: /usr/libexec/Xorg (xorg_backtrace+0x41) [0x580ba1]
(EE) 1: /usr/libexec/Xorg (0x400000+0x184ac9) [0x584ac9]
(EE) 2: /lib64/libpthread.so.0 (0x7f16b32c6000+0x113b0) [0x7f16b32d73b0]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xorgsetup: line 170: 2015 Aborted /usr/X11R6/bin/X -configure
root@gibson:/etc#
Code:
root@gibson:/etc# cat /var/log/Xorg.0.log
[ 3459.963]
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 3459.963] X Protocol Version 11, Revision 0
[ 3459.963] Build Operating System: Slackware 14.2 Slackware Linux Project
[ 3459.963] Current Operating System: Linux gibson 4.4.14 #2 SMP Fri Jun 24 13:38:27 CDT 2016 x86_64
[ 3459.963] Kernel command line: initrd=initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 nomodeset SLACK_KERNEL=huge.s BOOT_IMAGE=/kernels/huge.s/bzImage root=/dev/sda7 rdinit= ro
[ 3459.963] Build Date: 15 April 2016 11:05:21AM
[ 3459.963]
[ 3459.963] Current version of pixman: 0.34.0
[ 3459.963] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 3459.963] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 3459.963] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 16 16:44:03 2016
[ 3459.963] (==) Using config file: "/etc/X11/xorg.conf"
[ 3459.963] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 3459.964] (==) ServerLayout "X.org Configured"
[ 3459.964] (**) |-->Screen "Screen0" (0)
[ 3459.964] (**) | |-->Monitor "Monitor0"
[ 3459.964] (**) | |-->Device "Card0"
[ 3459.964] (**) |-->Input Device "Mouse0"
[ 3459.964] (**) |-->Input Device "Keyboard0"
[ 3459.964] (==) Automatically adding devices
[ 3459.964] (==) Automatically enabling devices
[ 3459.964] (==) Automatically adding GPU devices
[ 3459.964] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 3459.964] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 3459.964] Entry deleted from font path.
[ 3459.964] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 3459.964] Entry deleted from font path.
[ 3459.964] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 3459.964] Entry deleted from font path.
[ 3459.964] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 3459.964] Entry deleted from font path.
[ 3459.964] (**) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic
[ 3459.964] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 3459.964] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 3459.964] (WW) Disabling Mouse0
[ 3459.964] (WW) Disabling Keyboard0
[ 3459.964] (II) Loader magic: 0x808c00
[ 3459.964] (II) Module ABI versions:
[ 3459.964] X.Org ANSI C Emulation: 0.4
[ 3459.964] X.Org Video Driver: 20.0
[ 3459.964] X.Org XInput driver : 22.1
[ 3459.964] X.Org Server Extension : 9.0
[ 3459.965] (--) PCI:*(0:1:0:0) 1002:6719:174b:186b rev 0, Mem @ 0xc0000000/268435456, 0xfea20000/131072, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[ 3459.965] (II) Open ACPI successful (/var/run/acpid.socket)
[ 3459.965] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 3459.965] (II) LoadModule: "glx"
[ 3459.965] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 3459.967] (II) Module glx: vendor="X.Org Foundation"
[ 3459.967] compiled for 1.18.3, module version = 1.0.0
[ 3459.967] ABI class: X.Org Server Extension, version 9.0
[ 3459.967] (==) AIGLX enabled
[ 3459.967] (II) LoadModule: "radeon"
[ 3459.967] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[ 3459.968] (II) Module radeon: vendor="X.Org Foundation"
[ 3459.968] compiled for 1.18.3, module version = 7.7.0
[ 3459.968] Module class: X.Org Video Driver
[ 3459.968] ABI class: X.Org Video Driver, version 20.0
[ 3459.968] (II) RADEON: Driver for ATI Radeon chipsets:
(removed list of chipsets for easier reading)
[ 3459.970] (++) using VT number 7
[ 3459.975] (II) [KMS] drm report modesetting isn't supported.
[ 3459.975] (EE) Screen 0 deleted because of no matching config section.
[ 3459.975] (II) UnloadModule: "radeon"
[ 3459.975] (EE) Device(s) detected, but none match those in the config file.
[ 3459.975] (EE)
Fatal server error:
[ 3459.975] (EE) no screens found(EE)
[ 3459.975] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 3459.975] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 3459.975] (EE)
[ 3459.975] (EE) Server terminated with error (1). Closing log file.
root@gibson:/etc#
If you want to change any options, consult the manpages:
Code:
man radeon
man ati
for any additional details. Don't try to directly use the radeon driver. Sometimes the stub drivers like "modesetting", "intel", "ati", and "nouveau" are able to autodetect and use the correct options for your video card.
If thr "ati" or "radeon" driver still refuse to work, try loading the driver "modesetting" and see if it will load the Radeon EGL stack from Mesa with this setup. Make sure you edit the lines as needed before loading the driver:
Code:
Section "Device"
Identifier "name of your graphics card here"
Driver "modesetting"
Option "SWCursor" "boolean (on or off) recommended off"
Option "kmsdev" "/dev/dri/card0"
Option "ShadowFB" "boolean (on or off) recommended off"
Option "AccelMethod" "glamor"
Option "PageFlip" "boolean (on or off) recommended on"
Option "ZaphodHeads" "Your specific video ports like DVI-I-1, VGA-1, and HDMI-1 (make sure you set this in order of your monitor ports or else it won't work!!!"
EndSection
as others said you can try removing xorg.conf and let it autodetect stuff, the "new" way of doing things is let it
autodetect and then only change what you want with snippets in xorg.conf.d/
Also the Xorg Server error could be caused by your kernel parameter: nomodeset. Try to boot without this one, maybe this will work.
Quote:
Originally Posted by mpyusko
numerous attempts result in modesetting not supported, screens not found, etc....
You shouldn't use an xorg.conf or xorgsetup or create an custom ~/.drirc (unless you got a special setup and knows exactly what and why you do it).
The /etc/X11/xorg.conf.d/ folder should be used for custom settings instead.
My /etc/X11/xorg.conf.d/20-radeon.conf looks like this.
It tells that i use Driver "radeon" instead of using "ati", "ati" only adds an extra automatic layer that should choose to load the radeon driver so it's better to use radeon then ati.
Option "DRI" "3" since i want to use dri3 instead of dri2 (it's much more convenient when you have a laptop with hybrid/dual graphics).
Identifier "Radeon graphics card" this is a description for you and it can be anything so you can use "Radeon HD 6950" if you want.
Some like to use Option "AccelMethod" "glamor" but i think it's more buggy on older hardware that supports EXA so for any card pre tahiti i recommend not to change the default accelmethod, if you do use glamor then you shouldn't be surprised if you get render issues when using your desktop.
So what you actually need should be nothing at all or an 20-radeon.conf with
It has been a busy summer so I haven't had a chance to try your suggestions yet, but two things I want to touch on in the replies.
1, I'm using the default Kernel that Slackware automatically installed the only additional parameter I added was for hibernation.
2, If you read my posts, I did delete the xorg.conf file completely, and I let it do it's autodetect thing. It loaded ok without dri, accelleration, and it also did not detect my second display (post #11). The radeon driver just fails to function completely (post #10).
I just wanted to add those two points to clarify what has been happening. I have been doing my own research and there is a patch you can use for the proprietary driver that allows it to compile in the 4.3 Kernel, but it still fails when I try the 4.4.14 in Slackware 14.2. For many programs I am able to hack them and get them up and running on in appropriate versions, but alas my kernel skill aren't all that great. Perhaps someone with more advanced skills could look into it and see what needs to be done to fix it? There are a could discussions out there, but this seemed to get me the closest..... https://www.reddit.com/r/linux_gamin..._kernel_40_41/
Since this is the last version of the legacy Catalyst and 4.4 is an LTS kernel, I think it is worth looking into a patch for it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.