You are not logged in.

#7076 2015-08-15 17:28:49

wildboarcharlie
Member
Registered: 2015-07-30
Posts: 6

Re: The AMD/ATI Bar & Grill

clfarron4 wrote:
wildboarcharlie wrote:
clfarron4 wrote:

Did you try the aticonfig --initial command to try and get it to generate one?

I did, it still says the same thing: "aticonfig: No supported adapters detected"

Hmm... Is that the only card in the machine? Please post the output of the following two commands. Many laptops these days have processors with in built graphics cards, or unusual configurations, so I want to see what the machine is saying it has.

lspci | grep VGA
lspci | grep 3D

The machine says it has this:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XT [Radeon HD 8870M / R9 M270X] (rev 83)

Which is odd because when I boot into OS X it says I have M370X and an Intel Iris Pro

Offline

#7077 2015-08-21 19:20:25

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

I got problems with Linux 4.2 support, if someone is able to help here's report: http://ati.cchtml.com/show_bug.cgi?id=1189

Offline

#7078 2015-08-22 09:33:08

TheDemz
Member
Registered: 2015-08-22
Posts: 12

Re: The AMD/ATI Bar & Grill

Seems like the kernel 4.1.5-1 does not work with the unofficial repo catalyst

[catalyst]
Server = http://catalyst.wirephire.com/repo/catalyst/$arch


systemd_modules_load[173] failed to insert 'fglrx': Exec format error

Downgraded to kernel 4.1.4-1 and now it works again.

Offline

#7079 2015-08-22 09:48:43

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

Works fine @ 4.1.6-ARCH on x86_64 here. I'm pretty sure I also tested 4.1.5 when it was released, but latelly I'm often reinstalling catalyst-hook so could miss[1]

Maybe there was some problem with auto-rebuild. Check daemon status with:

systemctl status catalyst-hook.service 

It should be "active (exited)", if it's dead then enable it. If it's not dead then it means that md5 sum of modver of kernels 4.1.4 and 4.1.5 is the same - hard to believe but possible[1] Edit: just checked, it was different.

Anyhow to force fix: update to newer kernel, and as root run:

catalyst_build_module all

Last edited by Vi0L0 (2015-08-22 09:53:33)

Offline

#7080 2015-08-22 09:58:25

TheDemz
Member
Registered: 2015-08-22
Posts: 12

Re: The AMD/ATI Bar & Grill

Vi0L0 wrote:

Works fine @ 4.1.6-ARCH on x86_64 here. I'm pretty sure I also tested 4.1.5 when it was released, but latelly I'm often reinstalling catalyst-hook so could miss[1]

Maybe there was some problem with auto-rebuild. Check daemon status with:

systemctl status catalyst-hook.service 

It should be "active (exited)", if it's dead then enable it. If it's not dead then it means that md5 sum of modver of kernels 4.1.4 and 4.1.5 is the same - hard to believe but possible[1] Edit: just checked, it was different.

Anyhow to force fix: update to newer kernel, and as root run:

catalyst_build_module all

Thanks Vi0L0, will try that later today

smile

Offline

#7081 2015-08-24 04:39:38

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: The AMD/ATI Bar & Grill

Greetings everyone,

I am wondering what the general idea for setting up drivers is. What I mean is, do I download the proprietary driver from AMD's website? Or do I use the open source one? My goal for my laptop is performance, with the latest possible stable drivers. My system is an AMD A4-4300M APU with the Radeon HD 7420G graphics chip. I plan on playing games with my laptop, so any tips/tricks/ideas for squeezing performance out of my hardware/desktop are welcome.


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#7082 2015-08-24 11:02:51

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: The AMD/ATI Bar & Grill

JohnBobSmith wrote:

Greetings everyone,

I am wondering what the general idea for setting up drivers is. What I mean is, do I download the proprietary driver from AMD's website? Or do I use the open source one? My goal for my laptop is performance, with the latest possible stable drivers. My system is an AMD A4-4300M APU with the Radeon HD 7420G graphics chip. I plan on playing games with my laptop, so any tips/tricks/ideas for squeezing performance out of my hardware/desktop are welcome.

