You are not logged in.

#7176 2015-10-22 12:48:07

Niccola
Member
Registered: 2013-07-03
Posts: 8

Re: The AMD/ATI Bar & Grill

Vi0L0 wrote:

I just updated wiki on pxp support, it was terribly wrong about -pxp packages, sorry for late update.

That is true! I saw it was really outdated since I managed to play with Arch Linux

Vi0L0 wrote:

@Niccola:
I was never able to confirm anything about pxp on my own, so can you confirm that catalyst 15.9 works fine on newest xorg-server and xf86-video-intel from [extra] repos?
I'm also thinking about adding a couple of your notes to the wiki, if you don't mind wink

Of course I don't mind! Actually I was the fglrx supporter under Ubuntu distro. I started this contribution adventure on fglrx domain since I bought my laptop early 2012. It includes a long time membership on Ubuntu X teams @ launchpad.net which I've contributed by providing latest fglrx 100% error free (installation/usage side) drivers focused on pxp users.
Furthermore, I also contributed user-side by managing to help them on this official forum thread.

So I am totally in to contribute with Arch Linux (which I switched to not a long ago) focused on fglrx pxp driver and other domains that I am able to do.

If you want. I can write an informative step-by-step on how to get fglrx pxp working

Vi0L0 wrote:

It's fine, intentional. You probably need opencl-headers, thought. Run `clinfo` to check basic cl informations. If you see "Device Type: CL_DEVICE_TYPE_GPU" it means you have gpu acceleration.

I did it! Since later yesterday I was able to continue developing OpenCL and I had no problem related with fglrx drivers

Vi0L0 wrote:

Hmm... I would modify pxp_catalyst_switch script a bit so it could recognize separated xorg.confs for intel and radeon. Additional switch_to_radeon funtion and switch option inside of this script also sounds like a good plan. Not sure if blacklisting intel/radeon is a must have here.

That would be great, @Vi0L0!
I succeed to write some code on Debian that could switch between those drivers, but I am not sure if I can reproduce same results on Arch (I will test later).
So if you want any support to do so, I would love to contribute to do so!

Offline

#7177 2015-10-23 08:03:56

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

Re: The AMD/ATI Bar & Grill

Every kind of help or contribution is always welcome.
I love your enthusiasm! smile

As for the pxp - one thing suprised me - that you have to blacklist intel module to get it working. Till now, basic on users words, I was thinking that fglrx is somehow using intel module and speaking with it. But if its working for you then I guess it's good.
Also this error:

(EE) AIGLX error: failed to open /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot open shared object file: No such file or directory 

was never braking anything on my side, system was able to find this lib either way.
That's why I was always avoiding such a linking:

ln -s /usr/lib/xorg/modules/dri/fglrx_dri.so /usr/X11R6/lib64/modules/dri/fglrx_dri.so

Obviously path to this lib is hardcoded inside catalyst binaries. Like said I it was never problem for me, and my desktop systems. It could be a must have on pxp systems, on the other side no pxp user claimed it as a must have (or I simply missed it).
If it's a must have on pxp then I would probably rather like to create a bindiff patch (if it's possible, but should be) than to create /usr/X11R6 directory. Both ways are somehow hackish, though. I'm wondering if there's a way to avoid it. Best if AMD could fix it on their side, but basing on my latest 4.2 kernel experience I can say that the communication with AMD isn't good and isn't easy.

Last edited by Vi0L0 (2015-10-23 08:06:31)

Offline

#7178 2015-10-25 13:58:33

Jamal
Member
Registered: 2015-10-25
Posts: 3

Re: The AMD/ATI Bar & Grill

Hello all

I've attempted three times to install the Catalyst drivers for my 2x Radeon R9 280x. Each time I did a fresh install. Running lspci | grep -e VGA shows both cards. But at boot I can see an error about "No UMS support" for each one. Been stuck for 48 hrs reading the wiki. Learned a lot, tried a lot, but still not at all sure where to go from here.

I've had no trouble in the past installing Catalyst drivers in *ubuntu via CLI. Any advice?

Thanks,
Jamal

Edit: Forgot to mention "nomodeset" is being used with kernel 4.1 lts. I've tried using both [catalyst] & [catalyst-stable] repos

Last edited by Jamal (2015-10-25 22:46:07)

Offline

#7179 2015-10-25 22:51:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,293
Website

Re: The AMD/ATI Bar & Grill

Merged...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7180 2015-10-26 15:00:30

Niccola
Member
Registered: 2013-07-03
Posts: 8

Re: The AMD/ATI Bar & Grill

Vi0L0 wrote:

Every kind of help or contribution is always welcome.
I love your enthusiasm! smile

Linux Community is always welcome, sir!

Vi0L0 wrote:

As for the pxp - one thing suprised me - that you have to blacklist intel module to get it working. Till now, basic on users words, I was thinking that fglrx is somehow using intel module and speaking with it. But if its working for you then I guess it's good.

Actually, I had to blacklist intel because I was nomodesetting in linux boot cmd line, When I remove nomodeset I realized that is no more necessary to blacklist intel modules. Now, I am working on fglrx+intel without blacklist anything.

Vi0L0 wrote:

Also this error:

(EE) AIGLX error: failed to open /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot open shared object file: No such file or directory 

was never braking anything on my side, system was able to find this lib either way.
That's why I was always avoiding such a linking:

