You are not logged in.

#2401 2013-03-11 20:39:12

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,476
Website

Re: Discussion: the ati/radeon open source drivers & radeon repository

Does anyone know how to enable tear-free on Radeon? Google taught me it is supported but I'm not sure what is the correct way to enable it. Can you tell me?


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2402 2013-03-11 20:40:57

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: Discussion: the ati/radeon open source drivers & radeon repository

Option "EXAVSync" "yes"

Reduced the tearing for me.
Or it was just a placebo.


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#2403 2013-03-11 20:46:07

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 215

Re: Discussion: the ati/radeon open source drivers & radeon repository

kaszak696 wrote:
Option "EXAVSync" "yes"

Reduced the tearing for me.
Or it was just a placebo.

Yes, 'man radeon' gives some tips.

Offline

#2404 2013-03-11 21:13:39

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,476
Website

Re: Discussion: the ati/radeon open source drivers & radeon repository

Thanks guys, I will take a look at the manpage!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2405 2013-03-11 22:38:09

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

lordheavy wrote:

Now llvm from my mesa-git is llvm-3.3svn (llvm-amdgpu-svn). If you want llvm from tstellar's repo, just grab llvm-amdgpu-snapshot from community.

Well, mesa didn't build for me with the one from community today (perhaps it was only --enable-opencl, didn't look) while with your 3.3 it works fine. But it's really huge. Is it necessary to have it with debugging stuff enabled?


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2406 2013-03-11 22:57:15

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 215

Re: Discussion: the ati/radeon open source drivers & radeon repository

Cdh wrote:
lordheavy wrote:

Now llvm from my mesa-git is llvm-3.3svn (llvm-amdgpu-svn). If you want llvm from tstellar's repo, just grab llvm-amdgpu-snapshot from community.

Well, mesa didn't build for me with the one from community today (perhaps it was only --enable-opencl, didn't look) while with your 3.3 it works fine. But it's really huge. Is it necessary to have it with debugging stuff enabled?

* mesa from the git trunk needs llvm-3.3svn at least, mesa from 9.1.x branch needs llvm from tstellar repo (llvm-amdgpu-snapshot in community)
* debugging symbols are stripped from llvm-amdgpu-svn packages.

Offline

#2407 2013-03-11 23:25:47

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

Ah sorry, I misread something there and assumed it would have debugging enabled because of something with the size without checking the pkgbuild. I'm too tired today.

Last edited by Cdh (2013-03-11 23:26:08)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2408 2013-03-12 11:26:21

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,662

Re: Discussion: the ati/radeon open source drivers & radeon repository

I feel a bit of clarifying is needed, so i'll try.

Llvm 3.3 will have the amdgpu backend code included, and The code by tom stellar was added to llvm master trunk a few days ago.
Mesa master git switched from tstellar out-of-tree code to llvm svn master trunk.
So any GIT package that used llvm-amdgpu-git has to switch to an llvm-amdgpu-svn package .

Currently there are 2 choices for llvm-amdgpu-svn and lib32-llvm-amdgpu-svn :

1. aur packages maintained by me
https://aur.archlinux.org/packages/llvm-amdgpu-svn/
https://aur.archlinux.org/packages/lib3 … mdgpu-svn/

2.
Lordheavy's repo on pkgbuild.com
http://pkgbuild.com/~lcarlier/mesa-git/sources/

I've peeked at lordheavy's sources and while there are many similarities they are not identical.
For those that need help, want to report a bug something make clear which packages you are using !

I'll look deeper into the differences later this week.
-----------------------------------------------------------------------------------

about sizes of the llvm packages :

My llvm-amdgpu-svn is 19.2 Mib (x86_64) download size, the lib32- package has 16 Mib .
Lordheavy's packages are similar in size.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#2409 2013-03-12 18:05:34

Hamsterkill
Member
Registered: 2009-05-05
Posts: 45

Re: Discussion: the ati/radeon open source drivers & radeon repository

I did a reinstall of Arch recently and am having a problem I've never had before.

When I try to start an X server with the 'X' command, all I get is a black screen. Computer still responds to input since I can still change virtual terminals. No errors in the output of the command and nothing out of the ordinary in Xorg.0.log (radeon seems to load and configure perfectly fine). I have no custom configurations done for X -- everything is as it is after initial install. Using the packages in the official repo. Ideas?

