Home Phoronix Phoronix Forums X.Org Videos From FOSDEM 2008

RadeonHD IRC Logs For 2009-8-21

Search This Log:


Nightwulf|work: hi all
twnqx: ummm
twnqx: i activated my VGA port on the laptop with xrandr --output VGA_1 --mode 1024x768
twnqx: but somehow the colors are all... wrong
twnqx: backgrounds are purple and orange where they should be lack and white
twnqx: ah nevermind, switching to text and back fixed it
itz-: Good afternoon
itz-: I'm trying to build the current version of radeonhd because 1.2.5 is broken on my laptop (using Ati Mobility RadeonHD 4650)
itz-: Through it won't compile
itz-: Through the code is absolutly comment less, which makes it impossible to understand
itz-: In file included from /usr/X11R7/include/xorg/xf86.h:47, from rhd_driver.c:35: /usr/X11R7/include/xorg/xf86str.h:1099: warning: comma at end of enumerator list
itz-: rhd_driver.c: In function 'RHDPreInit':
itz-: rhd_driver.c:796: error: 'RHD_SHADOW_FB' undeclared (first use in this function)
itz-: and so on with multiple errors
itz-: hm... Otherwise for the bug in radeonhd 1.2.5, it says : (EE) RADEONHD(0): rhdAtomDigTransmitter Control called with invalid encoder 0 for DIG Transmitter
Neo_The_User: is there a regular PCI version of the 3200? like the ancient pci bus?
Neo_The_User: my friend in #xorg cant tell if its PCI E, or PCI
agd5f: Neo_The_User: 3200 is an IGP
Neo_The_User: ahh
agd5f: so it's integrated into the northbridge
Neo_The_User: ah ok thanks!
Neo_The_User: agd5f: whats the board name for the IDP 3200? Like RV945 or whatever
Neo_The_User: *IGP
agd5f: rs780
Neo_The_User: Thanks a million :)
twois10: how do you get the sensor working with lm_sensor for fan/temperature?
twois10: how do you get the sensor working with lm_sensor for fan/temperature on the hd 4890?
yangman: twois10: it needs to be implemented. probably won't be done for non-KMS
twois10: yangman: so so far no one has it working or there is no work-around?
yangman: the feature doesn't exist, period. there is no workaround
yangman: there's been some work done on it, but it's not in any of the drivers yet
MostAwesomeDude: Someday we'll add all the TV encoders and sensors in the kernel.
yangman: not sure what the state of it is
twois10: yangman: i just wanted to make sure. lavaly everest detects it fine in windows
yangman: comparing apples to watermelons is not really fruitful ;)
Neo_The_User: how do i enable IRQs?
Neo_The_User: i keep getting -22 errors in glxgears. i have an MSI ATi Radeon 4650 PCI E 2.0 1 GB DDR2
twois10: Neo_The_User: which kernel do you have?
Neo_The_User: the latest zen kernel with crazy CFLAGS
Neo_The_User: :)
twois10: version?
Neo_The_User: 2.6.31-rc4 opr -rc5 which ever is out
twois10: oh
twois10: I was using 2.6.31rc but went down to 2.6.30 since fglrx now supports it
Neo_The_User: IRQ's not enabled, falling back to busy waits: 2 16 no rrb drmRadeonCmdBuffer: -22
twois10: you could try irqpoll on boot
Neo_The_User: do I need agd5f's r6xx-r7xx-3d code to work and do i need to downgrade to 2.6.28?
Neo_The_User: twois10: no i need IRQs in the driver itself
agd5f: Neo_The_User: you don't need irqs
agd5f: you need my kernel to use 3d
twois10: I dont know too much about radeonhd driver. i only used it since i could not get fglrx working
Neo_The_User: ah ok. what exact 2.6.28 kernel? 2.6.28.10? 2.6.28.4?
yangman: it compiles for 2.6.30 now
Neo_The_User: no wai!!!
yangman: but you'll need to make sure userspace uses the correct headers
Neo_The_User: oh yangman thanks for making EXA and DRI default! :)
yangman: yeah, that was long overdue
Neo_The_User: has the drm code in the kernel changed at all since 2.6.31-rc4 and 2.6.30? if not, i guess i could just compile the 3d code without compiling a new kernel
Neo_The_User: http://pastebin.com/d41384ca2 compilkin
Neo_The_User: i meant... compiling error with agd5f's 3d code
MostAwesomeDude: Neo_The_User: You forgot to use --enable-radeon-experimental-api when compiling libdrm.
Neo_The_User: i need that in agd5f's 3d code? oh. thought that was only for drm master thingy. thanks
agd5f: Neo_The_User: you don't need that for my code
Neo_The_User: ah.
agd5f: but you need radeon_drm.h from master or my branch
Neo_The_User: and i would get that how?
agd5f: build libdrm from master or my branch
Neo_The_User: i did
Neo_The_User: this is mesa that isnt recompiling
Neo_The_User: it wont compile with your 3d code
agd5f: Neo_The_User: you likely have an old version of libdrm_radeon headers
agd5f: Neo_The_User: mesa will build differently depending on whether you have libdrm_radeon installed or not
Neo_The_User: so if thats true, your libdrm_radeon headers in your 3d code are "old"
Neo_The_User: because im using that. mesa compiled fine 30 mins ago
MostAwesomeDude: Neo_The_User: libdrm_radeon is in libdrm, not Mesa.
Neo_The_User: i know
agd5f: Neo_The_User: there is no libdrm_radeon in my tree
Neo_The_User: ohh
agd5f: it's only in master an only if you --enable-radeon_experimental-api
Neo_The_User: ok so.... how do i compile mesa with your drm code?
Neo_The_User: oh wait. i could merge master with your tree!
agd5f: Neo_The_User: all you need from my tree is the kernel modules
Neo_The_User: oh snap
agd5f: you don't need to mess with libdrm
Neo_The_User: kernel modules meaning sudo make install in root or make DRM_MODULES="r600" in linux-core?
Neo_The_User: because i did both
agd5f: Neo_The_User: make drm.o radeon.o in linux-core
Neo_The_User: and thats it?
agd5f: there is not r600 kernel module. it's part of radeon
Neo_The_User: ah ok
agd5f: then copy drm.ko and radeon.ko to your kernel module tree
Neo_The_User: :) thanks!
Neo_The_User: is this normal? http://pastebin.ca/1538019
agd5f: Neo_The_User: no
Neo_The_User: hahah ok. recompile kernel to flush out the 2 time thingy
MostAwesomeDude: Neo_The_User: Why not ask the zen guys to track and merge our DRM tree, or better, Linus' tree?
MostAwesomeDude: Since I get the feeling you're only tracking, not developing, it might be easier for things to be in one place.
Neo_The_User: ill just pull the DRM code myself into my custom zen tree
Neo_The_User: i'd develop if i could but i can only develop playstation 3 stuff
MostAwesomeDude: Directly on the Cell, or in Yellow Dog?
Neo_The_User: on the cell. flashing BIOS etc
Neo_The_User: custom firmware stuff.
Neo_The_User: anyways....
MostAwesomeDude: Neo_The_User: Have you checked out the Cell PSU Gallium driver? Might be interesting to you.
MostAwesomeDude: You'll probably need Yellow Dog or some other Sony-blessed Linux on there, though. Not sure; never used it myself.
Neo_The_User: nah i run debian ppc on it
Neo_The_User: ppc64 :)
MostAwesomeDude: Good times.
Neo_The_User: yep yep
MostAwesomeDude: Seriously, you should check it out if you've done some PS3 hacking; I think it might be more up your alley since you've got a bit more experience there.
Neo_The_User: sure thing. after all i got the best ps3 dev crew
Neo_The_User: ok all drm code from linus tree is now pushed into my zen kernel (wh
Neo_The_User: *:)
Neo_The_User: should i pull airlied' tree with him drm-kms-radeon branch in too?
Neo_The_User: mind the typos
MostAwesomeDude: Neo_The_User: Probably not. If you need specific patches in there, I'd create a local branch and cherry-pick them.
Neo_The_User: k new kernel. brb
MostAwesomeDude: :T
chloros: hi. are there any problems with compiling radeonhd on solaris?
chloros: it doesn't seem to work for me. i get these compile errors that don't seem to make sense.
bridgman: chloros; might be a good idea to post on the radeonhd mailing list
bridgman: I know there are Solaris folks on the ML but don't see them on IRC much
chloros: i see. okay.
chloros: though i'm not sure whether it might be solaris-specific though
chloros: might be a compiler issue
bridgman: yep, but either way it probably wouldn't hurt to post on the ML
chloros: ah okay. thanks anyway.
ninjaslim: has anyone here tested experimental 3d with an R6XX card