ln -s /usr/lib/xorg/modules/dri/fglrx_dri.so /usr/X11R6/lib64/modules/dri/fglrx_dri.so

Obviously path to this lib is hardcoded inside catalyst binaries. Like said I it was never problem for me, and my desktop systems. It could be a must have on pxp systems, on the other side no pxp user claimed it as a must have (or I simply missed it).
If it's a must have on pxp then I would probably rather like to create a bindiff patch (if it's possible, but should be) than to create /usr/X11R6 directory.

I do remember editing /etc/X11/Xsession.d/10fglrx (in Ubuntu) because it was obviously hardcoded fglrx lib directory and it was wrongly directed

However, I am still unable to find 10fglrx file @ arch linux (actually I didn't made a decent search at all).
What really grind my gears is that Arch linux LIBGL_DRIVERS_PATH env variable is correctly setted, by fglrx, as
/usr/lib/xorg/modules/dri/:/usr/lib32/xorg/modules/dri

But I couldn't find, yet, where fglrx sets it.

Neither why Arch tries to fetch libs @ /usr/X11R6/lib64/modules/dri/

Vi0L0 wrote:

Both ways are somehow hackish, though. I'm wondering if there's a way to avoid it. Best if AMD could fix it on their side, but basing on my latest 4.2 kernel experience I can say that the communication with AMD isn't good and isn't easy.

Indeed! However, I am already tried to contact AMD asking for support since 2012, and I give up. I try to understand their changes and apply to the system I am directing on.
Now, I do prefer to hack the drivers rather than bother myself into a answerless support contact

Last edited by Niccola (2015-10-26 15:05:07)

Offline

#7181 2015-10-26 20:01:22

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

Re: The AMD/ATI Bar & Grill

Linux kernel 4.2 support
We've got workaround for linux kernel 4.2 support. It was found by Billy Way on launchpad and announced here: http://ati.cchtml.com/show_bug.cgi?id=1189

fglrx module needs to be build on gcc 4.9.x (or < 5) to work on linux 4.2

For now on AUR side only catalyst-test is implementing workaround: https://aur4.archlinux.org/packages/catalyst-test/
You have to also install gcc49@AUR : https://aur.archlinux.org/packages/gcc49/
or use a package compiled by me for x86_64 : http://mirror.rts-informatique.fr/archl … pkg.tar.xz


Edit: I have updated [catalyst] repo as it's my testing ground, leaving [catalyst-stable] untouched for now, for some time.
[catalyst] repo packages should now be compatible with linux 4.2, but you need to install gcc49 package. It's available on both repos.
Also there's new/old package called "catalyst" with fglrx module inside compiled for recent linux package - should be usefull for those who don't want to or can not install gcc49 package.

I'm unable to check i686 drivers, can i686 user confirm if it's working?

Edit2: This could be dejavu or my brain or something but it looks like there's no chrome corruption on my side when compositing (kwin) is enabled - been using chrome for hours and nothing happened, ofcourse using vaapi accel and output of video clip will force corruption to show up anyway, but well, it looks like I can enable kwin one more time tongue YIPPIE-KI-YAY (sublime 3 still lags then though)


@Jamal:
can you give us more details, like what's happening. "No UMS support" is normall, never had problems with it. Blacklisting radeon module should fix it, but I don't think its the original problem. Xorg.0.log or journalctl -xn / journalctl -b would give us some details. Plus your /etc/X11/xorg.conf.

@Niccola:
please give me some time to answer you wink
missing free time really badly

Last edited by Vi0L0 (2015-10-27 21:44:41)

Offline

#7182 2015-10-28 08:30:09

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 497

Re: The AMD/ATI Bar & Grill

Installed the newest revisions of 15.9 and it seems to work! Thanks for the update! smile


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad X200 Tablet, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

#7183 2015-10-28 17:20:30

kox
Member
Registered: 2015-05-01
Posts: 92

Re: The AMD/ATI Bar & Grill

I tried it yesterday and it didn't work. GDM just wouldn't start, everything stopped at boot screen and the system was bricked (I disabled gdm from chroot on livecd). I didn't have time, so I uninstalled the driver, maybe I will try again in a week or so. I got a question, how do I check what exactly went wrong?

Offline

#7184 2015-10-28 18:41:18

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

Re: The AMD/ATI Bar & Grill

It's always good to have at least two kernels intalled in different versions - this way you may easily switch to one that works.
Could be that your system is not that bricked but it's unable to show you anything - you won't be able to switch to tty untill you will install and configure uvesafb, GDM won't work without patched cogl (the problem with my patched cogl is that it wont work with anything other than catalyst, Philip Müller from Manjaro prepared fixed version, after testing I will add it to repo, just not today as I dont have time sad). Without this you will only see a blank screen.
But if you did all this and still only see a blank screen or freezed screen, then its possible that the workaround didn't work for you (althought I'm pretty sure that it will always work on x86_64 systems). So when you system is "bricked" try to log into via ssh (don't forget to enable it before) and check what journalctl -b and dmesg is showing. Feel free to share it here. If your system is not responding to ssh you should also be able to get archive log from journalctl after switching to working kernel/driver


Edit: cogl was updated on [catalyst] repo, for testing purposes. It works fine on my system on both catalyst and xf86-video-ati. Philip said that Manjaro users tested it also on intel and nvidia. Source is here: https://github.com/manjaro/packages-ext … aster/cogl

Last edited by Vi0L0 (2015-10-29 19:59:52)

Offline

#7185 2015-10-30 09:30:43

kox
Member
Registered: 2015-05-01
Posts: 92

Re: The AMD/ATI Bar & Grill

My system is not bricked anymore, I restored it by chrooting into it from another system.  I will try this cogl next time, but I don't know really when the next time will be as I have so little time and don't know if it's worth it. Intel hd graphics work very good, except I have rendering problems in chromium - canvas is not always updated after css is updated. I'm developing a dynamic web application and it ruins development for me, but it works ok in firefox, so I will stick with firefox for now. It's also annoying when I'm typing, the text cursor is pulsating with very low frequency and the text is delayed when I type, lagging. I wonder whether using catalyst would fix this problem. I tried the open source driver, but it was the same.
Is there a display manager that works out of the box with catalyst?

Edit: It's advised to disable kms, but I'd like to use powerxpress feature. What's current status on it?

Last edited by kox (2015-10-30 14:55:16)

Offline

#7186 2015-10-31 19:28:17

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

Re: The AMD/ATI Bar & Grill

kox wrote:

Is there a display manager that works out of the box with catalyst?

lxdm and sddm in example
but be aware that GNOME still needs patched cogl to work (just like gdm)

kox wrote:

Edit: It's advised to disable kms, but I'd like to use powerxpress feature. What's current status on it?

read Niccola's posts on this and previous page

Offline

#7187 2015-11-01 19:25:43

XtremelyNooby
Member
Registered: 2015-09-24
Posts: 6

Re: The AMD/ATI Bar & Grill

Hey guys,

This is what I'm getting when I run dmesg | grep -i radeon

[    3.269907] [drm] radeon kernel modesetting enabled.
[    3.308907] radeon 0000:03:00.0: enabling device (0000 -> 0003)
[    3.385784] radeon 0000:03:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[    3.385789] radeon 0000:03:00.0: GTT: 2048M 0x0000000080000000 - 0x00000000FFFFFFFF
[    3.385872] [drm] radeon: 2048M of VRAM memory ready
[    3.385873] [drm] radeon: 2048M of GTT memory ready.
[    3.402181] [drm] radeon: dpm initialized
[    3.414903] radeon 0000:03:00.0: WB enabled
[    3.414906] radeon 0000:03:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff8800ca9b2c00
[    3.414908] radeon 0000:03:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff8800ca9b2c04
[    3.414910] radeon 0000:03:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff8800ca9b2c08
[    3.414912] radeon 0000:03:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff8800ca9b2c0c
[    3.414914] radeon 0000:03:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff8800ca9b2c10
[    3.419428] radeon 0000:03:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90001c35a18
[    3.440205] radeon 0000:03:00.0: fence driver on ring 6 use gpu addr 0x0000000080000c18 and cpu addr 0xffff8800ca9b2c18
[    3.440211] radeon 0000:03:00.0: fence driver on ring 7 use gpu addr 0x0000000080000c1c and cpu addr 0xffff8800ca9b2c1c
[    3.440218] radeon 0000:03:00.0: radeon: MSI limited to 32-bit
[    3.440254] radeon 0000:03:00.0: radeon: using MSI.
[    3.440303] [drm] radeon: irq initialized.
[    6.138020] [drm] Radeon Display Connectors
[    6.146594] radeon 0000:03:00.0: No connectors reported connected with modes
[    6.148790] radeon 0000:03:00.0: fb1: radeondrmfb frame buffer device
[    6.148792] radeon 0000:03:00.0: registered panic notifier
[    6.163957] [drm] Initialized radeon 2.43.0 20080528 for 0000:03:00.0 on minor 0
[   14.976349] radeon 0000:03:00.0: WB enabled
[   14.976352] radeon 0000:03:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff8800ca9b2c00
[   14.976354] radeon 0000:03:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff8800ca9b2c04
[   14.976355] radeon 0000:03:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff8800ca9b2c08
[   14.976356] radeon 0000:03:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff8800ca9b2c0c
[   14.976358] radeon 0000:03:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff8800ca9b2c10
[   14.977902] radeon 0000:03:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90001c35a18
[   14.998341] radeon 0000:03:00.0: fence driver on ring 6 use gpu addr 0x0000000080000c18 and cpu addr 0xffff8800ca9b2c18
[   14.998343] radeon 0000:03:00.0: fence driver on ring 7 use gpu addr 0x0000000080000c1c and cpu addr 0xffff8800ca9b2c1c
[   17.670983] Modules linked in: fuse sha256_ssse3 sha256_generic hmac drbg ansi_cprng ctr ccm joydev mousedev rtsx_usb_sdmmc rtsx_usb_ms memstick mmc_core iTCO_wdt iTCO_vendor_support dell_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel dell_laptop dcdbas dell_smm_hwmon kvm arc4 amdkfd amd_iommu_v2 ath9k crct10dif_pclmul nls_iso8859_1 crc32_pclmul crc32c_intel nls_cp437 ath9k_common radeon dell_led ath9k_hw vfat fat ath i915 snd_hda_codec_realtek snd_hda_codec_generic mac80211 aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper evdev ttm input_leds cryptd led_class mac_hid snd_hda_intel snd_hda_codec drm_kms_helper psmouse pcspkr serio_raw uvcvideo snd_hda_core videobuf2_vmalloc snd_hwdep i2c_i801 videobuf2_memops ath3k snd_pcm btusb videobuf2_core
[   17.671291]  [<ffffffffa096d976>] radeon_pm_late_init+0x76/0x1a0 [radeon]
[   17.671309]  [<ffffffffa0909945>] radeon_resume_kms+0x255/0x3b0 [radeon]
[   17.671324]  [<ffffffffa0907143>] radeon_pmops_runtime_resume+0x73/0xb0 [radeon]
[   17.671392]  [<ffffffffa0907037>] radeon_drm_ioctl+0x37/0x80 [radeon]
[   17.671458] [drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for dpm state
[   17.671480] Modules linked in: fuse sha256_ssse3 sha256_generic hmac drbg ansi_cprng ctr ccm joydev mousedev rtsx_usb_sdmmc rtsx_usb_ms memstick mmc_core iTCO_wdt iTCO_vendor_support dell_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel dell_laptop dcdbas dell_smm_hwmon kvm arc4 amdkfd amd_iommu_v2 ath9k crct10dif_pclmul nls_iso8859_1 crc32_pclmul crc32c_intel nls_cp437 ath9k_common radeon dell_led ath9k_hw vfat fat ath i915 snd_hda_codec_realtek snd_hda_codec_generic mac80211 aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper evdev ttm input_leds cryptd led_class mac_hid snd_hda_intel snd_hda_codec drm_kms_helper psmouse pcspkr serio_raw uvcvideo snd_hda_core videobuf2_vmalloc snd_hwdep i2c_i801 videobuf2_memops ath3k snd_pcm btusb videobuf2_core
[   17.671714]  [<ffffffffa096d98d>] radeon_pm_late_init+0x8d/0x1a0 [radeon]
[   17.671732]  [<ffffffffa0909945>] radeon_resume_kms+0x255/0x3b0 [radeon]
[   17.671746]  [<ffffffffa0907143>] radeon_pmops_runtime_resume+0x73/0xb0 [radeon]
[   17.671805]  [<ffffffffa0907037>] radeon_drm_ioctl+0x37/0x80 [radeon]
[   17.671858] [drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for dpm state
[   17.671876] Modules linked in: fuse sha256_ssse3 sha256_generic hmac drbg ansi_cprng ctr ccm joydev mousedev rtsx_usb_sdmmc rtsx_usb_ms memstick mmc_core iTCO_wdt iTCO_vendor_support dell_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel dell_laptop dcdbas dell_smm_hwmon kvm arc4 amdkfd amd_iommu_v2 ath9k crct10dif_pclmul nls_iso8859_1 crc32_pclmul crc32c_intel nls_cp437 ath9k_common radeon dell_led ath9k_hw vfat fat ath i915 snd_hda_codec_realtek snd_hda_codec_generic mac80211 aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper evdev ttm input_leds cryptd led_class mac_hid snd_hda_intel snd_hda_codec drm_kms_helper psmouse pcspkr serio_raw uvcvideo snd_hda_core videobuf2_vmalloc snd_hwdep i2c_i801 videobuf2_memops ath3k snd_pcm btusb videobuf2_core
[   17.672104]  [<ffffffffa096d9a4>] radeon_pm_late_init+0xa4/0x1a0 [radeon]
[   17.672121]  [<ffffffffa0909945>] radeon_resume_kms+0x255/0x3b0 [radeon]
[   17.672136]  [<ffffffffa0907143>] radeon_pmops_runtime_resume+0x73/0xb0 [radeon]
[   17.672194]  [<ffffffffa0907037>] radeon_drm_ioctl+0x37/0x80 [radeon]
[   17.672244] [drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for power profile
[   17.672262] Modules linked in: fuse sha256_ssse3 sha256_generic hmac drbg ansi_cprng ctr ccm joydev mousedev rtsx_usb_sdmmc rtsx_usb_ms memstick mmc_core iTCO_wdt iTCO_vendor_support dell_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel dell_laptop dcdbas dell_smm_hwmon kvm arc4 amdkfd amd_iommu_v2 ath9k crct10dif_pclmul nls_iso8859_1 crc32_pclmul crc32c_intel nls_cp437 ath9k_common radeon dell_led ath9k_hw vfat fat ath i915 snd_hda_codec_realtek snd_hda_codec_generic mac80211 aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper evdev ttm input_leds cryptd led_class mac_hid snd_hda_intel snd_hda_codec drm_kms_helper psmouse pcspkr serio_raw uvcvideo snd_hda_core videobuf2_vmalloc snd_hwdep i2c_i801 videobuf2_memops ath3k snd_pcm btusb videobuf2_core
[   17.672486]  [<ffffffffa096d9bb>] radeon_pm_late_init+0xbb/0x1a0 [radeon]
[   17.672502]  [<ffffffffa0909945>] radeon_resume_kms+0x255/0x3b0 [radeon]
[   17.672517]  [<ffffffffa0907143>] radeon_pmops_runtime_resume+0x73/0xb0 [radeon]
[   17.672575]  [<ffffffffa0907037>] radeon_drm_ioctl+0x37/0x80 [radeon]
[   17.672624] [drm:radeon_pm_late_init [radeon]] *ERROR* failed to create device file for power method

PRIME doesn't work on the laptop. I tried running sensors and it detects the CPU and GPU, but the temp for GPU shows as N/A. I'm on a laptop.

Thanks

Offline

#7188 2015-11-01 20:02:03

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 706

Re: The AMD/ATI Bar & Grill

First, you've chosen a bit wrong thread to ask about this, since this one is focused on proprietary Catalyst driver.

Second, N/A does not mean that something is wrong, on the contrary. If Radeon card is not being currently used, Radeon DPM will shut it down completely, and sensors will just show N/A.

What's the output of:

xrandr --listproviders

DRI_PRIME=1 glxinfo|grep 'OpenGL renderer'

Btw, those errors about late init and such, appeared in kernel 4.2.5, and have already been fixed upstream, next kernel release should fix them.

Last edited by Xabre (2015-11-01 20:04:37)

Offline

#7189 2015-11-01 20:14:36

XtremelyNooby
Member
Registered: 2015-09-24
Posts: 6

Re: The AMD/ATI Bar & Grill

Sorry, I didn't know this thread was for proprietary only.

xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x7e cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated providers: 0 name:Intel
Provider 1: id: 0x55 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 0 associated providers: 0 name:radeon
[stonedwhale@xerces ~]$ DRI_PRIME=1 glxinfo | grep 'OpenGL renderer'
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 

When I do

xrandr --setprovideroffloadsink 0x55 0x7e

, it worked and

DRI_PRIME=1 glxinfo|grep 'OpenGL renderer'

shows the AMD card but when I run a game, "Dust: An ET", it's not using the GPU.

Last edited by XtremelyNooby (2015-11-01 20:15:18)

Offline

#7190 2015-11-01 20:27:04

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 706

Re: The AMD/ATI Bar & Grill

Have to start the game with:

DRI_PRIME=1 game_executable

Some, if not most, proprietary games have a script for starting the game, and that script usually resets environmental variables, including DRI_PRIME=1 setting. That means you have to tweak the script, if possible. It won't always work, though.

If you wish to test PRIME, test it on some open source game, like Xonotic. If it works for opensource games, issue is not with Radeon or PRIME, but with the game you're trying to run.

Offline

#7191 2015-11-01 21:12:25

XtremelyNooby
Member
Registered: 2015-09-24
Posts: 6

Re: The AMD/ATI Bar & Grill

Do you know why

sensors

doesn't pick up the gpu?

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +46.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:         +46.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:         +42.0°C  (high = +100.0°C, crit = +100.0°C)

radeon-pci-0300
Adapter: PCI adapter
temp1:            N/A  (crit = +120.0°C, hyst = +90.0°C)

I tried running the command

DRI_PRIME=1 steam steam://rungameid/236090

but it still won't work.

Offline

#7192 2015-11-01 21:46:36

Jannis
Member
Registered: 2013-06-03
Posts: 48

Re: The AMD/ATI Bar & Grill

XtremelyNooby wrote:

I tried running the command

DRI_PRIME=1 steam steam://rungameid/236090

but it still won't work.

In your steam library, right click on your game, select "properties" then click on the button "set launch options" and enter:

DRI_PRIME=1 %command%

That way it should work. I use

SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command%

with some of my steam games because I have a multi monitor setup and don't want the games to minimize when they lose focus.

Offline

#7193 2015-11-01 23:32:00

XtremelyNooby
Member
Registered: 2015-09-24
Posts: 6

Re: The AMD/ATI Bar & Grill

It seems like it's turning off automatically.

If I run

sensors

right after I run

xrandr --setprovideroffloadsink 0x55 0x7e

, it'll show this

[stonedwhale@xerces ~]$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +47.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:         +46.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:         +46.0°C  (high = +100.0°C, crit = +100.0°C)

radeon-pci-0300
Adapter: PCI adapter
temp1:        +46.0°C  (crit = +120.0°C, hyst = +90.0°C)

but 20 seconds later, it'll show this

[stonedwhale@xerces ~]$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +47.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:         +47.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:         +45.0°C  (high = +100.0°C, crit = +100.0°C)

radeon-pci-0300
Adapter: PCI adapter
temp1:            N/A  (crit = +120.0°C, hyst = +90.0°C)

wtf

Offline

#7194 2015-11-01 23:58:20

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 706

Re: The AMD/ATI Bar & Grill

Xabre wrote:

... N/A does not mean that something is wrong, on the contrary. If Radeon card is not being currently used, Radeon DPM will shut it down completely, and sensors will just show N/A.

Not a fan of quoting myself.

Open two terminals. In one run DRI_PRIME=1 glxgears. In the other run sensors repeatedly. Then turn off glxgears, and see how radeon temperature in sensors becomes N/A.

Application uses Radeon card via PRIME > sensors read radeon temperature. No application uses Radeon card > radeon driver automatically powers off the card since it's not needed (power saving), therefore, there is no temperature to read.

Offline

#7195 2015-11-02 00:16:39

XtremelyNooby
Member
Registered: 2015-09-24
Posts: 6

Re: The AMD/ATI Bar & Grill

Xabre wrote:
Xabre wrote:

... N/A does not mean that something is wrong, on the contrary. If Radeon card is not being currently used, Radeon DPM will shut it down completely, and sensors will just show N/A.

Not a fan of quoting myself.

Open two terminals. In one run DRI_PRIME=1 glxgears. In the other run sensors repeatedly. Then turn off glxgears, and see how radeon temperature in sensors becomes N/A.

Application uses Radeon card via PRIME > sensors read radeon temperature. No application uses Radeon card > radeon driver automatically powers off the card since it's not needed (power saving), therefore, there is no temperature to read.


You're a legend

Thanks so much!

Offline

#7196 2015-11-02 16:54:17

frumble
Member
From: Germany
Registered: 2012-05-20
Posts: 102
Website

Re: The AMD/ATI Bar & Grill

Hey, I have a new Radeon R9 380 here and want to use the new amdgpu kernel driver. I have Linux 4.2 and the latest mesa and llvm updates. Before, the PC had a Radeon HD 7770 with radeonsi. So, no config is changed, there is not even an xorg.conf, but my systems fails to boot on launching SDDM/X.org. Xorg.0.log:

[    22.984] 
X.Org X Server 1.17.4
Release Date: 2015-10-28
[    22.984] X Protocol Version 11, Revision 0
[    22.984] Build Operating System: Linux 4.2.3-1-ARCH x86_64 
[    22.984] Current Operating System: Linux Mongo 4.2.5-1-MANJARO #1 SMP PREEMPT Tue Oct 27 22:56:28 UTC 2015 x86_64
[    22.984] Kernel command line: BOOT_IMAGE=/vmlinuz-4.2-x86_64 root=UUID=ca495e45-3da1-4030-9b22-4536f22a7cf4 rw rootflags=subvol=mj1 zswap.enabled=1 zswap.compressor=lzo it87 splash resume=UUID=8a965a23-e395-4322-a65e-8b05d49251dc
[    22.984] Build Date: 31 October 2015  06:38:45AM
[    22.984]  
[    22.984] Current version of pixman: 0.32.8
[    22.984] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    22.984] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    22.984] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov  2 17:22:44 2015
[    22.985] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    22.985] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    22.986] (==) No Layout section.  Using the first Screen section.
[    22.986] (==) No screen section available. Using defaults.
[    22.986] (**) |-->Screen "Default Screen Section" (0)
[    22.986] (**) |   |-->Monitor "<default monitor>"
[    22.986] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    22.986] (**) |   |-->Device "Device0"
[    22.986] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    22.986] (==) Automatically adding devices
[    22.986] (==) Automatically enabling devices
[    22.986] (==) Automatically adding GPU devices
[    22.989] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    22.989] 	Entry deleted from font path.
[    22.989] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    22.989] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    22.989] 	Entry deleted from font path.
[    22.989] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    22.989] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[    22.989] (==) ModulePath set to "/usr/lib/xorg/modules"
[    22.989] (**) Extension "Composite" is enabled
[    22.989] (**) Extension "RENDER" is enabled
[    22.989] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    22.990] (II) Loader magic: 0x817d60
[    22.990] (II) Module ABI versions:
[    22.990] 	X.Org ANSI C Emulation: 0.4
[    22.990] 	X.Org Video Driver: 19.0
[    22.990] 	X.Org XInput driver : 21.1
[    22.990] 	X.Org Server Extension : 9.0
[    22.991] (EE) systemd-logind: failed to get session: PID 1000 does not belong to any known session
[    22.992] (II) xfree86: Adding drm device (/dev/dri/card0)
[    22.994] (--) PCI:*(0:1:0:0) 1002:6939:174b:e308 rev 241, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xfea00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[    22.994] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    22.994] (II) LoadModule: "glx"
[    22.995] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    23.012] (II) Module glx: vendor="X.Org Foundation"
[    23.012] 	compiled for 1.17.4, module version = 1.0.0
[    23.012] 	ABI class: X.Org Server Extension, version 9.0
[    23.012] (==) AIGLX enabled
[    23.012] (II) LoadModule: "radeon"
[    23.012] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[    23.014] (II) Module radeon: vendor="X.Org Foundation"
[    23.014] 	compiled for 1.17.0, module version = 7.5.0
[    23.014] 	Module class: X.Org Video Driver
[    23.014] 	ABI class: X.Org Video Driver, version 19.0
[    23.014] (II) RADEON: Driver for ATI Radeon chipsets:
	ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
	ATI Radeon Mobility X300 (M24) 3152 (PCIE),
	ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI),
	ATI Radeon X600 (RV380) 3E50 (PCIE),
	ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136,
	ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP),
	ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
	ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP),
	ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
	ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP),
	ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
	ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650,
	ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237,
	ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336,
	ATI Radeon IGP330M/340M/350M (U2) 4337,
	ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI),
	ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP),
	ATI Radeon X800PRO (R420) JI (AGP),
	ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP),
	ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP),
	ATI Radeon Mobility 9800 (M18) JN (AGP),
	ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP),
	ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP),
	ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP),
	ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP),
	ATI Radeon Mobility M7 LW (AGP),
	ATI Mobility FireGL 7800 M7 LX (AGP),
	ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
	ATI FireGL Mobility 9000 (M9) Ld (AGP),
	ATI Radeon Mobility 9000 (M9) Lf (AGP),
	ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI FireMV 2400 PCI,
	ATI Radeon 9700 Pro ND (AGP), ATI Radeon 9700/9500Pro NE (AGP),
	ATI Radeon 9600TX NF (AGP), ATI FireGL X1 NG (AGP),
	ATI Radeon 9800PRO NH (AGP), ATI Radeon 9800 NI (AGP),
	ATI FireGL X2 NK (AGP), ATI Radeon 9800XT NJ (AGP),
	ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP),
	ATI Radeon Mobility 9600 (M10) NQ (AGP),
	ATI Radeon Mobility 9600 (M11) NR (AGP),
	ATI Radeon Mobility 9600 (M10) NS (AGP),
	ATI FireGL Mobility T2 (M10) NT (AGP),
	ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP),
	ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
	ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
	ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI),
	ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI),
	ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI),
	ATI Radeon Mobility X300 (M22) 5460 (PCIE),
	ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE),
	ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE),
	ATI Radeon X800PRO (R423) UI (PCIE),
	ATI Radeon X800LE (R423) UJ (PCIE),
	ATI Radeon X800SE (R423) UK (PCIE),
	ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE),
	ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE),
	ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE),
	ATI FireGL unknown (R423) UR (PCIE),
	ATI FireGL unknown (R423) UT (PCIE),
	ATI Mobility FireGL V5000 (M26) (PCIE),
	ATI Mobility FireGL V5000 (M26) (PCIE),
	ATI Mobility Radeon X700 XL (M26) (PCIE),
	ATI Mobility Radeon X700 (M26) (PCIE),
	ATI Mobility Radeon X700 (M26) (PCIE),
	ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834,
	ATI Radeon Mobility 9100 IGP (U3) 5835,
	ATI Radeon XPRESS 200 5954 (PCIE),
	ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP),
	ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP),
	ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI),
	ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE),
	ATI Radeon XPRESS 200M 5975 (PCIE),
	ATI Radeon XPRESS 200 5A41 (PCIE),
	ATI Radeon XPRESS 200M 5A42 (PCIE),
	ATI Radeon XPRESS 200 5A61 (PCIE),
	ATI Radeon XPRESS 200M 5A62 (PCIE),
	ATI Radeon X300 (RV370) 5B60 (PCIE),
	ATI Radeon X600 (RV370) 5B62 (PCIE),
	ATI Radeon X550 (RV370) 5B63 (PCIE),
	ATI FireGL V3100 (RV370) 5B64 (PCIE),
	ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE),
	ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
	ATI Radeon Mobility 9200 (M9+) 5C63 (AGP),
	ATI Mobility Radeon X800 XT (M28) (PCIE),
	ATI Mobility FireGL V5100 (M28) (PCIE),
	ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE),
	ATI Radeon X850 XT PE (R480) (PCIE),
	ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE),
	ATI unknown Radeon / FireGL (R480) 5D50 (PCIE),
	ATI Radeon X850 XT (R480) (PCIE),
	ATI Radeon X800XT (R423) 5D57 (PCIE),
	ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE),
	ATI Radeon X700 PRO (RV410) (PCIE),
	ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE),
	ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800,
	ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800,
	ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300,
	ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800,
	ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800,
	ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
	ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
	ATI Mobility Radeon X1400, ATI Radeon X1300/X1550,
	ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300,
	ATI Mobility Radeon X1300, ATI Mobility Radeon X1300,
	ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300,
	ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350,
	ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550,
	ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450,
	ATI Radeon X1300/X1550, ATI Mobility Radeon X2300,
	ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
	ATI Mobility Radeon X1350, ATI Mobility Radeon X1450,
	ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350,
	ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600,
	ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600,
	ATI Mobility FireGL V5200, ATI Mobility Radeon X1600,
	ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600,
	ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400,
	ATI Mobility FireGL V5250, ATI Mobility Radeon X1700,
	ATI Mobility Radeon X1700 XT, ATI FireGL V5200,
	ATI Mobility Radeon X1700, ATI Radeon X2300HD,
	ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300,
	ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950,
	ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
	ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
	ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
	ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950,
	ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560,
	ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400,
	ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560,
	ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835,
	ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200,
	ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740,
	ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT,
	ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT,
	ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600,
	ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
	ATI Radeon 4800 Series, ATI Radeon HD 4850 x2,
	ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL),
	ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2,
	ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270,
	AMD FireStream 9250, ATI FirePro V8700 (FireGL),
	ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
	ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series,
	ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98,
	ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP),
	ATI Mobility Radeon HD 4670, ATI FirePro M5750,
	ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP),
	ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
	ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
	ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
	ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
	ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
	ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770,
	ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT,
	ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000,
	ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT,
	ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610,
	ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
	ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
	ATI Mobility Radeon HD 3850 X2, ATI RV670,
	ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2,
	ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850,
	ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550,
	ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710,
	ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series,
	ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series,
	ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
	ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
	ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
	ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
	ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
	ATI FireGL V3600, ATI Radeon HD 2600 LE,
	ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
	ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
	ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430,
	ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450,
	ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series,
	ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO,
	ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO,
	ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
	ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
	ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
	ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
	ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics,
	ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2,
	SUMO, SUMO, SUMO2, SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200,
	ATI Radeon 4100, ATI Mobility Radeon HD 4200,
	ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
	AMD Radeon HD 6310 Graphics, AMD Radeon HD 6310 Graphics,
	AMD Radeon HD 6250 Graphics, AMD Radeon HD 6250 Graphics,
	AMD Radeon HD 6300 Series Graphics,
	AMD Radeon HD 6200 Series Graphics, PALM, PALM, PALM, CYPRESS,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
	AMD Firestream 9350, ATI Radeon HD 5800 Series,
	ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series,
	ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series,
	ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
	ATI Mobility Radeon HD 5800 Series,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series,
	ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
	ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
	ATI Mobility Radeon HD 5000 Series,
	ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670,
	ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD,
	ATI Mobility Radeon HD 5000 Series,
	ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics,
	ATI Mobility Radeon Graphics, CEDAR,
	ATI FirePro (FireGL) Graphics Adapter,
	ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR,
	ATI Radeon HD 5450, CEDAR, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
	CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
	AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN, CAYMAN,
	CAYMAN, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series,
	BARTS, BARTS, Mobility Radeon HD 6000 Series,
	Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS,
	AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series,
	AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
	TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
	TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
	CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS,
	CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, ARUBA, ARUBA,
	ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
	ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
	ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
	ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, TAHITI, TAHITI, TAHITI, TAHITI,
	TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI,
	TAHITI, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
	PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
	VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
	VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
	VERDE, VERDE, VERDE, VERDE, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
	OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
	HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, BONAIRE, BONAIRE,
	BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE,
	BONAIRE, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
	KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
	KABINI, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
	MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
	MULLINS, MULLINS, MULLINS, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
	KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
	KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
	KAVERI, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII,
	HAWAII, HAWAII, HAWAII, HAWAII, HAWAII
