You are not logged in.

#3401 2011-11-17 21:06:45

andy123
Member
Registered: 2011-11-04
Posts: 169
Website

Re: The AMD/ATI Bar & Grill

i installed 11.11 too, but if i use xvba/vaapi with vlc or mplayer xorg crashes (i'm useing 1.11.2-1) maybe it works with 1.10… gonna try that.

edit: that didn't help. i downgraded everything, to be back in a working environment.

Last edited by andy123 (2011-11-17 21:33:59)


i'm sorry for my poor english wirting skills…

Offline

#3402 2011-11-18 00:08:55

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

Re: The AMD/ATI Bar & Grill

catalyst 11.11

yup, it's finally working with xserver 1.11 smile
on KDE i have no problems, smplayer is working fine with it on vaapi vo.
i've no idea how it's working with GNOME3, i will test it tomorrow cuz soon i have to go asleep...

anyway there are new files which brings openCL support (available in catalyst-utils):
- /usr/lib/libOpenCL.so -> libOpenCL.so.1
- /usr/lib/libOpenCL.so.1
- /usr/lib/libamdocl(32/64).so
- /etc/OpenCL/vendors/amdocl(32/64).icd   # amd's vendor file for it's opencl library
- /usr/bin/clinfo  # clinfo binary

new libs in 32-bit version lands also in lib32-catalyst-utils package

AUR was updated, but i really really need to go asleep now so repo will be updated much later (friday, ~5 p.m. GMT)

BTW: here's my output of clinfo:

$ clinfo 
Number of platforms:                             1
  Platform Profile:                              FULL_PROFILE
  Platform Version:                              OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)
  Platform Name:                                 AMD Accelerated Parallel Processing
  Platform Vendor:                               Advanced Micro Devices, Inc.
  Platform Extensions:                           cl_khr_icd cl_amd_event_callback cl_amd_offline_devices


  Platform Name:                                 AMD Accelerated Parallel Processing