Offline

#2410 2013-03-12 20:38:00

Beelzebud
Member
From: Illinois, U.S.
Registered: 2010-07-16
Posts: 154

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hamsterkill wrote:

I did a reinstall of Arch recently and am having a problem I've never had before.

When I try to start an X server with the 'X' command, all I get is a black screen. Computer still responds to input since I can still change virtual terminals. No errors in the output of the command and nothing out of the ordinary in Xorg.0.log (radeon seems to load and configure perfectly fine). I have no custom configurations done for X -- everything is as it is after initial install. Using the packages in the official repo. Ideas?

Probably need more details.   What DE are you trying to run?   Are you starting it with systemd?

Offline

#2411 2013-03-12 22:17:59

Hamsterkill
Member
Registered: 2009-05-05
Posts: 45

Re: Discussion: the ati/radeon open source drivers & radeon repository

Beelzebud wrote:
Hamsterkill wrote:

I did a reinstall of Arch recently and am having a problem I've never had before.

When I try to start an X server with the 'X' command, all I get is a black screen. Computer still responds to input since I can still change virtual terminals. No errors in the output of the command and nothing out of the ordinary in Xorg.0.log (radeon seems to load and configure perfectly fine). I have no custom configurations done for X -- everything is as it is after initial install. Using the packages in the official repo. Ideas?

Probably need more details.   What DE are you trying to run?   Are you starting it with systemd?