[    23.022] (++) using VT number 1

[    23.022] (EE) No devices detected.
[    23.022] (EE) 
Fatal server error:
[    23.022] (EE) no screens found(EE) 
[    23.022] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    23.022] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    23.022] (EE) 

To be honest, it's Manjaro, not vanilla Arch, so there *could* be differences in kernel modules. Just tried booting from the Manjaro September release with Plasma 5, same result, but booting with proprietary drivers (Catalyst, of course) was successful.
Is there a trick to enable amdgpu?


EDIT:
Solved! There was a /etc/X11/xorg.conf.d/90-mhwd.conf with a "radeon" section.

Last edited by frumble (2015-11-02 21:36:40)

Offline

#7197 2015-11-02 17:00:28

Inkaine
Member
From: Germany
Registered: 2008-07-14
Posts: 88

Re: The AMD/ATI Bar & Grill

Vi0L0 wrote:

Linux kernel 4.2 support
We've got workaround for linux kernel 4.2 support. It was found by Billy Way on launchpad and announced here: http://ati.cchtml.com/show_bug.cgi?id=1189

fglrx module needs to be build on gcc 4.9.x (or < 5) to work on linux 4.2

Although building gcc 4.9 failed for me on my first build (after almost 4h build time lol), that's finally great news.

Vi0L0, you're awesome! Great find! Well done. Thanks a lot for all your work.