Number of devices:                               2
  Device Type:                                   CL_DEVICE_TYPE_GPU
  Device ID:                                     4098
  Board name:                                    ATI Radeon HD 4800 Series        
  Device Topology:                               PCI[ B#1, D#0, F#0 ]
  Max compute units:                             10
  Max work items dimensions:                     3
    Max work items[0]:                           256
    Max work items[1]:                           256
    Max work items[2]:                           256
  Max work group size:                           256
  Preferred vector width char:                   16
  Preferred vector width short:                  8
  Preferred vector width int:                    4
  Preferred vector width long:                   2
  Preferred vector width float:                  4
  Preferred vector width double:                 0
  Native vector width char:                      16
  Native vector width short:                     8
  Native vector width int:                       4
  Native vector width long:                      2
  Native vector width float:                     4
  Native vector width double:                    0
  Max clock frequency:                           625Mhz
  Address bits:                                  32
  Max memory allocation:                         134217728
  Image support:                                 No
  Max size of kernel argument:                   1024
  Alignment (bits) of base address:              32768
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                                     No
    Quiet NaNs:                                  Yes
    Round to nearest even:                       Yes
    Round to zero:                               Yes
    Round to +ve and infinity:                   Yes
    IEEE754-2008 fused multiply-add:             Yes
  Cache type:                                    None
  Cache line size:                               0
  Cache size:                                    0
  Global memory size:                            268435456
  Constant buffer size:                          65536
  Max number of constant args:                   8
  Local memory type:                             Global
  Local memory size:                             16384
  Kernel Preferred work group size multiple:     64
  Error correction support:                      0
  Unified memory for Host and Device:            0
  Profiling timer resolution:                    1
  Device endianess:                              Little
  Available:                                     Yes
  Compiler available:                            Yes
  Execution capabilities:                                
    Execute OpenCL kernels:                      Yes
    Execute native function:                     No
  Queue properties:                              
    Out-of-Order:                                No
    Profiling :                                  Yes
  Platform ID:                                   0x7f2747a4d2a0
  Name:                                          ATI RV770
  Vendor:                                        Advanced Micro Devices, Inc.
  Device OpenCL C version:                       OpenCL C 1.0 
  Driver version:                                CAL 1.4.1607
  Profile:                                       FULL_PROFILE
  Version:                                       OpenCL 1.0 AMD-APP-SDK-v2.5 (793.1)
  Extensions:                                    cl_amd_fp64 cl_khr_gl_sharing cl_amd_device_attribute_query 


  Device Type:                                   CL_DEVICE_TYPE_CPU
  Device ID:                                     4098
  Board name:                                    
  Max compute units:                             4
  Max work items dimensions:                     3
    Max work items[0]:                           1024
    Max work items[1]:                           1024
    Max work items[2]:                           1024
  Max work group size:                           1024
  Preferred vector width char:                   16
  Preferred vector width short:                  8
  Preferred vector width int:                    4
  Preferred vector width long:                   2
  Preferred vector width float:                  4
  Preferred vector width double:                 0
  Native vector width char:                      16
  Native vector width short:                     8
  Native vector width int:                       4
  Native vector width long:                      2
  Native vector width float:                     4
  Native vector width double:                    0
  Max clock frequency:                           2999Mhz
  Address bits:                                  64
  Max memory allocation:                         2147483648
  Image support:                                 Yes
  Max number of images read arguments:           128
  Max number of images write arguments:          8
  Max image 2D width:                            8192
  Max image 2D height:                           8192
  Max image 3D width:                            2048
  Max image 3D height:                           2048
  Max image 3D depth:                            2048
  Max samplers within kernel:                    16
  Max size of kernel argument:                   4096
  Alignment (bits) of base address:              1024
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                                     Yes
    Quiet NaNs:                                  Yes
    Round to nearest even:                       Yes
    Round to zero:                               Yes
    Round to +ve and infinity:                   Yes
    IEEE754-2008 fused multiply-add:             No
  Cache type:                                    Read/Write
  Cache line size:                               64
  Cache size:                                    32768
  Global memory size:                            4146638848
  Constant buffer size:                          65536
  Max number of constant args:                   8
  Local memory type:                             Global
  Local memory size:                             32768
  Kernel Preferred work group size multiple:     1
  Error correction support:                      0
  Unified memory for Host and Device:            1
  Profiling timer resolution:                    1
  Device endianess:                              Little
  Available:                                     Yes
  Compiler available:                            Yes
  Execution capabilities:                                
    Execute OpenCL kernels:                      Yes
    Execute native function:                     Yes
  Queue properties:                              
    Out-of-Order:                                No
    Profiling :                                  Yes
  Platform ID:                                   0x7f2747a4d2a0
  Name:                                          Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
  Vendor:                                        GenuineIntel
  Device OpenCL C version:                       OpenCL C 1.1 
  Driver version:                                2.0
  Profile:                                       FULL_PROFILE
  Version:                                       OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)
  Extensions:                                    cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_popcnt

so it's looking like openCL is working fine...
EDIT: though i don't have amd's sdk installed atm so i cannot actually test it well

Last edited by Vi0L0 (2011-11-18 00:27:59)

Offline

#3403 2011-11-18 00:29:17

ungoliant
Member
Registered: 2009-05-17
Posts: 39

Re: The AMD/ATI Bar & Grill

I've seen some reports that gnome-shell has improved, but I don't share that. Moving windows is sluggish, as are the fade-in and fade-out animations.

I've tried generating a new xorg.conf file and reseting amdpcsb file, but still nothing. Any suggestions?

Offline

#3404 2011-11-18 06:10:08

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

Re: The AMD/ATI Bar & Grill

@Vi0L0

Well I just commented out the [xorg110] enrty and updated xorg-server/catalyst-total. Everything seemed fine until I tried to play a video with mplayer and Xmonad (xorg) crashed. I was using my old xorg.conf and did not generate a new one. Most everything worked perfectly using the version of xorg from the xorg110 repos and the previous version of catalyst-total. I then tried removing xorg.conf and using aticonfig to generate a new xorg.conf but every time I tried to start X, the computer locked up and I had to hard reset. I have 3 monitors hooked to a Radeon 6790 HD via 2x dvi + 1 display port.

Here is my atisysteminfo-report.txt: http://pastebin.com/1A6YgZUK

╔═ comhack@Cerberus 11:59 PM 
╚═══ ~-> pacman -Qi xorg-server | grep Version
Version        : 1.11.2-1

╔═ comhack@Cerberus 11:59 PM 
╚═══ ~-> pacman -Qi catalyst-total | grep Version
Version        : 11.11-2

