Home Phoronix Phoronix Forums X.Org Videos From FOSDEM 2008

RadeonHD IRC Logs For 2009-9-21

Search This Log:


Nightwulf|work: hi all
bazzam: hey there, i'm sure this get's asked a lot (might be FAQ worthy?), when are AMD expected to release the docs for the Radeon HD 5850 and up?
bazzam: also when is work on those cards expected to commence?
chithead: from what I have read there is already something happening behind the scenes
bazzam: sweet :)
chithead: whether this means that r800 will be quickly supported by open source drivers I don't know
bazzam: my last ati card a few years back broke my heart but i might try again
bazzam: i can wait, knowing somewhere down the road there will be support is enough
bazzam: another big question is of course opencl support, amd said something about releasing some linux firestream binaries next year
bazzam: might be interesting to implement some open source solution
|moe|: hi there, i am running opensuse 11.1 x86_64 and radeonhd on a rs690 chip - unfortunately xorg.log reports the following EE) RADEONHD(0): Power Management: Cannot get known good chip configurations - i think this is causing a serious heat problem in my notebook, how can i help you sort this out?
|moe|: am using this radeonhd-version: xorg-x11-driver-video-radeonhd-1.2.5_20090914_37ccdde-13.3
|moe|: poor powermanagement, thanks wiki ;)
sasalli: Hello. I'm trying to install "radeonhd" drivers to radeon x1800xt. But i could'nt succes. It doesnt work. here is my xorg.conf file http://paste.ubuntu.com/275400/ . and Xorg.0.log http://paste.ubuntu.com/275399/ . thanks for help!
yangman: black screen?
sasalli: no
sasalli: screen is fine.
yangman: so what doesn't work?
sasalli: but no 3D
adamk_: Right, you're missing the Mesa drivers.
adamk_: radeonhd is just a 2D driver.
sasalli: how can i switch?
sasalli: ?
adamk_: You don't switch. radeonhd will handle 2D acceleration, and Mesa will handle 3D acceleration. You need Mesa installed.
adamk_: Most distributions would take care of this for you, though.
sasalli: hmm
sasalli: so everything is fine? isn't it?
adamk_: Well, other than the fact that Mesa is missing.
adamk_: What distribution is this?
sasalli: Ubuntu 9.04
adamk_: So you somehow managed to remove the Mesa drivers, because it should have worked without any extra work, right after installing Ubuntu.
sasalli: yes, i removed it.
adamk_: Install libgl1-mesa-dri and libgl1-mesa-glx
adamk_: From Synaptic.
sasalli: ok
sasalli1: glxinfo | grep render --> direct rendering: Yes
sasalli1: OpenGL renderer string: Software Rasterizer
adamk_: sasalli1, Pastebin your new /var/log/Xorg.0.log file and the full output of 'LIBGL_DEBUG=verbose glxinfo'
sasalli1: ok
Neo_The_User: hi all. i keep getting an MTRR error. invalid argument
Neo_The_User: should i post the whole message?
Neo_The_User: i cant start x
jim_ec2: Neo_The_User: I can startx but have other problems and my system has MTRR errors
Neo_The_User: ah this MTRR error is preventing X from starting
sasalli1: here http://paste.ubuntu.com/275411/
Neo_The_User: 'waiting for X server to shut down error setting MTRR (base = 0xd0000000000, size 0x1000000000, type 1) Invalid argument (22)
Neo_The_User: the amount of 0s are off sorry
adamk_: sasalli1, You still don't see to have the mesa drivers installed.
adamk_: sasalli1, What is the output of 'dpkg -l | grep libgl1' ?
sasalli1: here http://paste.ubuntu.com/275415/
Neo_The_User: im using a custom kernel on my custom distro with the default MTRR values
Neo_The_User: 0 and 1 :)
adamk_: sasalli1, Try this 'sudo apt-get install --reinstall libg1-mesa-dri libgl1-mesa-glx' and then 'ls -l /usr/lib/dri/r300_dri.so' to make sure the file exists.
jim_ec2: Neo_The_User: that's interesting, I'm using vanilla sources from kernel.org
sasalli1: okay
Neo_The_User: jim_ec2 im using a kernel and you DON'T want to know whats inside it ;)
Neo_The_User: it will make your eyes bleed
sasalli1: libg1-mesa-dri doesn't exist
Neo_The_User: take out the --reinstall thing
MostAwesomeDude: Neo_The_User: Does a vanilla kernel work?
jim_ec2: Neo_The_User: what's in your /proc/mtrr?
sasalli1: still , doesn't exist
Neo_The_User: jim_ec2 please hold
sasalli1: sasalli@sasalli:~$ sudo ls -l /usr/lib/dri/r300_dri.so
sasalli1: -rw-r--r-- 1 root root 2327348 2009-08-31 16:29 /usr/lib/dri/r300_dri.so
adamk_: sasalli1, Your repository list is screwed up them. You've done quite a number to this machine.
adamk_: Then why is Xorg complaining it doesn't exist?
adamk_: sasalli1, Pastebin the full output of 'LIBGL_DEBUG=verbose glxinfo'
Neo_The_User: ah ubuntu... i used to develop for that distro.. umm im posting my mtrrs to pastebin
sasalli1: here, http://paste.ubuntu.com/275421/
jim_ec2: Neo_The_User: could you also pm me your pastebin so I can compare when I get home
Neo_The_User: pastebin.ca/1574209
MostAwesomeDude: MTRRs differ between platforms.
Neo_The_User: are mine bad?
MostAwesomeDude: Neo_The_User: I really think you should see if a vanilla kernel works first.
adamk_: sasalli1, I don't know what is going on. You appear to have a couple of issues, some of them Ubuntu specific, and I have to get going.
Neo_The_User: vanilla meaning directly from kernel.org?
Neo_The_User: doesn't know what vanilla means
MostAwesomeDude: Yep.
jim_ec2: Neo_The_User: yeah from kernel.org
Neo_The_User: oh ok
Neo_The_User: ahh i hate those kernels
Neo_The_User: but ok
sasalli1: all right. Thanks so much for your help
jim_ec2: some distros provide a package of the untainted kernel branch
jim_ec2: typically called vanilla :)
MostAwesomeDude: Neo_The_User: Those are the only kernels that kernel devs actually support, though. :3
jim_ec2: Neo_The_User: I think you sent the wrong link
sasalli1: adamk_, which line are you looking on xorg log?
Neo_The_User: ok hold on
Neo_The_User: screw pastebin. im posting this on my own site.
adamk_: sasalli1, (EE) AIGLX error: dlopen of /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_dri.so: cannot open shared object file: No such file or directory)
jim_ec2: :o cat /proc/mtrr should have < 10 entries unless you have a crazy setup
Neo_The_User: um 2
sasalli1: okay thank you.
jim_ec2: yup, probably your main memory and your graphics memory
Neo_The_User: http://neo-technical.wikispaces.com/file/view/mtrr.txt/90143301
Neo_The_User: see if thats it
jim_ec2: yeah
Neo_The_User: bad right?
Neo_The_User: wait
jim_ec2: yeah mine was similarly incorrect, need to double check though
Neo_The_User: my kernel source is broken thats why
jim_ec2: no one was able to help me figure it out
Neo_The_User: i found why its not acting right
Neo_The_User: merged bad unstable mtrr code into his kernel
jim_ec2: hmm, I'm using vanilla sources...currently 2.6.30 iirc
jim_ec2: had problems with it before that too
Neo_The_User: im not switching to vanilla. im going to unmerge the mtrr code
kcodyjr: i found that 2.6.30, with mtrr cleanups enabled, wants to set the whole i/o region to uncached, and then the xserver adds the write-combining range at runtime
jim_ec2: alright, let us know how that works out for you
jim_ec2: kcodyjr: how do you enable that?
jim_ec2: seems like i tried some boot option to do that
kcodyjr: it's in the kernel config, i've got it doing it by default
kcodyjr: there is a downer to write-combining though, it makes read performance really suck
kcodyjr: generally you're doing more writing than reading to graphics memory, but that's one of the reasons it'd be such a big win to use a mobo dma engine for vram->sysram copies
jim_ec2: yeah, I've noticed that my i/o is terrible...I resorted to moving my media to an opensolaris fileserver
kcodyjr: the uncached default is a good thing because naive drivers might have trouble with memory-mapped registers otherwise
jim_ec2: what's a safe way to migrate your kernel config, especially through minor revision bumps?
kcodyjr: personally, i like to copy the .config file and then run 'make oldconfig'
jim_ec2: sounds reasonable, I'll dig around in the mtrr setting and bump to .6.31 while I'm at it
jim_ec2: then if I could just make dual display work how I like it :o
kcodyjr: if your problem is what 80% of the other peoples' problem is, you'll have to wait for shatter
MostAwesomeDude: Nope, shatter won't help.
jim_ec2: what's shatter?
jim_ec2: I just want to use two different sized displays since I got the card for that reason
MostAwesomeDude: That's totally fine.
jim_ec2: it could be that I haven't figured out xrandr well enough yet
jim_ec2: this might be a dumb question but should the displays change resolution with or without restarting X(if using xrandr)
yangman: xrandr will let you change to any resolution it's told the server can support for a particular display
Neo_The_User: ah found the problem. last night, i had to re-install since i broke glibc so now that i sort of re-installed my own distro (GSC Linux) its not working right so i need to compile fifty thousand libraries :(
Neo_The_User: since irc distracts me, ill back be back in a few hours
jim_ec2: later Neo_The_User
agd5f: jim_ec2: http://wiki.debian.org/XStrikeForce/HowToRandR12
jim_ec2: agd5f: I've read this but it doesn't have any effect
Neo_The_User: :) back
jim_ec2: http://www.x.org/wiki/ExaStatus
Neo_The_User: is UXA better than EXA?
kcodyjr: i thought uxa was some intel-specific job
Neo_The_User: i think via is trying to support it
kcodyjr: another sector heard from. i forgot all about via.
Neo_The_User: i forget about them too a lot
yangman: UXA is better suited for IGP
yangman: iirc
Neo_The_User: oh ok
sytse: wth, why is 9858540fab30f9219b6f689c9668ebb3fa203d23 still not in drm master or agd5f's drm tree?
Neo_The_User: which commit is that?
Neo_The_User: link to patch please
sytse: it's a commit in the drm tree
sytse: let's see
sytse: http://cgit.freedesktop.org/mesa/drm/commit/?id=9858540fab30f9219b6f689c9668ebb3fa203d23
Neo_The_User: hey would you guys like it if i merged all kms code in -ati to -radeonhd?
sytse: my rv790 doesn't work atm
Neo_The_User: i can make patch!
agd5f: sytse: it's in the kernel
sytse: ohh, I need to stop using the drm trees?
Neo_The_User: yes
Neo_The_User: haha
agd5f: sytse: they aren't really used much anymore
Neo_The_User: its depreciated. really really depreciated
sytse: shit, thanks
Neo_The_User: language
sytse: :P
sytse: sorry
Neo_The_User: just a lil reminder
sytse: so how up-to-date is the 2.6.31 drm?
Neo_The_User: no idea. i use my own kernels
agd5f: sytse: for r6xx/r7xx it supports 2d/xv
agd5f: sytse: for 3d you need drm-next
Neo_The_User: if you want 3d you need to follow my awesome guide at http://neo-technical.wikispaces.com/radeonhd-3d
Neo_The_User: oh no its out of date
Neo_The_User: fixes it
agd5f: sytse: I went ahead and pushed them to r6xx-r7xx-3d too
sytse: agd5f: and drm-next is.. where?
Neo_The_User: syste: im fixing the guide
sytse: ~glisse/drm-next?
agd5f: sytse: http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=summary
Neo_The_User: ok fixed.
sytse: agd5f: ah thx
sytse: that's better than having to upgrade the whole kernel every time
Neo_The_User: sytse: be sure to switch to drm-next via cd drm-2.6 && git checkout -b drm-next origin/drm-next
Neo_The_User: :)
sytse: of course, I have a different method though
sytse: git remote add airlied http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git
Neo_The_User: thats perfectly fine
sytse: and then git checkout -b drm-next airlied/drm-next
sytse: and using gentoo's git functionality for the drm-next libdrm
Neo_The_User: whatever works has always been my philosphy. except many people hate it. as they critisize my ways of doing things...
sytse: so that it's nicely packaged
sytse: :)
Neo_The_User: so.. should i work on getting kms into radeonhd?
Neo_The_User: or... would it be rejected?
yangman: Neo_The_User: if it's good, we'll take it
Neo_The_User: XD
Neo_The_User: im going to get to work then... Neo out
sytse: agd5f: what howto did you update?
agd5f: sytse: none
sytse: ah, okay
agd5f: sytse: I just cherry-picked that patch into my r6xx-r7xx-3d tree
sytse: august 3rd you still said 'mesa from git master, drm kernel modules from my r6xx-r7xx-3d drm branch.' on your blog btw?
agd5f: sytse: yeah that will still work for 3D
sytse: oh, okay.. maybe pick the next patch (0101127af0815a7da49253a3af54a1aa4e672567) too then
agd5f: you can also use drm-next as that will be what ends up in 2.6.32
sytse: great
agd5f: sytse: no need for that patch it just re-arranges code
sytse: ah, great
sytse: Makefile:527: /var/tmp/paludis/x11-libs-libdrm-9999/work/libdrm-9999/arch/amd64/Makefile: No such file or directory
sytse: hmmm, odd.
sytse: oh, it's the whole kernel tree..
sytse: fail.
sytse: I should stop saying things here until I figure out what it is I'm doing ;-)
sytse: IRQ's not enabled, falling back to busy waits: 2 0
sytse: 12260 frames in 5.0 seconds = 2451.957 FPS
sytse: odd.
sytse: well, at least xv works again, thanks
sytse: and I have lots of tearing even with xv
rehabdoll: try radeon
chithead: are you using compositing?
sytse: nope
sytse: I have an rv790 btw
chevie: Anybody familiar with the X1200? I have problems switching video modes: screen goes black and I have to press -- and then -- to get it back.
Neo_The_User: is all the r6xx/r7xx kms code in radeon_kms.c?
Neo_The_User: snap wrong channel sorry!
AMD_Fanboy1993: is there a way to use radeonhd while in shell (like full screen console, not x terminal?)
AMD_Fanboy1993: fbdev works fine
AMD_Fanboy1993: or fbcon whatever mplayer uses for dvds
adamk_: AMD_Fanboy1993: No... radeonhd is an Xorg module.
AMD_Fanboy1993: thank you!
adamk_: AMD_Fanboy1993: *However*, the radeon drm modules now support KMS
adamk_: Which will give you a nice console at your monitors preferred resolution, ideally.
adamk_: It's still experimental and requires either a 2.6.31 kernel, I believe, or pulling DRM code from git.
AMD_Fanboy1993: oh thats nice :)
AMD_Fanboy1993: meh i rather pull from git XD
adamk_: But you should really talk to the #radeon folks about that.
AMD_Fanboy1993: sure thing. thank you so much adamk_ have a good one! :)