Offline

#7198 2015-11-03 14:56:30

TheProgramm3r
Member
Registered: 2014-12-06
Posts: 3

Re: The AMD/ATI Bar & Grill

Hey all,

I decided yesterday to upgrade to the Catalyst driver (from a fully working radeon driver) so that I could hopefully bump up the supported OpenGL version above 3.0. I've been having some issues though.

Current symptoms are a black screen, with a backlight. There seem to be no xorg errors when I switch to a tty console, and fglrx seems to be working at least somewhat, it just backs up the framebuffer data when I switch.

I've installed all of the catalyst packages (catalyst-hook, catalyst-utils, catalyst-libgl, opencl-catalyst, lib32-catalyst-utils, lib32-catalyst-libgl, lib32-opencl-catalyst) and the cogl package. I am using the catalyst-stable repository, and have downgraded xorg to 1.16, also from Vi0L0's repository.

I am running Cinnamon with the linux-lts kernel. Cinnamon seems to be using the Gnome DM behind the scenes.

Here's a link to the results of `journalctl -b': http://pastebin.com/cnF1tcCJ

If you need the results of any other commands, feel free to ask. I can scp files from my arch box if I need to.

A few other notes: I've correctly disabled KMS and blacklisted radeon (though I'm getting those pesky radeon UMS errors now, annoyingly). I've also removed xf86-video-ati while troubleshooting, though that didn't change anything that I could tell. I've also had to symlink the fglrx_dri.so file.