╔═ comhack@Cerberus 11:59 PM 
╚═══ ~-> lsmod | grep fglrx
fglrx                3039142  70 
button                  4470  1 fglrx

╔═ comhack@Cerberus 12:13 AM 
╚═══ ~-> cat .xinitrc
#!/bin/sh
xscreensaver -no-splash &
numlockx &
sleep 3 && nitrogen --restore &
xsetroot -cursor_name left_ptr
exec ck-launch-session xmonad
xset +fp /usr/share/fonts/local
xset fp rehash
while true; do
	   xsetroot -name "$( date +"%F %R" )"
	      sleep 1m    # Update time every minute
      done &
conky | while read -r;  do xsetroot -name "$REPLY"; done &

Any idea what I did wrong or could you provide the previous PKGBUILD of catalyst-total as my previous setup worked wonderfully?

Thanks

BTW This is not an issue with mplayer as vlc also crashes X whenever I try to play a video.

Last edited by securitybreach (2011-11-18 06:17:57)


"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

#3405 2011-11-18 06:31:59

reflexing
Member
Registered: 2009-03-25
Posts: 58
Website

Re: The AMD/ATI Bar & Grill

@Vi0L0: Did you try XV video output? It crashes my X server immediately smile

Looks like we should stick with Xorg 11.10 and Catalyst 1.10 until _we-fixed_issues_catalyst-11.12 get released smile

Last edited by reflexing (2011-11-18 06:32:29)

Offline

#3406 2011-11-18 06:47:37

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

Re: The AMD/ATI Bar & Grill

So how does one revert to the previous version? I tried editing the PKGBUILD version line but I was not having any luck. Sorry if this has been answered before but I searched and could not find it.

Thanks


"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

#3407 2011-11-18 07:47:39

reflexing
Member
Registered: 2009-03-25
Posts: 58
Website

Re: The AMD/ATI Bar & Grill

securitybreach wrote:

So how does one revert to the previous version? I tried editing the PKGBUILD version line but I was not having any luck. Sorry if this has been answered before but I searched and could not find it.

Thanks

It's in the catalyst.apocalypsus.net repo or http://pkgbuild.com/git/aur.git/tree/. Repo info is on wiki page.

Offline

#3408 2011-11-18 09:38:20

ungoliant
Member
Registered: 2009-05-17
Posts: 39

Re: The AMD/ATI Bar & Grill

Just checked XV playback, same happens here, X crashes.

Offline

#3409 2011-11-18 12:22:01

moleschott
Member
Registered: 2011-11-12
Posts: 5

Re: The AMD/ATI Bar & Grill

when i install this fromm aur by yaourt, it can not start kdm. I'm always with black screen. Do i have to do anything more than just installing with yaourt. Currently i use xf86-video-ati drivers

Offline

#3410 2011-11-18 16:29:52

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

Re: The AMD/ATI Bar & Grill

ok, let's start building, compiling and updating repos :>

@everyone with blank screen:
login as root and type:

modprobe fglrx

does it returning error?

reflexing wrote:

@Vi0L0: Did you try XV video output? It crashes my X server immediately smile

Looks like we should stick with Xorg 11.10 and Catalyst 1.10 until _we-fixed_issues_catalyst-11.12 get released smile

ungoliant wrote:

Just checked XV playback, same happens here, X crashes.

+1, but it's working with vaapi, gl and gl2 output so it's not that bad

ungoliant wrote:

I've seen some reports that gnome-shell has improved, but I don't share that. Moving windows is sluggish, as are the fade-in and fade-out animations.

I've tried generating a new xorg.conf file and reseting amdpcsb file, but still nothing. Any suggestions?

+1, and only 1 suggestion: if want GNOME3 - you have to use open source drivers

reflexing wrote:
securitybreach wrote:

So how does one revert to the previous version? I tried editing the PKGBUILD version line but I was not having any luck. Sorry if this has been answered before but I searched and could not find it.

Thanks

It's in the catalyst.apocalypsus.net repo or http://pkgbuild.com/git/aur.git/tree/. Repo info is on wiki page.

A'propos catalyst.apocalypsus.net : just uploaded 11.10's PKGBUILDs : http://catalyst.apocalypsus.net/tarball/11.10/

moleschott wrote:

