/srv/irclogs.ubuntu.com/2010/08/22/#ubuntu-x.txt

=== yofel_ is now known as yofel
warewolfSarvatt congrats on your job :)04:27
brycehSarvatt, welcome aboard :-)05:33
=== yofel_ is now known as yofel
penguin42Does anyone know where the ioctls for radeon dri are defined for user space?17:01
penguin42oh maybe in an X server file rather than normal /usr/include/linux ?17:03
* penguin42 finds libdrm17:07
=== jg__ is now known as jg
jgping Sarvatt 17:42
penguin42anyone understand drm_buffer_pointer_to_dword and friends?17:50
X3hi guys18:05
X3need help form someone experienced who can backport nvidia drivers and vdpau etc from 185 to 256 on karmic and lucid need to have a ppa which offers all those choices on one ppa18:07
X3its for this project https://sourceforge.net/projects/xci/18:07
tjaaltonX3: https://edge.launchpad.net/~ubuntu-x-swat/+archive/x-updates for lucid18:17
tjaaltonmaybe the same works for karmic18:17
X3er thats only offering 256 in lucid18:18
X3i need to offer choice from 185 up to 25618:18
tjaaltonheh, good luck then18:18
X3oh thx for your help... not18:19
tjaalton256 supports the same devices, so I don't understand what you're aiming for18:19
X3if you read about XCI you would know18:19
X3its a post installer script for xbmc some devices etc18:20
X3users not all want just one driver version18:20
tjaaltonstill doesn't answer the question18:20
X3diferent machines, setups, needs etc18:21
tjaaltonyes, and if 185 works then 256 will18:21
X3really18:21
tjaaltonwell, it's nvidia...18:21
tjaaltonso maybe not18:21
X3i must have droped IQ18:21
tjaaltonbut in theory it would18:21
X3in theory18:22
X3you would nderstand I need to offer a chice for my script users18:22
X3*choice18:22
tjaaltonso to answer your question; no there is no place with every nvidia driver available since 18518:23
X3I know18:23
X3this is what Im trying to create18:23
X3nvidia ppa offers this for karmic18:23
X3but not for lucid18:24
X3and x swat only offers one dribver version18:24
tjaaltonthen ask whoever is providing that18:24
X3oh lord18:24
tjaaltonoh sunday18:24
X3man why you making a easy requet into a nightmare18:24
tjaaltonare you asking for someone to create a ppa for you?18:25
X3most importantly why am I listening to someone ewho clearly not helpfull18:25
X3ya I need someone whos experienced with drivers18:25
tjaaltontrying to save you some time. it's rather pointless to provide that sort of choice to the users..18:26
X3oh right18:26
tjaaltonhey, I maintained nvidia/fglrx for 8.0418:26
X3why they ask for it18:26
X3i have 6k users and they wanted choices18:26
tjaaltonit's trivial to rebuild the package for a given distro18:27
X3trivial for u perhaps18:27
tjaaltondunno about forward-porting to a newer kernel, but shouldn't be too hard18:28
X3ah18:28
tjaaltondch, bump the version & change the release, debuild -S, dput18:28
X3your assuming that im experienced packager, in that case I wouldnt be asking for help18:28
X3its not that simple18:29
X3in order to have one ppa with several difernt versions of same the packages need renaming18:29
X3e.g. nvidia-drivers to nvidia-drivers-18518:30
X3otherwise the newer drivers just erase oldr ones on ppa18:31
X3also many of the packages have problems that require some attention18:31
tjaaltonno it doesn't18:31
tjaaltonoh18:31
tjaaltonit does18:31
X3:/18:31
tjaaltonwell, see, it's pointless :)18:31
X3whats pointless is this discussion18:32
tjaaltonindeed18:32
penguin42X3: Why don't you try cribbing from some other packages that do similar things?18:32
X3?18:32
penguin42X3: Find another package which has 2 or 3 versions available and borrow the way they do it18:32
X3its any compile issues that need fixing as well as other things18:33
X3its not as simple as that18:33
penguin42X3: Yeh well I'm not sure where you're going to find someone to fix compile issues on so many versions - I guess it's hard enough just keep one or two versions built and working18:34
X3for choice and availability for all?18:34
X3nm18:34
penguin42X3: But it's a lot of work I guess; so I guess the people who know try and pick one or two versions which work for most18:34
X3LOL18:35
X3never mind Ill just do it myself18:36
penguin42well if you disagree find someone who wants to do it, but please don't laugh at us18:36
X3im not laughing at you18:36
X3ust at the defeatist attitudes18:36
penguin42X3: It really shouldn't need every version; it should just work with one or two18:36
penguin42X3: It's defeatist to build every damn version for every kernel18:37
X3im trying to help people with their projects andn i get the destinct message that says its hard work forget about it18:37
tjaaltonX3: that's what happens after you've dealt with the blobs for some time18:37
penguin42X3: I'm not saying some hard work is a bad thing; but I'm saying its probably not the most useful thing18:37
X3Clearly you guys know nothing about XCI or xbmc users so nm18:38
tjaaltonheh, do they differ from ubuntu users?-)18:38
* penguin42 checks the channel title18:38
X3nm you guys have a dandy sunday I just found a useless channel18:38
X3ill do it all myself18:39
penguin42enjoy18:39
tjaaltonpenguin42: btw, did you try #dri-devel, or #radeon?18:45
penguin42tjaalton: Not yet, I've not get much time left today so I'll probably pick it up again next weekend18:52
tjaaltonpenguin42: okay18:53
penguin42tjaalton: But thanks for the reply18:53
tjaaltonnp18:54
tjaaltonmy better contribution for the day ;)18:54
* penguin42 is working through the kernel with sparse and trying to understand some of the warnings; I've found some nice obvious bugs that I've reported - nice simple ones; but there are a few I want to think more about18:54
Sarvattpenguin42: /usr/include/libdrm/radeon_drm.h and drm_buffer_pointer_to_dword was added here - http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg46896.html19:08
Sarvattjg: what's up?19:08
Sarvattand ...wow... at the scrollback :D19:08
penguin42Sarvatt: Thanks19:08
tjaaltonyeah, sorry about that19:09
Sarvattwhy are YOU sorry? :D 19:10
tjaaltonfor feeding the troll?-)19:10
jgSarvatt: I finally had a chance to get back to installing on my HP 2540p; Maverick installs, but the screen flashes at 1-2hz randomly.  So there is still some problem....19:11
Sarvattwhoa, really? with the massive amount of eDP fixes queued up for the kernel I'm surprised it's working19:13
penguin42jg: Weird bug!19:13
jgpenguin42: almost certainly not quite driving the panel correctly...19:13
jgSarvatt: so is there some version of bits I should try out, better than Alpha 3?19:14
penguin42jg: I've seen something similar on a Radeon with an old Dell 20" but it only happens sometimes19:14
jgpenguin42: yeah, it's more than a bit distracting; I did find a previous kernel that behaves better.19:15
penguin42and it was much less specific, it tended to blink off just when you looked at it 19:15
penguin42but maybe that was the --spiteful option19:15
Sarvattjg: not yet, the mainline kernels stopped building because one of the staging drivers is broken, hopefully intel gets the fixes into 2.6.36-rc2 that should be coming out soon and that'll be in here - http://kernel.ubuntu.com/~kernel-ppa/mainline/19:16
Sarvatthave you tried http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-rc1-maverick/ by any chance?19:17
jgSarvatt: yes; was unstable and oopsed with dismaying frequency; I think it also flashed the screen at me, IIRC.19:18
Sarvatthow do you like that 2540p by the way? laptop shopping for something broken on linux :)19:20
jgSarvatt: I like the machine a lot, except for the problem's I've been having under Linux.  It has a full sized keyboard; it's clearly very ruggedly built, and has a DP connector on it, which means I can drive just about any external display (at least when the bugs get shaken out...)19:21
jgIt's relatively small, but bigger than this VAIO I hate intensely.19:22
bjsniderwhat's the chipset?19:23
jgSarvatt: I haven't poked at all of the devices yet; dunno about the finger print reader, nor the support for SD, etc.19:23
jgbjsnider: http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/321957-321957-64295-3740645-3955549-4138624.html19:24
Sarvattits just a normal qs57, i'm looking at the 14" version since its hard to justify paying that much for a 1280x800 screen19:24
bjsniderthat should work perfectly fine with linux -- it's all intel19:24
SarvatteDP is all kinds of messed up on intel19:25
Sarvattand the screen is connected over that internally so theres a bunch of problems19:25
jgSarvatt: Intel® Core™ i7-640LM Processor (2.13 GHz, 4 MB L3 cache)19:25
jgSarvatt: there is also a tablet version available (multitouch screen).19:28
Sarvattit's a shame sony vaio z is the only decent 13" laptop with a non 1280x800/1366x768 screen :( i may just get a precision M6500 from the dell outlet for half price and stick to this netbook for traveling since it gets about 18 hours total battery life19:28
jgSarvatt: I've liked my VAIO for traveling, but it has sucked for everything else; the HP is slightly bigger and heavier, but I get a full sized keyboard, and it's clearly much better made.19:30
jgwill still be fine for traveling, and I can finally drive my big flat panel properly; the VAIO i have was very marginal on the video at that size.19:32
Sarvattthe $249 batteries on the vaio are putting me off on that with how much I go through them19:32
Sarvattjg: when you say flashes, do you mean like it blanks and comes back? or things shift for a split second?19:34
jgno, the screen blanks out pretty completely.19:35
Sarvattyou could try booting with i915.powersave=0 added to the kernel command line, possibly i915.lvds_downclock=0 as well19:35
jgso flashes isn't really the right term; it's as if it turns off and on.19:35
* penguin42 what's eDP?19:38
Sarvattjg: how often does it happen? does it have any correlation to activity on the desktop at all?19:39
Sarvattpenguin42: embedded displayport19:39
jgSarvatt: all the time; no correlation with what I'm doing otherwise.19:40
penguin42Sarvatt: Ah right19:40
Sarvattits a standardized plug for lcd's internally on laptops19:40
Sarvattjg: like every 10 seconds, every minute...? or just completely random?19:41
jgthe command line options had no effect, on 2.6.36-17-generic.19:41
jgSarvatt: like all the time, once or twice per second.19:41
jgReally bad....19:41
Sarvattoh nasty :(19:42
Sarvattprobably not powersave related then but still worth a shot19:42
jghttp://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.35-rc6-maverick/ is what I'm running, on which the video does not screw up.19:43
jgall in the launchpad bug reports....19:44
Sarvatthmm, thats older than the maverick kernel, the maverick kernel doesn't work?19:44
Sarvatti'll check the report19:44
jgthe  2.6.35 14, 16, and 17 kernels all screw up on the screen.19:45
Sarvatthmm last response is saying the maverick kernel works fine for someone else with your same laptop, thats odd19:45
penguin42Sarvatt: And same panel? I think the panels vary on the same models19:47
jgSarvatt: there are two slightly different chips under the same model, much less what panel it mayhave.19:48
micahgany chance of getting the intel 2.12 driver in the x-updates PPA?19:48
micahgfor Lucid that is19:48
jgSarvatt: actually, four flavors depending on what configuration: ntel® Core™ i7-620M Processor (2.66 GHz, 4 MB L3 cache)19:49
jgIntel® Core™ i5-540M Processor (2.53 GHz, 3 MB L3 cache)19:49
jgIntel® Core™ i5-520M Processor (2.40 GHz, 3 MB L3 cache)19:49
jgIntel® Core™ i7-640LM Processor (2.13 GHz, 4 MB L3 cache)19:49
Sarvattmicahg: I haven't put it in yet because it requires libdrm 2.4.21 which will break nouveau but will eventually19:50
SarvattLM does have a different GPU than the M models19:50
micahgSarvatt: k, thanks, will wait in anticipation :)19:50
penguin42and all of those are the in-socket gpu aren't they?19:51
Sarvattyeah gpu is on the same package as the cpu19:51
Sarvattthe LM models have a lower clocked gpu that turbo boosts higher and are about half the speed since turbo boost is pretty useless on the gpu :D19:52
penguin42oh what a weird way of doing it19:53
Sarvattsupport for turbo boost didnt go in until 2.6.36 but its backported into 2.6.35-17 in maverick19:53
penguin42I think Turbo boost on the CPU worked on Lucid didn't it?19:54
* penguin42 has i7-86019:54
jgI gotta run....19:54
Sarvattjg: sorry again I don't have any more info for ya, will ask jbarnes if any of this eDP stuff queued in drm-intel-next might fix it19:55
Sarvattpenguin42: I dunno, maybe the cpu turbo boost can happen automatically but the GPU definitely can't, there's an intel_ips module controlling it now19:58
penguin42ok19:58
Sarvatttheres a description of it here - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=aa7ffc01d254c91a36bf854d57a14049c6134c7220:01
penguin42ah yeh, gpu is separate20:03
penguin42getting the CPU/GPU trade off is probably a non-trivial (non-soluble?) problem20:03
penguin42anyway, time to disappear until next weekend20:05
Sarvattit only clocks up the gpu when theres enough power headroom for it to do so which is pretty much only when the cpu isn't getting used, and how often do you really need gpu power without a big cpu load going on at the same time? :D so those LM/UM core 2010's are massively crippled since they run at 1/2-1/4 the speed without turboboost20:21
Sarvattlinux-headers-generic-lts-backport needs to somehow get pulled in for people using linux-image-foo-lts-backport metapackages..21:43
Sarvattfor nvidia/fglrx sorry21:43
tjaaltonisn't linux-foo-lts-backport for that?21:43
Sarvattit only grabs the kernel, blobs just silently fail because theres no headers21:44
Sarvattthen again maybe neither work with it anyway, I didn't check :)21:44
tjaaltonright, only depends on the image, meh21:44
Sarvattoh hp, your crappy windows specific bioses never cease to amaze me21:45
Sarvatti have to boot this pavilion with a geforce 6150 IGP on battery for powermizer to work21:46
tjaaltonheh21:48
Sarvattgreat, it never goes up from the lowest speed if i do that too. so boot with battery to make it too slow to do anything but saves power or boot off ac and have it suck down 8 watts more idle21:51
Sarvattnever goes up rather21:53
jgSarvatt: it is actually quite easy to issue commands to a GPU that might keep it very busy, without taking much CPU....23:16
jgSarvatt: it's very application dependent as to whether it will take much CPU to keep the GPU busy.23:17
SarvattI was looking at it from the perspective of playing a game where there's almost never a low cpu load going on, but even say dragging a window around with compiz enabled pushes the cpu enough where it wouldn't use the turbo boost speed from what I can see23:22
jgSarvatt: I gathered from keithp that airlied may have gotten one of these eDP laptops, FWIW.23:28
Sarvattlooks like he got a 2740p from the commit message on one of his recent patches23:30
jgI've been too busy with vacation, a workshop, and chasing a problem in the internet to have had time to follow up;23:30
jgon the other hand, Yellowstone was very pretty indeed, and the internet bug definitely important; maybe I'll have a bit of time now to act as a decent tester....23:31

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!