Not trying to run a DE yet. Starting it by command line (# X). Just trying to get the test X environment to show that display and mouse are working before I try to set up a DE.

Last edited by Hamsterkill (2013-03-12 22:18:13)

Offline

#2412 2013-03-13 08:10:37

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 215

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hamsterkill wrote:

Not trying to run a DE yet. Starting it by command line (# X). Just trying to get the test X environment to show that display and mouse are working before I try to set up a DE.

It isn't related to radeon driver, you prabably missed to install some xorg related packages (or configuring some files).

Offline

#2413 2013-03-13 10:14:41

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

X alone doesn't display anything.

Just install xorg-xinit and openbox, create a ~/.xinitrc und put

exec /usr/bin/openbox-session

in there and use startx.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2414 2013-03-13 22:04:03

Hamsterkill
Member
Registered: 2009-05-05
Posts: 45

Re: Discussion: the ati/radeon open source drivers & radeon repository

Cdh wrote:

X alone doesn't display anything.

Just install xorg-xinit and openbox, create a ~/.xinitrc und put

exec /usr/bin/openbox-session

in there and use startx.

Well, there's no need for openbox or messing with xinitrc, but this helped. I was under the impression that X and startx did the same thing and that's apparently not the case. All I had to do was run startx to see the test display I was expecting. Thanks.

Offline

#2415 2013-03-21 10:07:55

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hm. I was trying PRIME and saw that there was a new llvm in the the repository: http://pkgbuild.com/~lcarlier/mesa-git/ … pkg.tar.xz
So I installed it and recompiled mesa but with glxgears I get

LLVM ERROR: Cannot select: target intrinsic %llvm.SI.load.const

Is it just me?

Last edited by Cdh (2013-03-21 10:08:33)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2416 2013-03-21 10:19:36

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,662

Re: Discussion: the ati/radeon open source drivers & radeon repository

Using my own aur packages glxgears runs normally on a HD 4890 / R600 driver.

Versions :
mesa-r300-r600-radeonsi-git version 20130320-1
llvm-amdgpu-svn 177498 .


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#2417 2013-03-21 11:57:08

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 215

Re: Discussion: the ati/radeon open source drivers & radeon repository

No problems here with radeon 6870HD

Your problem seems related to the radeonsi driver. I will update my repo with latest llvm-svn and mesa, just check if it fix your problem, otherwise don't hesitate to fill a bug report on freedesktop.org, or ask on irc in the #radeon channel

Last edited by lordheavy (2013-03-21 12:10:00)

Offline

#2418 2013-03-21 12:18:32

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 215

Re: Discussion: the ati/radeon open source drivers & radeon repository

Cdh wrote:

Hm. I was trying PRIME and saw that there was a new llvm in the the repository: http://pkgbuild.com/~lcarlier/mesa-git/ … pkg.tar.xz
So I installed it and recompiled mesa but with glxgears I get

LLVM ERROR: Cannot select: target intrinsic %llvm.SI.load.const

Is it just me?

This intrinsic is implemented here http://llvm.org/viewvc/llvm-project?vie … ion=177273

An updated llvm-svn should fix it, it will be available soon in my repo.

Offline

#2419 2013-03-21 13:17:11

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

Thanks, this works.

I also tried the llvm amdgpu git version from aur but it with that mesa didn't compile...


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2420 2013-03-21 13:18:26

lordheavy
Developer
From: France
Registered: 2010-04-01
Posts: 215

Re: Discussion: the ati/radeon open source drivers & radeon repository

Cdh wrote:

Thanks, this works.

I also tried the llvm amdgpu git version from aur but it with that mesa didn't compile...

Yes, llvm amdgpu git is only for mesa 9.1.x branch, it won't work with master branch

Offline

#2421 2013-03-21 21:18:14

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

Would it be possible for you to build clang with it? If you want to compile mesa with --enable-opencl you need libclc and building libclc requires clang...

I'm not sure if it should work already, probably not, but it would be nice to be able to compile it at least.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#2422 2013-03-21 22:10:32

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,662

Re: Discussion: the ati/radeon open source drivers & radeon repository

Cdh wrote:

Would it be possible for you to build clang with it? If you want to compile mesa with --enable-opencl you need libclc and building libclc requires clang...

I'm not sure if it should work already, probably not, but it would be nice to be able to compile it at least.

I was thinking the same when i created the aur llvm-amdgpu-svn package.
There are workarounds to have  a split package in aur and --enable-opencl is one of the few experimental flags my aur mesa git packages don't use yet.
I hope to have time to add llvm-ocaml-svn , clang-svn and clang-analyzer-svn sometime next week.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#2423 2013-04-02 18:19:31

xorgx3
Member
From: Poland
Registered: 2011-11-29
Posts: 197

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hi!
I'm new in ATI open driver - earlier I was used amd proprietary driver(for some strange reasons i decided change it).
I think everything is ok, but:
My laptop is very noisy because of this driver, earlier even if was loud for some time - returning for tolerable value of noise.

I check temperature by lm-sensor and this what i showing:

# sensors
radeon-pci-0200
Adapter: PCI adapter
temp1:        +78.0°C  

acpitz-virtual-0
Adapter: Virtual device
temp1:        +26.8°C  (crit = +100.0°C)
temp2:         +0.0°C  (crit = +100.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +54.0°C  (high = +95.0°C, crit = +105.0°C)
Core 2:       +49.0°C  (high = +95.0°C, crit = +105.0°C)

For me is very bad temperature when computer is idle(only two cards in chrome).
My card is Radeon HD5400 series(but i really don't know how model exactly).
Someone can help or explain me this situation?


EDIT:
Oh, and second issue:
I have set KMS early start. It's normal if that screen "flashing" before something starts boot? Without KMS i didn't say anything like this.

Last edited by xorgx3 (2013-04-02 18:27:31)

Offline

#2424 2013-04-02 19:48:20

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,662

Re: Discussion: the ati/radeon open source drivers & radeon repository

the proprietary driver is much better in power management then the open driver, but you can tweak some settings.
check the ati page on the wiki page here : https://wiki.archlinux.org/index.php/Radeon#Powersaving

for your 2nd question :
there should be no flashing with kms early start, unless you mean the switch from text mode to native resolution when KMS kicks in.
Does the text look smaller after the 'flash' then just before ?


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#2425 2013-04-02 20:28:45

xorgx3
Member
From: Poland
Registered: 2011-11-29
Posts: 197

Re: Discussion: the ati/radeon open source drivers & radeon repository

Yea, probably I thought about "switch from text mode to native resolution when KMS kicks in" but i didn't know how it calls(anyway this is little annoying).

I'll try do something with this powersaving.

Another problem is 3D games, but this is not important for now.

EDIT:
If i used mesa-git repo my 32bit folder isn't in: /usr/lib32/xorg/modules/dri/ place. Because of them i have a little trouble: https://bbs.archlinux.org/viewtopic.php?id=160767
and I have remove this repo. This is bug or future?

Last edited by xorgx3 (2013-04-03 10:42:27)

Offline

Board footer

Powered by FluxBB