when i install this fromm aur by yaourt, it can not start kdm. I'm always with black screen. Do i have to do anything more than just installing with yaourt. Currently i use xf86-video-ati drivers

You should find all informations on the wiki: https://wiki.archlinux.org/index.php/ATI_Catalyst

Offline

#3411 2011-11-18 17:04:13

safrax
Member
Registered: 2011-06-04
Posts: 13

Re: The AMD/ATI Bar & Grill

I always get this error in mplayer when i use -vo vaapi -va vaapi with mplayer:

AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=1.
Movie-Aspect is undefined - no prescaling applied.
VO: [vaapi] 1920x1080 => 1920x1080 H.264 VA-API Acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
A:   2.8 V:   2.3 A-V:  0.520 ct:  0.065   0/  0 32% 96%  0.6% 50 0


           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

I'm using kwin's compositing under KDE4.7.3 with 11.11.  The video plays just fine without using vaapi.  With vaapi the sound eventually desyncs.  Any clues?

Offline

#3412 2011-11-18 17:21:09

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

Re: The AMD/ATI Bar & Grill

@VioLo]ok: I changed the video output to gl2 and it worked beautifully.

As far as the screen going black, I was getting that whenever I was trying to generate a new xorg.conf as I thought that would fix some of my issues. I ended up using my old xorg.conf and it worked great besides a tiny bit of lag and the video issue. I had checked and the modules and fglrx was loaded properly. I think my issue was that I did not know the correct aticonfig switch for 3 monitors (2 dvi and 1 DisplayPort). I had previous set it up by setting up dual head with aticonfig and then fixing it via amdcccle.

Referring to installing the previous versions, I am bit confused but I will read up on it, thanks!


"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

#3413 2011-11-18 17:50:12

CheesyBeef
Member
Registered: 2008-06-04
Posts: 190

Re: The AMD/ATI Bar & Grill

new Xorg server out, 1.11.2-2 yikes

Catalyst 11.11 and xorg 1.11.2-1 works for me

Offline

#3414 2011-11-18 18:28:44

matse
Member
Registered: 2011-04-27
Posts: 276

Re: The AMD/ATI Bar & Grill

@Vi0L0 Thanks for the update of your repo! Works great so far! The issue with mplayer and xv is here present, too, but gl works fine.
Greetings
matse

Offline

#3415 2011-11-18 19:05:56

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 256

Re: The AMD/ATI Bar & Grill

have you guys got an .mplayer/config file to share with the best settings for mplayer\vaapi setup?

Offline

#3416 2011-11-18 22:01:00

RetroX
Member
Registered: 2009-10-17
Posts: 106

Re: The AMD/ATI Bar & Grill

One problem: the new package now conflicts with the existing libcl package.  You should make it so that catalyst-utils provides libcl.

Offline

#3417 2011-11-19 04:21:12

sublimepua
Member
Registered: 2011-02-02
Posts: 12

Re: The AMD/ATI Bar & Grill

error: failed to commit transaction (conflicting files)
catalyst-utils: /usr/bin/clinfo exists in filesystem
catalyst-utils: /usr/lib/libOpenCL.so exists in filesystem
catalyst-utils: /usr/lib/libOpenCL.so.1 exists in filesystem
Errors occurred, no packages were upgraded.

new catalyst upgrade fails

EDIT: libcl is the problem. remove it to upgrade. I think catalyst supplies it in their new upgrade.

Last edited by sublimepua (2011-11-19 04:27:14)

Offline

#3418 2011-11-19 04:27:04

damacas
Member
From: Ontario, Canada
Registered: 2011-05-27
Posts: 50

Re: The AMD/ATI Bar & Grill

Vi0L0 wrote:

@everyone with blank screen:
login as root and type:

modprobe fglrx

does it returning error?

Returns no error, still with the black screen.  I checked lsmod before issuing the modprobe fglrx..and fglrx had loaded.

Cheers,
damacas

Offline

#3419 2011-11-19 04:40:51

reflexing
Member
Registered: 2009-03-25
Posts: 58
Website

Re: The AMD/ATI Bar & Grill

damacas wrote:
Vi0L0 wrote:

@everyone with blank screen:
login as root and type:

modprobe fglrx

does it returning error?

Returns no error, still with the black screen.  I checked lsmod before issuing the modprobe fglrx..and fglrx had loaded.