If you're going to go proprietary, I'd advise that you use Vi0l0's repository for this.

As for Open Source vs. Proprietary, the best thing is to test both I'd say. That said, the Open Source drivers are pretty good from what people have been saying.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#7083 2015-08-24 21:11:54

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: The AMD/ATI Bar & Grill

Considering my recent failure with AMD's propreitary drivers, I think I will stick with open source. Is there a safe/simple way to test both?


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#7084 2015-08-25 14:03:47

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: The AMD/ATI Bar & Grill

JohnBobSmith wrote:

Considering my recent failure with AMD's propreitary drivers, I think I will stick with open source. Is there a safe/simple way to test both?

Both sets of driver should be relatively simple to test, since Open Source is in the main repositories and we have Vi0l0's repository. To test one, just install it, maybe configure X and go.

As for switching between them:
- Always clean up the /etc/X11 and /etc/X11/xorg.conf.d folder of graphics driver configuration files (xorg.conf, radeon.conf etc.)
- When going from Open Source to AMD Catalyst, you might need to blacklist the radeon module. Remember to remove it from the blacklist when switching back from AMD Catalyst to Open Source.

At least, that's what I do when I decide to play with Open Source.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#7085 2015-08-25 15:15:30

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: The AMD/ATI Bar & Grill

Thanks clfarron4. I followed the Wiki to the letter, everything works first attempt! I am now running the proprietary graphics drivers. I have yet to see what games, WINE software, and additional 3D apps will work or not, but I will know very soon smile.

Here is the inxi output for my system, in case anyone finds it useful:

System:    Host: dmb-arch-laptop Kernel: 4.1.6-1-ARCH x86_64 (64 bit) Desktop: i3 4.10.3 Distro: Arch Linux
CPU:       Dual core AMD A4-4300M APU with Radeon HD Graphics (-MCP-) cache: 2048 KB 
           clock speeds: max: 2500 MHz 1: 1800 MHz 2: 2200 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Trinity [Radeon HD 7420G]
           Display Server: X.Org 1.17.2 driver: fglrx Resolution: 1366x768@60.07hz
           GLX Renderer: AMD Radeon HD 7420G GLX Version: 4.5.13397 - CPC 15.20.1046

And lsmod | grep fglrx

[dmb@dmb-arch-laptop ~]$ lsmod | grep fglrx
fglrx               13299712  104
button                 16384  1 fglrx
amd_iommu_v2           20480  1 fglrx

So I call that great. First attempt success is the best kind of success.

*anxiously awaits playing shooter and MOBA games with the 4.1.6 kernel and proprietary driver*


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#7086 2015-08-25 15:46:47

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

You can also install both drivers and switch between them by running script (and editing bootloader), once configured it should bring faster switching:

Steps:
1. Install both drivers (catalyst-libgl also brings mesa-libgl, same goes for lib32- version), here with [catalyst] repo:
i686:

pacman -S catalyst-hook catalyst-utils catalyst-libgl opencl-catalyst mesa xf86-video-ati

x86_64:

pacman -S catalyst-hook catalyst-utils catalyst-libgl opencl-catalyst lib32-catalyst-utils lib32-catalyst-libgl lib32-opencl-catalyst mesa lib32-mesa xf86-video-ati

catalyst-libgl will point to catalyst driver by default.

2. Now if you don't have /etc/X11/xorg.conf file with fglrx inside please generate it with aticonfig ie:

aticonfig --initial

and run script that will switch to catalyst once more - here it will rename xorg.conf to xorg.conf.cat and create link from xorg.conf to xorg.conf.cat, since now it will use xorg.conf to switch between config files when switching drivers:

pxp_switch_catalyst amd

3. Create additional entry in your bootloader for catalyst with nomodeset option, im using syslinux, here is example with interesting lines of /boot/syslinux/syslinux.cfg

DEFAULT arch

LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/disk/by-uuid/75887859-50e0-4bd8-98b2-84e6ad916a29 edd=off rw nomoedeset radeon.modeset=0 video=uvesafb:2560x1440-32,ywrap splash quiet
    INITRD ../initramfs-linux.img

LABEL arch-oss
    MENU LABEL Arch Linux OSS
    LINUX ../vmlinuz-linux
    APPEND root=/dev/disk/by-uuid/75887859-50e0-4bd8-98b2-84e6ad916a29 edd=off rw splash quiet
    INITRD ../initramfs-linux.img

I only manually have to change DEFAULT entry to switch between drivers on boot. arch is for catalyst and arch-oss for radeon. Note arch-oss options are clean while arch does have nomodeset and radeon.modeset=0 (just in case:P) + uvesa line is to fix blank tty bug

So with this setup I'm using catalyst, it will always boot to catalyst.

Now to switch to open source radeon run script:

pxp_switch_catalyst intel

(don't mind intel name here, it will switch to mesa, so intel/radeon/noveau)
and edit bootloader (I have to edit syslinux.cfg to boot with radeon: DEFAULT arch-oss)

That's it, now system will boot with radeon.

Sidenote: pxp_switch_catalyst is a very simple and stupid ;P script, it's switching config files through xorg.conf link, so if you need radeon's options for xorg.conf then manually create file /etc/X11/xorg.conf.oth with complete xorg.conf for radeon (in most cases you can just copy file created by aticonfig and rename fglrx to radeon in Driver line, then add needed lines). pxp_switch_catalyst script will link xorg.conf to xorg.conf.oth if you will run `pxp_switch_catalyst intel`

BTW: It's worth checking lordheavy's [mesa-git] repo with most fresh open source drivers - you can use method mentioned above also for these packages (only difference is in names of mesa/ati packages, these from mesa-git usually have additional -git in the name):
http://pkgbuild.com/~lcarlier/mesa-git/
forum thread: https://bbs.archlinux.org/viewtopic.php?id=79509

Last edited by Vi0L0 (2015-08-25 15:53:34)

Offline

#7087 2015-08-25 15:55:09

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: The AMD/ATI Bar & Grill

Huh, thats cool. I don't see a reason that I personally would need to switch between drivers, but thats good to know it can be done.

Thanks for maintaining an awesome AMD driver repository though, Vi0L0. That has helped me a lot. smile


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#7088 2015-08-26 06:01:29

ssfdust
Member
Registered: 2012-09-06
Posts: 31

Re: The AMD/ATI Bar & Grill

Hi,
I have some troubles with qt5. When I open a qt5 program with opengl, such as sddm, qtcreator, I only get a white page with the following warning messages.

qtcreator
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: i965
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
QQuickWidget: Failed to make context current
QQuickWidget::resizeEvent() no OpenGL context

And then, I find the problem is qt5 programs use /usr/lib/libGL.so.1.2.0 as default shared object, and /usr/lib/libGL.so.1.2.0 is
linked to /usr/lib/mesa/libGL.so.1.2.0
I temporarily fix the problem by linking /usr/lib/catalystpxp/fglrx/fglrx-libGL.so.1.2 to /usr/lib/libGL.so.1.2.0.
But strangely I have seted /usr/lib/catalystpxp/libGL.so as prefered object. Why does't it work?
Is there any other way to fix the problem without overriding /usr/lib/libGL.so.1.2,0?

ldconfig -p | tr -d "\t"| grep libGL.so
libGL.so.1 (libc6,x86-64) => /usr/lib/catalystpxp/libGL.so.1
libGL.so.1 (libc6,x86-64) => /usr/lib/libGL.so.1
libGL.so.1 (libc6) => /usr/lib32/catalystpxp/libGL.so.1
libGL.so.1 (libc6) => /usr/lib32/libGL.so.1
libGL.so (libc6,x86-64) => /usr/lib/catalystpxp/libGL.so
libGL.so (libc6,x86-64) => /usr/lib/libGL.so
libGL.so (libc6) => /usr/lib32/catalystpxp/libGL.so
libGL.so (libc6) => /usr/lib32/libGL.so

My mesa version is 10.6.5 from extra repo, and xf86-video-intel version is 2.99.917-1 from xorg116.

Thanks in advance


Lenovo Y471A-ifi
Arch x86_64 KDE Vim zsh
To enjoy brand new start

Offline

#7089 2015-08-26 08:44:32

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

You are right, looks like something changed in how ldconfig works and oldie dedicated -pxp solution stopped working. ATM I don't have time to fix this, so please switch to standard catalyst package(s) (which also supports pxp switching) for now.
Note that i'm slowly dropping dedicated -pxp packages and left only one of them. Anyway will look at this problem probably in the next week and let you know about any findings.

Offline

#7090 2015-08-26 09:44:26

ssfdust
Member
Registered: 2012-09-06
Posts: 31

Re: The AMD/ATI Bar & Grill

thank you and wait for your findings.


Lenovo Y471A-ifi
Arch x86_64 KDE Vim zsh
To enjoy brand new start

Offline

#7091 2015-09-01 22:14:25

Amanda S
Member
Registered: 2013-09-21
Posts: 276
Website

Re: The AMD/ATI Bar & Grill

@Vi0L0, how is your catalyst package working with linux-grsec and pax?


If it ain't broke, you haven't tweaked it enough...

Offline

#7092 2015-09-12 14:06:07

Ambrevar
Member
Registered: 2011-08-14
Posts: 212
Website

Re: The AMD/ATI Bar & Grill

Mesa 11.0 was released today and just added OpenGL 4.1 support (including tesselation!). It looks like massive performance increase has come for modern AMD cards in the last 2 years according to Phoronix, while slowly getting on par with Catalyst.

Offline

#7093 2015-09-14 20:48:49

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: The AMD/ATI Bar & Grill

So I haven't been able to update for weeks now due to the catalyst package (catalyst-test). Will we ever get to update to 4.2?

I am almost ready to nuke the catalyst driver and go back to radeon as this is getting bad. Weeks without updates will eventually break something when we can eventually update.  I really appreciate all the hardwork from Vi0L0 but this is getting to be a bit much....

Last edited by securitybreach (2015-09-14 20:49:18)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

#7094 2015-09-15 22:47:29

Holzhaus
Member
Registered: 2013-10-25
Posts: 11

Re: The AMD/ATI Bar & Grill

AMD Catalyst 15.9 is out!

System Requirements
Before attempting to install the AMD Catalyst™ Proprietary Linux Graphics Driver, the following software must be installed:

  • Xorg/Xserver 7.4 and above (up to 1.17)

  • Linux kernel 2.6 or above (up to 3.19)

  • glibc version 2.2 or 2.3

POSIX Shared Memory (/dev/shm) support is required for 3D applications
NOTE: If a Linux 2.6.11 or newer kernel was built with CONFIG_AGP enabled, the kernel AGP frontend is required to load the fglrx kernel module. To identify whether your kernel with CONFIG_AGP enabled, look for CONFIG_AGP=y in the kernel config file, or if the 'agpgart' module is loaded

System Recommendations

For optimal performance and ease of use, the following are available:

  • Kernel module build environment

  • Kernel source code include either the Kernel Source or Kernel Headers packages

The RPM utility should be installed and configured correctly on your system, if you intend to install via RPM packages

The following packages must be installed in order for the AMD Catalyst™ Proprietary Linux Graphics Driver to install and work optimally:

  • gimp-help-en

  • gimp-help-common

  • XFree86-Mesa-libGL

  • libstdc++

  • libgcc

  • XFree86-libs

  • fontconfig

  • freetype

  • zlib

  • gcc

Resolved Issues:

  • [425910] Driver installation sometimes fails on Ubuntu 14.04.3

  • [424450] Company of Heroes® 2 - Game crashes while running the performance test

  • [424794] Middle-earth™: Shadow of Mordor - Corruption observed in game

  • [424882] DIRT® Showdown - Corruption observed in game

  • [425234] DIRT® Showdown - Game crashes after the loading screen

  • [424802] DOTA™ 2 – Application hang observed while exiting the game

  • [424255] AMD Catalyst™ Installer removing EGL links resulting in Xserver/Xorg load failure

  • [423471] Unable to switch desktop mode after installing AMD Catalyst™ driver

  • [423735] Renaming Counter-Strike: GO and other Steam game binary improves performance

Known Issues:

  • [419960]: Vari-Bright on some configurations is not decreasing brightness as expected

  • [425912] Alien: Isolation - Blank screen or corruption observed on the main menu in game

Offline

#7095 2015-09-16 16:52:44

ase1590
Member
Registered: 2013-02-09
Posts: 14

Re: The AMD/ATI Bar & Grill

Hopefully this new release does work and gives me back the VT switching ability like it claims. That was an annoying bug.

Last edited by ase1590 (2015-09-16 16:53:09)

Offline

#7096 2015-09-16 17:46:52

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

Amarildo wrote:

@Vi0L0, how is your catalyst package working with linux-grsec and pax?

On previous page there was a note that I will work on it, I didn't have time, maybe on Sunday I will find some.

For now I wanna test this 15.9 release and update today (at least catalyst-test@AUR).
It doesn't officially support 4.2 kernel which is pretty sad sad.


ase1590 wrote:

Hopefully this new release does work and gives me back the VT switching ability like it claims. That was an annoying bug.

If you mean switching from X to terminal then the answer is no. The problem is still here. Thought you can workaround it with uvesafb.

Glitches on chrome/vaapi are also here.


Performance of CS:GO is much better. I was able to play on maxed settings (well without FXAA as I don't like it) and MSAAx8 @2560x1440 @290x and it was fluid. CSGO fans should be rather happy with this release.

I should be able to update catalyst-test@AUR in a minutes, other packages will have to wait till Sunday probably hmm sorry

Last edited by Vi0L0 (2015-09-16 20:26:59)

Offline

#7097 2015-09-16 23:59:13

Holzhaus
Member
Registered: 2013-10-25
Posts: 11

Re: The AMD/ATI Bar & Grill

Vi0L0 wrote:

It doesn't officially support 4.2 kernel which is pretty sad sad.

Yeah, but the inofficial patch is here: https://github.com/kolasa/fglrx-core-15 … ec5e.patch

Last edited by Holzhaus (2015-09-17 00:01:56)

Offline

#7098 2015-09-17 04:44:49

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

Holzhaus wrote:
Vi0L0 wrote:

It doesn't officially support 4.2 kernel which is pretty sad sad.

Yeah, but the inofficial patch is here: https://github.com/kolasa/fglrx-core-15 … ec5e.patch

I was also kinda "excited" after seeing kolasa's new push. Unfortunatelly this is just ubuntu's patch, checked it and it dies like every community patch I've seen before : http://ati.cchtml.com/show_bug.cgi?id=1189
You can also test if it's working for you - just uncomment 4.2 patching of catalyst-test' PKGBUILD.

Offline

#7099 2015-09-17 19:23:27

Holzhaus
Member
Registered: 2013-10-25
Posts: 11

Re: The AMD/ATI Bar & Grill

I'm still on Linux 4.1.6-1, so I cannot test atm.

Offline

#7100 2015-09-20 20:19:10

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

Re: The AMD/ATI Bar & Grill

Sadly we still don't have 4.2 kernel support...

I've updated [catalyst] and [catalyst-stable] with catalyst 15.9. It didin't deserve to be stable (mainly because of noobish tty bug) but oh well, let it be (you can always workaround this bug with uvesafb). I shall be able to update AUR tommorow.
Packages are patched with three patches for 4.2 kernel support (one big from ubuntu, one little from kolasa and one little mine), just like catalyst-test@AUR. This is all we have for now, feel free to test/help, it does crash on init here so still there's linux<4.2 in dependencies (but it will compile on 4.2).
Archive repos are called [catalyst-stable-15.5] and [catalyst-15.7].

Last edited by Vi0L0 (2015-09-20 20:19:24)

Offline

Board footer

Powered by FluxBB