Thanks! ~TheProgramm3r

EDIT: I was getting some errors about wayland at some point, I disabled it in the gnome settings. The errors seem to have gone away, but Catalyst still is not working.

Last edited by TheProgramm3r (2015-11-03 14:58:27)

Offline

#7199 2015-11-03 19:18:22

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

Re: The AMD/ATI Bar & Grill

Inkaine wrote:

Vi0L0, you're awesome! Great find!

I didn't find it, only make workaround less "hackish". But yeah, good to see it fixed after soo long time cool

There's initial 4.3 kernel support already - on catalyst-test@AUR. I don't have time to update repo with this atm, at first I want to bring 4.2 support for legacy hd234k driver, but even for this I don't have time atm. I believe I will be able to perform all updates on weekend.


@TheProgramm3r:
gdm doesn't work as it should, please consider switching to other dm. Probably unimportant but log is saying that you are missing sane package.
Do you have other graphics cards than radeon? If so you should check newer cogl package available on [catalyst] repo (or build it from these sources: https://github.com/manjaro/packages-ext … aster/cogl - this version is even newer but should give same results).
Let us know about results.

Offline

#7200 2015-11-03 20:50:25

TheProgramm3r
Member
Registered: 2014-12-06
Posts: 3

Re: The AMD/ATI Bar & Grill

Vi0L0 wrote:

@TheProgramm3r:
gdm doesn't work as it should, please consider switching to other dm.

Alright, I'll give that a try momentarily. Do you have a suggestion? I think I saw you mention LXDM or SDDM earlier.

Vi0L0 wrote:

Do you have other graphics cards than radeon? If so you should check newer cogl package available on [catalyst] repo (or build it from these sources: https://github.com/manjaro/packages-ext … aster/cogl - this version is even newer but should give same results).
Let us know about results.

I do not have any other GPU, just the Radeon HD 8550G built into my A8-5550M APU.

Offline

Board footer

Powered by FluxBB