Cheers,
damacas

Did you blacklist radeon and other video drivers and add nomodeset to your kernel options? It's all in the wiki.

Offline

#3420 2011-11-19 10:38:04

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

Re: The AMD/ATI Bar & Grill

I'm planning to remove xorg-server-catalyst-maximize-fix package from [catalyst] repo and AUR.
I believe that it's not needed anymore.
If you have got objections please firstly check do you really need it by removing it and installing original xorg-server from [extra] repo.

RetroX wrote:

One problem: the new package now conflicts with the existing libcl package.  You should make it so that catalyst-utils provides libcl.

Done, catalyst-utils 11.11-3 and catalyst-total 11.11-3 got now 'libcl' inside provides, conflict and replaces arrays.
There's also new optdep:
opencl-headers: headers necessary for OpenCL development

Berseker wrote:

have you guys got an .mplayer/config file to share with the best settings for mplayer\vaapi setup?

It's as simple as adding 2 lines into config:
vo=vaapi:gl
va=vaapi

Last edited by Vi0L0 (2011-11-19 11:01:34)

Offline

#3421 2011-11-19 11:31:39

Rolinh
Member
From: Switzerland
Registered: 2011-05-07
Posts: 144
Website

Re: The AMD/ATI Bar & Grill

Hi,

there is a problem with catalyst-hook:

(1/1) upgrading catalyst-hook                                                                                           [------------------------------------------------------------------------] 100%
Building fglrx module for 3.1.0-4-ARCH kernel ...
Failed!!! Check out log: /var/log/catalyst-install.log

and here is the log:

2011-11-19 12:28:02
Building fglrx module for 3.1.0-4-ARCH kernel ...
--------
Kernel header files are absent: directory /lib/modules/3.1.0-4-ARCH/build doesn't exist! Game over

And yep, this is normal because now we've got /lib/modules/3.1.1-1-ARCH/build

EDIT: oops, sorry, I forgot to reboot after kernel upgrade ^^

Last edited by Rolinh (2011-11-19 11:39:23)

Offline

#3422 2011-11-19 11:44:05

ChemBro
Member
Registered: 2008-10-22
Posts: 682

Re: The AMD/ATI Bar & Grill

Wanted to see, if XV crashes my X, but then I saw, that I already changed my video players to OpenGL instead of XVideo a reaaaally long time ago. :-D

Btw.: Are there some useful programms to use OpenCL for? Anyone know, if I can use for example Kdenlive for the rendering stuff?

Offline

#3423 2011-11-19 12:36:04

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

Re: The AMD/ATI Bar & Grill

Rolinh wrote:

Hi,

there is a problem with catalyst-hook:

(1/1) upgrading catalyst-hook                                                                                           [------------------------------------------------------------------------] 100%
Building fglrx module for 3.1.0-4-ARCH kernel ...
Failed!!! Check out log: /var/log/catalyst-install.log

and here is the log:

2011-11-19 12:28:02
Building fglrx module for 3.1.0-4-ARCH kernel ...
--------
Kernel header files are absent: directory /lib/modules/3.1.0-4-ARCH/build doesn't exist! Game over

And yep, this is normal because now we've got /lib/modules/3.1.1-1-ARCH/build

EDIT: oops, sorry, I forgot to reboot after kernel upgrade ^^

Just a tip: if during one session you have updated kernel in 1st place and then catalyst-hook, the best thing to do is to run as root:

catalyst_build_module all

this command will build fglrx modules for all installed kernels. By running this you can be sure that after reboot the newest fglrx module will be loaded.

Offline

#3424 2011-11-19 12:41:18

Rolinh
Member
From: Switzerland
Registered: 2011-05-07
Posts: 144
Website

Re: The AMD/ATI Bar & Grill

@Vi0L0: thanks for the tip smile

Offline

#3425 2011-11-19 13:02:59

damacas
Member
From: Ontario, Canada
Registered: 2011-05-27
Posts: 50

Re: The AMD/ATI Bar & Grill

reflexing wrote:

Did you blacklist radeon and other video drivers and add nomodeset to your kernel options? It's all in the wiki.

Yes I have.  I have no problems using 3.0 kernel.  When I upgrade to a 3.1 kernel I cannot get X to start, just hangs at a black screen.

Offline

Board footer

Powered by FluxBB