/srv/irclogs.ubuntu.com/2009/12/02/#ubuntu-x.txt

=== ripps_ is now known as ripps
=== seb128_ is now known as seb128
=== seb128 is now known as seb128_
=== seb128_ is now known as seb128
apwanyone know whether there is a how-to on getting different settings (such as keyboard layout) per input device in X ?08:56
tseliotapw: yes, you can rely on the name and/or the id of the input device (which you can get from the "xinput list" command).09:08
tseliotas regards keyboard layout you can use the device id09:08
tseliotfor example setxkbmap -device 2 -print09:09
tseliotor something like that09:09
apwtseliot, and is there somewhere you add that to get it to persist, as it gets lost on suspend09:09
* tseliot hasn't played much with setxkbmap09:09
tseliotapw: in Gnome I *guess* the gnome-settings-daemon would take care of it09:12
tseliotjcristau: ^^09:13
apwtseliot, does xmodmap work per device too?09:13
apwthat is a poor question ... i want to change the layout, xsetxkbmap is good for that.  i also want to swap two keys on the new keyboard, can i do that on a per device basis09:14
tjaaltonI don't think there's gui support for it yet09:14
apwhappy to use command line for this for now09:14
tjaaltonI meant for g-s-d09:15
apwahh09:15
tjaaltonthe tools are lacking09:15
tseliotapw: I don't think xmodmap allows you to have per device settings09:17
brycetseliot, if you're around, there is a conf call with AMD today in about an hour16:09
tseliotbryce: thanks but I don't think I'll be around in an hour. Maybe you can forward the report to me?16:11
tseliotI mean the report on the call16:16
bryceactually I don't really have anything to discuss with them, so was hoping the call would be of more usefulness to you16:17
tseliotbryce: oh, nothing comes to my mind at the moment but maybe I can ask them next time (I'm quite busy with the new house)16:22
=== mac_v_ is now known as mac_v
lyhana8hi, I try to use ppa-purge, but I´m running a Linux Mint 8 aka Helena and got plenty of error messages17:17
brycelyhana8, sorry I don't think it is supported on linux mint17:19
lyhana8here is my log : http://pastebin.com/d53d3488917:20
lyhana8LM is ubuntu-based, I think it's only the distro name that trigger the problem17:20
Sarvattyeah17:21
Sarvattis it based on a ubuntu release?17:22
lyhana8yep17:22
lyhana8http://www.linuxmint.com/about.php17:23
Sarvattyou can try DIST="whatever" ppa-purge xorg-edgers17:23
Sarvattwhatever the one you're using is based on17:23
lyhana8http://en.wikipedia.org/wiki/Linux_Mint17:23
lyhana8ok17:23
Sarvatti meant are those packages from the ubuntu archives instead of linux mint archives, no idea how they handle the dist thing17:24
lyhana8I added the xorg-edgers repo manually17:24
lyhana8well doesn´t work : Warning:  Could not find package list for PPA: xorg-edgers ppa17:26
lyhana8how can I do it manually ?17:26
Sarvattthats cus it removed it last time it failed17:26
Sarvatttry uncommenting it from your sources then apt-get update then try again17:26
Sarvattyou want to sudo apt-get install package/karmic package2/karmic to downgrade manually17:28
Sarvattor uncomment the edgers ppa in your apt sources and apt-get update to refresh it and try again with DIST="karmic" ppa-purge xorg-edgers17:29
tjaaltonbryce: I'll merge the xserver so it's (more) ready for upload once the prereqs are in17:30
lyhana8Sarvatt: isn´t removing the ppa and reinstalling the xorg-server package enough ?17:30
Sarvattnope17:31
lyhana8same error, he look for an helena archive for each package17:32
lyhana8did the package use lsb_release or something la that to know the context ?17:33
brycetjaalton, excellent17:33
Sarvattyeah it did17:33
SarvattDIST=$(lsb_release -c -s)17:34
lyhana8Sarvatt: so it override my DIST ?17:35
tjaaltonkees: is libaudit-dev finally in main (lucid) ?-)17:35
Sarvattdid you use sudo somewhere in there or did you pass DIST="karmic" as root?17:35
lyhana8I use the sudo commadn17:36
lyhana8I try to remove the ppa version cause I think it make my firefox buggy17:38
Sarvattjust run this command and bypass ppa-purge, http://pastebin.com/d6f09bb34 :D17:39
lyhana8XD17:39
lyhana8any idea if your driver can cause issue to firefox (flash) ?17:40
Sarvattyeah it sure could17:41
lyhana8or this ppa : launchpad-weyland/xserver-nobackfill/ubuntu17:41
lyhana8oh~17:41
lyhana8Sarvatt: downgrade ok, i'll logout later. Thanks17:44
mac_vhmm , even with kernel .32-6 ATI KMS performance is slow :(  ...17:44
mac_vanyone know how to effectively measure the fps/speed reduction with KMS ?17:47
* mac_v was told glxgears isnt a good indicator17:49
tjaaltontry openarena or similar17:50
mac_vhehe , i have to learn to play a new game :)17:51
mac_vhas been "on the wagon" for nearly 2yrs... ;)17:52
tjaaltonor run phoronix-test-suite17:52
mac_vah , great , ok17:52
mac_vtjaalton: basically i wanted to help in testing , will those results help , or rather are they needed/essential?17:54
* mac_v realizes he asked the questions first :)17:55
tjaaltonwe know it's slower17:57
tjaaltonphoronix has an article about it17:57
brycewhat is launchpad-weyland ?  Did someone package wayland?17:59
tjaaltonnah, the author is mathias weyland :)18:00
brycemac_v, what's needed is to locate patches upstream that haven't filtered down to us that sound like they would improve performance, patch your driver, and test *that*18:01
brycemac_v, and then if you find something which looks really good, flag it for our attention so we can look into incorporating it18:01
* mac_v is unfortuantely not good/technical enough to help bryce with patching and testing :(18:02
* mac_v is more a noob , who can test ppa and whine when things are broken ;p18:02
bryceheh, we have an oversupply of that at the moment ;-)18:03
mac_vlol ;)18:03
bryceone other thing we could use is regular performance testing18:05
brycedo an upgrade each day to latest lucid, run the test suite, plot the data point on a graph18:06
bryceand then make the graph available to us18:06
brycethis would enable us to spot performance regressions (or improvements) faster18:06
Sarvatti'm surprised how good gallium is right now on i915 at least, simple things like qgears2 and glxgears are 2x faster and openarena is within 10% of the normal driver. the old build i did of it in july is 4-6x slower in the same things (or didnt even run them at all for the most part)18:09
mac_vbryce: that i can do :)  ...  right now , what i have done is I'm running the Karmic with lucid kernels , in a few days once alpha 1 is released I'll fuly install Lucid on another partition and start doing that...18:11
Sarvattwish I knew of a way to make phoronix-test-suite not run some tests 3x so I wouldnt have to babysit it and manually exit the 2nd and 3rd runs, takes out my machine for 3 hours running openarena and smoking guns tests when i just want a rough idea of the speed18:19
bryceSarvatt, maybe yank out just that one test and package it to run in isolation?18:40
tjaaltonbryce: looks like the "remaining changes" -part of the xserver changelog was a mess, partly because of me :)19:39
tjaaltonit had obsolete information and nothing new, because I haven't been updating it when merging19:40
tjaaltonthe diff, apart from patches, is pretty small19:40
virtualdI thought the random dpms offs were fixed19:43
brycevirtuald, should be yeah19:52
brycetjaalton, ok19:52
brycetjaalton, yeah this would be a good opportunity to do some housecleaning on xserver19:52
brycebtw, I revamped the Xorg.0.log timing patch19:53
brycebeen testing it on my laptop, I can check it in, although I don't think there's much need to enable it19:53
tjaaltonok, nice19:55
virtualdbryce: i'm on edgers now, and a while after resume from ram my monitors turned off. i have an rv570.20:09
brycevirtuald, let me know if you find a patch that fixes it20:14
brycealthough I'm more focused at the moment on what's in lucid than what's in edgers, but I'm open to looking at patches either way20:14
tjaaltonanyone else have issues loading http://cvs.fedoraproject.org on karmic (firefox), with intel gfx or other?20:19
tjaaltonit makes ffox take 100% cpu and takes several minutes..20:20
tjaaltonumm, http://cvs.fedoraproject.org/viewvc/devel20:21
virtualdi don't know where or how to find such a patch, and i'll try to remember to try to reproduce on lucid20:38
tjaaltonbryce: should we still autoload poulsbo?20:39
brycetjaalton, do we?  thought that was defaulted to vesa in our xserver20:40
tjaaltonbryce: so it seems. anyway, the patch fails now20:40
tjaaltonhmm, done differently upstream20:41
tjaalton            } else if (dev->device_id == 0x8108) {20:41
tjaalton                break; /* "hooray" for poulsbo */20:41
tjaaltonthat should fall back to vesa then20:42
bryceso that causes it to fall back to vesa?20:42
tjaaltonyes20:42
jcristauyes20:42
bryceshould be fine20:42
tjaaltonecho :)20:42
bryceI'd defer to alberto, he's more clued in on what the OEM team wants20:42
brycebut they can patch it themselves for the psb hardware they ship20:42
tjaaltonthey can change it later if needed20:42
tjaaltonthat's the fourth patch I've tried to apply, and fourth to delete :)20:43
bryceI don't think we have a -psb at present that'll work on lucid with xserver 1.7 anyway.  probably needs to go to vesa.20:43
tjaaltontwo of the patches were from fedora, and dropped there. I doubt we should be shipping stuff the "upstream" doesn't20:44
brycetjaalton, just please give a mention of the patches being dropped and why.  Sometimes in troubleshooting a regression I have to figure out why a given patch was dropped so it would be helpful info.20:44
tjaaltonbryce: sure20:44
jcristaui haven't looked at what f12 has on top of 1.7.x recently.20:45
jcristaujust cvs upped, though :)20:45
jcristauah there's the glx 1.4 thing20:47
jcristaushould probably steal that20:48
brycesconklin, btw do you know if the kms pageflip patch is on the radar for the 2.6.32 kernel?  http://www.phoronix.com/scan.php?page=news_item&px=NzY5OA21:04
sconklinbryce: I wasn't familar with it, I can see21:05
bryceif not, would be nice to have it in a ppa for testing purposes21:05
sconklinbryce: according to the page you linked, it didn't make .32 - I'll try dropping it on top of our karmic and see what happens.21:07
jcristauright it's queued for .33 upstream21:08
sconklinbryce: I'm just now uploading a karmic kernel + the moblin speedup test patches to a PPA for Alberto to have a look at.21:08
brycesweet21:09
brycesconklin, I tested apw's karmic kernel with those patches, but on an SSD didn't spot changes to X's boot time (didn't look at kernel boot time)21:09
bryceI'll test your kernel too21:10
sconklinand andy is doing research with the sme patches for Lucid. Did you see Andy's email to kernel-list about accounting for the differences in moblin kernel speed?21:10
sconklinHe's accounted for all of the differences without the patches we're looking at21:10
apwbryce, thats odd as tseliot claimed 2s with some x patches included21:10
sconklinbryce: apw's kernel doesn't have all the patches that mine will, but they still may not make much difference21:13
brycesconklin, ok no I'm not on the kernel list21:19
bryceapw, he thought it might be due to me running on SSD and him not on SSD21:19
apwbryce, may be so indeed21:19
Sarvattdo you use compiz jcristau? i just wrote down the time of every flicker for the past 30 minutes and when i turned on compiz halfway it went from having 80 seconds exactly between flickers alot of the times to 20 seconds21:19
bryceapw, my X boots in <2 sec on SSD already, so a 2 sec savings would be pretty astounding ;-)21:19
apwbryce, yeah it would21:20
bryceI've a i945 laptop with a much longer X boot, I could try on that21:20
brycebut since the target hardware is SSD, I'm sort of more interested in that case21:20
apwyep.  testing here on the same21:20
jcristauSarvatt: no21:21
sconklinbryce: basically, turning off initramfs and ISA-PNP results in a kernel init time of about 0.8S21:21
brycemm21:21
jcristauSarvatt: so that seems to match what you see21:22
Sarvattmetacity compositing maybe? i didnt test that21:22
jcristauno compositing for me.  plain old fluxbox.21:22
jcristauoh i misread what you said21:22
jcristausorry21:22
apwbryce, you done any testing on lucid yet..21:22
jcristauthought you said it went 80 -> 20s by turning compiz *off*21:23
* apw thinks he just had a hang on there on the 10v21:23
apwbryce, oh i forgot ... did you note ATI KMS is now on by default21:23
Sarvattits weird, if i stared at gnome terminal with nothing else open it'd have chunks of time where it'd go off 80 seconds exactly, if i opened a new program it'd almost always trigger it not long after21:24
bryceapw, yeah I've got both my laptops on lucid now.21:24
apwbrave :)21:24
jcristauSarvatt: jesse suspected the fifo watermarks settings.  i haven't had time to play with that yet.21:24
bryceI ran into an issue where upstart isn't starting gdm, unless I remove some line about kernel tty7 from grub.cfg21:25
apwbryce, i think i saw a flicker on my 10v too, like a jump left an inch for a frame21:25
brycefiled a bug21:25
apwbryce, ouch21:25
bryceapw, not so brave... I still keep my desktop on karmic for now ;-)21:25
jcristauapw: what chip is the 10v?21:25
brycebut I'm not traveling for the next couple months so if laptop breaks it's not a problem21:25
brycejcristau, i965 iirc21:26
apw00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)21:26
bryceah 94521:26
jcristaucould be the same bug Sarvatt and i are seeing21:26
Sarvattthats what I have, i get the flickering after a suspend/resume cycle every time on 2.6.3221:26
apwbah ... and we are close to final on the kernel21:27
* jcristau gets it after boot, no suspend needed21:27
Sarvattalso i cant suspend with a SD card mounted on 2.6.3221:27
Sarvattand its not a ubuntu patch problem, happens when i compile a vanilla kernel21:27
apwSarvatt, we had a patch for that in karmic and i think its still in lucid21:28
apwmay not work of course21:28
Sarvatthmm wonder if i suspend without a dpms off from pm-utils if it'll still flicker21:29
Sarvattor lock up on the solid color21:30
apwSarvatt, on the SD card thing, it hangs hard on suspend yes?21:30
Sarvattyeah, the screen wont turn off but the system freezes21:30
apwas you can reproduce it, perhaps you could boot with 'no_console_suspend' on the kernel commad line, and try a suspend from VT1 using sudo pm-suspend21:30
apwand see if you get a panic21:30
Sarvatti'll do that right now21:31
Sarvattsame issue, /var/log/pm-suspend.log shows a success but it was frozen with the screen still on and unresponsive21:38
Sarvatthttp://paste.ubuntu.com/333422/21:40
sconklinis it worth sending announcements of test kernels like the moblin patches on Karmic to the ubuntu-x list?21:40
tjaaltonbryce: preliminary merge done, there are a bunch of patches that need a review and/or a refresh22:04
tjaaltonwe should probably replace patch 140 by disabling acpi altogether22:06
tjaaltonsince it's not used by anything22:07
tjaaltonhttp://cvs.fedoraproject.org/viewvc/devel/xorg-x11-server/xserver-1.6.0-less-acpi-brokenness.patch?revision=1.1&view=markup22:07
tjaaltonone way to do it :)22:07
Sarvatthmm, looking like a good excuse to go splurge on an SSD and just shutdown instead of suspending :D22:35
jcristautjaalton: patch 140 is obsolete anyway22:35
jcristau(commit 7a05c8b1e70680ddd3b3e09ad448788f8d70a428)22:36
Sarvatt140 174 178 179 180 fix-dga-removal 181 182 183 185 187 Add-libgcrypt-as-an-option-for-sha1 were all upstream last i looked, but i was looking at master not 1.7 branch22:41
jcristauSarvatt: the libgcrypt one is only on master22:42
=== seb128_ is now known as seb128

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