/srv/irclogs.ubuntu.com/2010/06/06/#ubuntu-x.txt

MrGreencastleis this the channel for the maintainers of the x-swat ppa?10:23
hyperairyes it is.10:26
hyperairnot that i'm one.10:26
hyperairSarvatt maintains it afaik.10:26
MrGreencastleOh ok10:29
MrGreencastleI'm just wondering if there is an issue currently with the latest nvidia driver in lucid, from the stable ppa10:29
MrGreencastleI was experiencing poor-ish performance with the shipped version of the nvidia driver, so I grabbed this ppa, and updated the nvidia-current package, yet it doesn't seem to worked :S10:30
MrGreencastlePerhaps I'll try the beta release10:30
* hyperair has given up on nvidia and ati.10:31
hyperairintel ftw!10:31
MrGreencastlelol10:31
hyperairbesides, my nvidia-based desktop doesn't work with drivers newer than 96.xx10:31
hyperairstupid nvidia, deprecating my card just like that10:31
hyperairit's only a few years old..10:31
MrGreencastleI just recently got back into the *nix game from windows10:32
MrGreencastleIt's been awhile10:32
hyperairhrmm why did you even switch back to Windows in the first place?10:32
MrGreencastleHaven't used ubuntu since 6.XX10:32
=== freeflyi1g is now known as freeflying
hyperairhaha.10:32
MrGreencastleWork reasons10:32
hyperairthat was the first Ubuntu I used =p10:32
hyperair6.0610:32
MrGreencastleI found that I spent way too much time playing with the OS10:32
hyperairi screwed my xorg.conf, couldn't figure out hwo to fix it, and purged the system thrice before i got it working.10:33
MrGreencastleCan't exactly do that as easily in windows10:33
hyperairoh10:33
hyperairheh10:33
hyperairthat sounds familiar =p10:33
hyperairyou need to let the novelty wear off10:33
MrGreencastleI think it was dapper10:33
MrGreencastleI then used arch for a few years10:33
hyperairbut then again, from time to time, i still end up playing too much with the OS.. like how i spent a week trying to get my kernel compiling....10:33
hyperairoh Archlinux eh..10:34
hyperairi used that for a grand total of 4 months.10:34
hyperairat the end of 4 months, the only difference between my Arch and Ubuntu installations were the package manager.10:34
MrGreencastleI liked it, it was fun knowing I built it from the ground up...ish10:34
hyperairso i just gave up using Arch and went back to Ubuntu.10:34
hyperairgo LFS ;-)10:34
hyperairLinux From Scratch10:34
MrGreencastleHeh, I just installed 10.04, and I'm extremely impressed...10:34
MrGreencastleIt's nicer than my mac!10:35
hyperair\o/10:35
hyperairyes, 10.04 is a very impressive release.10:35
MrGreencastleunfortunately my nvidia drivers are being poo10:35
hyperairunfortunately.10:35
hyperairwhat card is that anyway?10:35
MrGreencastle130m in an hp notebook10:35
MrGreencastlegeforce*10:35
MrGreencastleworks fine in mac and windows for me, I was just getting a few oddities with Lucid's standard driver10:36
MrGreencastlewhich is odd, considering it's LTS10:36
hyperairnot at all.10:37
hyperairthere are limits to how much QA we can do10:37
MrGreencastlehaha10:37
hyperairand nvidia is a great shining example of that.10:37
hyperairit's a closed source blob, nobody knows wtf's going on in there10:37
MrGreencastleI know, I know, I'm just giving people a hard time :)10:37
hyperairhmm, giving who a hard time? ;-)10:38
hyperairi'm enjoying myself putting down nvidia here.10:38
MrGreencastleIt's probably my fault anyway10:38
MrGreencastleI'll try the beta drivers and let you know10:38
hyperairgood luck10:38
MrGreencastle*sigh11:18
MrGreencastleI must have found a bug11:18
MrGreencastleor whatever it is that the hardware drivers app does, I couldn't figure out. 11:19
MrGreencastleI got the beta drivers working, and performance is much smoother11:19
hyperairwell that's nice =)11:21
MrGreencastleyeah, its just irritating how I couldn't get it to work by just installing it. I had to install the old ones via hardware drivers, then add the ppa for the beta ones, then restart, then upgrade, then restart :S11:23
hyperairyay nvidia11:25
=== albert231 is now known as albert23
* hyperair eyes the new x-x-v-i upload suspiciously15:26
SarvattI'm confused, the ones in the ppa *are* the beta drivers, he must have been installing from nvidia.com?17:06
Sarvattcrashing hyperair?17:28
Sarvattis it any worse than before?17:28
* bryceh waves17:32
hyperairSarvatt: page flipping support is enabled =O17:37
hyperairSarvatt: which explains why i keep getting hangs within 10 minutes of each other >_>17:37
hyperairSarvatt: oh hey i managed to switch TTYs17:39
Sarvatthyperair: new one uploaded without it17:49
Sarvattsorry :(17:49
Sarvatti will warn you before i do it again, i passed out last night after uploading it17:49
Sarvattheyo bryceh!17:50
hyperairSarvatt: no problem.17:50
hyperairi think i'll write a script that greps the current Xorg log and checks if page-flipping is enabled17:50
hyperairand warn me17:51
hyperair=p17:51
Sarvattlol17:56
Sarvatt#!/bin/bash18:02
Sarvattif [ -z "$(grep forcibly /var/log/Xorg.0.log)" ]; then18:02
Sarvatt        notify-send -t 30000 -u critical -i gtk-dialog-info "Page flipping is enabled." "YOUR X IS BUSTED!"18:02
Sarvattfi18:02
hyperairSarvatt: thanks. =p18:03
Sarvatti call it lolintel.sh :)18:03
hyperairhehehe18:03
Sarvattmaybe a zenity warning in the notification area would be better :)18:06
Sarvattso its persistant18:06
jcristauSarvatt: if ! grep -q forcibly /var/log/Xorg.0.log; then18:06
hyperairSarvatt: grep forcibly /var/log/Xorg.$(echo ${DISPLAY} | grep -o '[0-9]' | head -n1).log)" &> /dev/null && notify-send -t 30000 -u critical -i gtk-dialog-info "Page flipping is enabled. "YOUR X IS BUSTED!"18:08
Sarvatthah, I wasn't crazy!18:14
Sarvatt3.6.35-rc1 is nasty18:14
Sarvattmy machine no longer goes into C3 states18:14
Sarvattbattery life sucked yesterday, guess thats why18:15
hyperairlol18:15
hyperairrc1 is nasty indeed.18:15
hyperairi spent a whole week attempting to compile it18:15
SarvattC0 (cpu running)        (80.6%)         1.60 Ghz     1.7%18:15
Sarvattpolling           1.5ms ( 0.0%)         1333 Mhz     0.0%18:15
SarvattC1 halt           2.6ms ( 3.3%)         1066 Mhz     0.7%18:15
SarvattC2                0.6ms (16.0%)          800 Mhz    97.7%18:15
SarvattC3                0.0ms ( 0.0%)18:15
hyperairaha.18:16
hyperairthat makes sense.18:16
Sarvattnasty! 13 watts idle power usage vs 718:16
hyperairi was wondering why my temperature was hovering 10 degrees celcius higher than usual18:16
Sarvattits fixed in -rc218:16
hyperaircool18:16
Sarvattsaw the commit then looked at powertop lol18:16
hyperairi'll compile rc2 as soon as i get my btrfs fixes18:16
hyperairSarvatt: do you know of this patch: http://lists.freedesktop.org/archives/intel-gfx/2010-April/006463.html ?18:17
Sarvattwell whenever rc2 comes out i mean, fixed in git though18:17
hyperairSarvatt: rc2's out.18:17
hyperaircommit e44a21b7268a022c7749f521c06214145bd161e418:17
hyperairAuthor: Linus Torvalds <torvalds@linux-foundation.org>18:17
hyperairDate:   Sat Jun 5 20:43:24 2010 -070018:17
hyperairLinux 2.6.35-rc218:17
Sarvattoh dang, i opened the log last night and didnt refresh it :)18:18
Sarvattthat patch doesnt affect you though?18:18
hyperairSarvatt: http://www.pubbs.net/201005/fedora/1529-page-flipping-on-intel-211-driver.html <-- this says that the patch i linked above fixes the hangs with page flipping.18:18
Sarvattfor gen3 yeah you have gen4 though18:19
hyperairoh isit?18:20
hyperair=\18:20
hyperairhow do you tell?18:20
Sarvatt965+ = gen4, 915-945 is gen318:21
hyperairweird.18:21
hyperairit said GMA310018:22
hyperair3100 is the one i have..18:22
Sarvattwhats the pci id?18:24
Sarvattthose 3xxx ones are oddballs18:25
Sarvattyou use 965_dri so though i'm sure yours is gen418:27
Sarvattdrivers/gpu/drm/i915/i915_drv.h has the list of what each pci id is18:27
hyperairSarvatt: 2a0218:31
hyperair00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 03)18:32
Sarvattyep thats gen418:33
hyperairheh oh well.18:33
Sarvatt#define IS_GEN4(dev)((dev)->pci_device == 0x2972 ||\18:33
Sarvatt..snip..18:33
Sarvatt (dev)->pci_device == 0x2A02 ||\18:33
hyperairah18:34
Sarvattthats an X3100, different beast than a 310018:34
Sarvatt3100 is a desktop G31/G3318:34
hyperair@_@18:35
hyperairdamn them, can't they just stick to one numbering scheme?18:35
Sarvatthttp://en.wikipedia.org/wiki/Intel_GMA18:35
jcristauhyperair: that's called marketing18:35
Sarvattyeah make people think its a better gpu than it really is :)18:36
SarvattAmaranth, RAOF: compiz works again on intel when resolution == max texture size in mesa 7.918:43
Sarvattso we can drop that nasty hack that made it so everyone cant use it in MM eventually18:44
hyperairjcristau: bah.18:46
SarvattDepends:18:51
Sarvatt xserver-xorg-core (>= 2:1.8),18:51
Sarvatt xserver-xorg-video-all | xserver-xorg-video-7,18:51
Sarvatt xserver-xorg-input-all | xserver-xorg-input-9,18:51
Sarvattthat look right for xserver-xorg?18:51
Sarvatthyperair: btw I figured out how to get vblank_mode in drirc to be honored - http://pastebin.com/C37kfXkr19:04
hyperairah.19:05
Sarvattwhy that took me like 6 hours stepping through gdb i'll never know, at least it was a learning experience :)19:05
hyperairlol19:05
hyperairwhy did you need it disabled again?19:05
Sarvattbecause it's crap on 945, makes the mouse really laggy in mutter when its on even19:06
Sarvattvblank_mode=1 isn't bad either, just 2 and 3 suck19:06
Sarvattcouldn't figure out how to fix mesa so it worked when you set it for i915 like its advertised though19:08
hyperairi see.19:14
Sarvatti guess if we do go r300g by default for ati in MM we can just add a check for if KMS is in use to the DDX to use the gallium dri driver name otherwise use the classic one, the names are different so they wont interfere19:20
Sarvattheck, i'm going to just do that now in edgers so I can ship radeong_dri in /usr/lib/dri19:23
Sarvattoh wait, it's even easier than I thought, radeon dri2 is only used in KMS so just modifying the dri2 path is guaranteed to be gallium compatible19:25
Sarvatthmm, need to figure out how to check for gallium support in configure.ac19:35
Sarvatthmm after doing all that it seems like it'd be better as an xorg.conf option that only enables by default if you build with --enable-gallium so people could still use classic19:58
Sarvatthttp://sarvatt.com/downloads/patches/0001-Add-a-configure-option-at-build-time-to-use-the-gall.patch20:01
Sarvattat this point, i'm not seeing much reason to even have a /usr/lib/dri-gallium 20:59
Sarvattworking on a patch to the ati ddx that adds a gallium xorg.conf option that defaults to enabled that picks radeong instead of r300 so its possible to use both instead of that hacky rename. intel is the only one where the gallium versions are the same as the classic ones and we arent gonna be building that anyway21:02
Sarvatt(and the xorg.conf option is only available with KMS, wont affect UMS)21:03
Sarvattahh forgot about swrastg21:08
Sarvattthis dri2 stuff is confusing.. can we specifiy more than one driver name in the driverNames array in DRI2InfoRec or is it hardcoded to use one name for each type?22:21
Sarvatti guess that doesn't make sense because it wouldnt need to use both at the same time, dont mind me just figuring crap out :)22:26
jcristauit's one of each type.  dri2 at offset DRI2DriverDRI, vdpau at offset DRI2DriverVDPAU, iirc22:27
RAOFSarvatt: Yeah, I ended up deciding against dri-gallium too.23:41
RAOFSarvatt: I've talked with airlied - it seems there's a good chance that radeong_dri.so will become r300_dri.so in 7.923:41
Sarvattdoh23:42
Sarvattwell crap23:42
RAOFDoesn't make that patch less useful, though.23:42
RAOFJust means you'd need to update the mesa packaging to copy r300_dri from glx/gallium to radeong_dri23:43
Sarvattwas almost done making one that adds gallium as a xorg.conf option defaulted on to info->ChipFamily >= CHIP_FAMILY_R300 && info->ChipFamily < CHIP_FAMILY_R60023:44
Sarvattbut i cant for the life of me figure out a way to have a fallback23:44
Sarvattlike if you have it enabled in xorg.conf with that option and it doesnt exist have it try the other23:44
RAOFstat radeong in the setup codepath?23:45
jcristaunot sure the ddx driver knows the dri driver path23:47
RAOFWell, if it's just a edgers hack patch, that's not too much of an issue :)23:48
jcristauhehe, yeah23:48
RAOFI don't _think_ upstream's likely to be interested in it - airlied seemed very much of the opinion that making it easy for the user to choose between the dri modules wasn't useful.23:49

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