/srv/irclogs.ubuntu.com/2012/03/09/#ubuntu-x.txt

RAOFYup.00:00
cndhmm, ok, that will help with xorg-gtest00:00
cndthough we still have to do gtest.m4 since gtest doesn't ship a pkgconfig00:00
RAOFRight.00:00
cndRAOF, do you know if there's any standard name for a source dir in a pkgconfig file?00:04
RAOFI don't think so.00:05
cndI'm using sourcedir00:05
RAOFSounds reasonable.00:07
cndRAOF, how do you get the variables out of a pkgconfig file?00:07
cndPKG_CHECK_MODULES only does CFLAGS and LIBS00:07
cndIIUC00:07
RAOFpkg-config --variable=$VARIABLE $PACKAGE00:07
cndok00:07
cndso you have to do it a bit manually00:08
RAOFSo you'll be doing something like ‘XORG_GTEST_SRC_DIR = $(shell $(PKG_CONFIG) --variable=sourcedir xorg-gtest)00:08
RAOFYeah, a little manually.00:08
RAOFYou can hide it behind your m4 macro, though.00:08
cndyeah00:11
eruditehermitsforshee, hey are you about?00:48
sforsheecnd, I just took a look at the bug that I think was filed by eruditehermit (bug 950496). From playing back the evemu-record capture everything looks normal. I updated the bug; if there's any other useful information he could supply please add a comment.14:51
ubottuError: Launchpad bug 950496 could not be found14:51
sforsheecnd, that should be bug 95046914:51
ubottuLaunchpad bug 950469 in linux (Ubuntu) "mouse doesn't work with AlpsPS/2 DualPoint driver" [High,Confirmed] https://launchpad.net/bugs/95046914:51
cndsforshee, interesting14:51
cndthanks14:51
cndthough if it worked for you, I'm not real sure what could be wrong14:52
sforsheecnd, the first time I played it back it was from on my desktop and the pointer started moving all over the place :)14:55
sforsheeI'll know better than to do that again14:55
cndheh14:56
=== JanC_ is now known as JanC
apwbryceh, about?  am looking for a relativly safe (perhaps quite low resolution) edid for some testing, as in the binary data for one17:20
apwbryceh, as i believe they have checksums right ?17:22
brycehapw, heya18:32
apwbryceh, hey, i sent you an email on the edid thing18:32
brycehapw, just read it -- awesome!!18:32
apwcool18:32
brycehapw, sure I can dig up edids for you18:32
apwbryceh, i probabally don't need it now, i used my existing one18:32
apwbryceh, which i deliberatly corrupted in the text fields18:33
brycehapw, ah ok.18:33
apwbryceh, then loading it, triggered a checksum warning so i think it worked at least at a basic level18:34
brycehapw, if I have time today I'll bang on it a bit myself18:35
apwbryceh, i am hoping you'll be able to load a low res edid into something and show it restricts resolution or something18:35
* apw only has a 1024x600 display here with him, rather annoyingly18:35
brycehapw, would be awesome if we could get this in for P, but I agree given the late date it might be safer to leave to Q.  What more would need done to get it into the P kernel?18:38
apwbryceh, i am sure the patch is not yet 'ready' pretty sure it leaks memory, but overall its pretty safe looking, so i think with some twiddling we could get it up to scratch (assuming you find value in it)18:39
apwbryceh, and i think if you find value in it we can get it in18:39
brycehok18:39
apwbryceh, as it is pretty benign if its not used18:40
* bryceh nods18:40
brycehas it happens there is an active bug right now I've been looking at, where the user's monitor is providing crap edid18:40
brycehapw, https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/92715518:42
ubottuLaunchpad bug 927155 in xserver-xorg-video-intel (Ubuntu) "[snb-m-gt2+] Viewsonic VA2012w not correctly detected (Invalid EDID)" [Undecided,Incomplete]18:42
apwbryceh, yeah if it "fixes" that sort of thing, then its even easier to justify it as effectivly a bug fix18:44
brycehexactly18:44
brycehI can definitely scare up a few such bugs.18:45
brycehI probably also have a kvm or two here that truncates edid, which this will fix.18:45
Sarvattoh man, Viewsonic VA2012w18:46
Sarvatti had that same monitor and the EDID got killed on it too18:46
apwSarvatt, as in the thing just decided to forget its own edid ?18:48
apwbryceh, is that popey on that bug?18:48
brycehapw, yup18:48
Sarvattapw: yeah, there was a problem where the edid would get corrupted when using them on nvidia gpu's with some  buggy windows drivers18:50
apwSarvatt, the mind boggles, i'd expect them to be r/o in hw18:51
Sarvattyou can rewrite those viewsonic ones from that era, i remember having to do that a bunch of times18:52
apwbryceh, RAOF, while i remember, once you have put an edid in there it is pinned, you echo an empty line into there to let it be replaced by the real edid again18:55
apwbryceh, ok i think its actually not leaking there is some background blob management19:03
apwbryceh, i think it should be adding edid/ on the firmware filename though for safety, other than that its prolly close19:03
brycehapw, ok.  got it loaded on a system.  19:05
apwbryceh, although it easy to see how one could automatically fix broken edids with this, letting udev check bad ones and replace them, its not clear how the 'all 0xff' case can be fixed19:08
brycehyeah.  probably still would require some manual user action19:10
Sarvattah hah finally found the magic that fixed my old viewsonic,  Power up the monitor connected to the VGA and DVI outs both. Once fully powered up, power the machine back down, disconnect the monitor from the power outlet for ~30 seconds, and boot up with only the DVI input connected.19:12
brycehSarvatt, I also found an edid.exe on the viewsonic site19:12
Sarvattthis was like 5 years ago so memory was fuzzy, that really reset the edid on my viewsonic19:12
apwbryceh, anyhow, having reviewed it i am happier its something we can accept, if your testing is good, i'll work on getting the prefix added for next week19:12
brycehno directions on how to use it though.19:12
brycehapw, excellent.  I'll plan on banging on it in the meantime.19:13
apwbryceh, only three cycles ... sigh19:21
apwSarvatt, that is some arcane magic indeed19:23
Sarvattapw: yeah asked him to try it, those viewsonics from around 2006 when they first started doing the 20" widescreens were so crappy19:25
Sarvattgoogle viewsonic bad edid19:25
Sarvattits full of fun19:25
apwbryceh, it'd would be good to know if get-edid can get the edid when the kernel bit bashing cannot... i guess in the short term udev could use that to fill it in :/19:26
apwbryceh, allllll assuming the edid is useful once you've 'rit it in your testing19:26
brycehright19:28
apwand did it, did it, did it?  /me needs to drink less coffee19:29
brycehyeah I've been finding get-edid isn't super reliable.  Maybe only 10-25% of the time do we get something worthwhile19:29
brycehsorry, got called away to breakfast19:29
apwheh, i am just starting on the G&Ts so i'll stop making sense shortly19:30
brycehwell deserved!19:31
* Sarvatt is jealous19:31
apwyeah its been one of those weeks, though my not wanting to work has gotten me on these 'small' tasks which got you your edid kernel ...19:32
apwand leann about 4 wi's closed ...19:32
brycehok, why am I not finding the edid file19:34
brycehok, it's there on an -ati system but not an -nvidia??19:35
brycehfind /sys/devices -name edid gives nothing there.  weird19:35
brycehmoving on... intel next19:36
apwbryceh, oh, only tested it only intel myself, but it comes from common code19:45
apwbryceh, so i would expect them all to express one19:46
brycehyeah nfi with the nvidia box.  I'll have to investigate that more19:47
apw/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/edid19:47
apwbryceh, binary drivers by accident perhaps19:47
brycehcould be19:47
brycehwell, I mean it definitely has a binary driver loaded.  could be it just doesn't provide edid.  I'll try with nouveau19:48
apwdidn't the installer get changed back in 'o' or something to install them by default19:48
apwdoesn't the nvidia binary driver supply its own way to futsz with the edid ...19:48
Sarvattyea or at least it did at one point19:52
apwbryceh, so .... the ultimate question, does it work19:52
cndRAOF, if you want a MIR for gtest without shipping the precompiled libs, then we'll have to do a FF exception to get the latest xorg-gtest in19:53
cndafter I get stuff reviewed and merged on #xorg-devel19:54
brycehapw, well...  the edid file is empty (but get-edid is able to read it)19:59
mlankhorstnoon20:06
brycehheya mlankhorst 20:06
mlankhorsthi :)20:11
brycehapw, ok so copying in edids seems to work ok, except on the nvidia system where it doesn't work even if -nvidia is uninstalled.20:22
brycehapw, and on one system I get the proper resolutions, so it hasn't broken it.  I'm not 100% certain the written edid is overwriting the old though.20:23
brycehapw, third system is unable to detect the proper resolutions across the kvm, so is a great candidate for testing the fix.  However, so far the edid doesn't appear to take effect, I just get vesa modes.20:24
brycehin all cases I'm using edid gathered from get-edid and assuming that's a valid blob20:24
apwbryceh, cirtainly when i hexedit'd the one i had, it started saying there was an edid checksum erorr20:25
brycehapw, so, I think I can give a light confirmation that it works so far.  I'll play with it more next week to get a stronger confirmation.20:25
apwbryceh, sounds good.  i am done now for the week anyhow, lets catch up monday20:26
brycehsounds good20:27
cndbryceh, whot has picked up the clickpad patches and has an attempt at fixing the clickaction vs clickpad issue21:15
cndhe wants to merge it all for this release of synaptics21:16
brycehok21:16
cndif that happens, we will probably want to go with upstream21:16
cndbut that means re-enabling the clickpad stuff, but hopefully in a better working form21:16
cndshould I propose an FFe for it?21:16
cndor reopen the first FFe?21:17
cndor?21:17
bryceheither way, reopen the first one if that'd save you some time21:17
cndok21:18
Sarvattthe first FFe got approved, maybe thats good enough? :P21:21
cndyeah, I was wondering the same, but one factor in an FFe approval is timin21:23
cndtiming*21:23
cndso I think we can't rely on the earlier approval21:23
eruditehermitsforshee, hey22:14
sforsheeeruditehermit, hi22:14
eruditehermitsforshee, so my kernel driver is working but my mouse isn't moving?22:15
sforsheeeruditehermit, that's how it looks to me. In fact, I played back your capture and watched my pointer move :)22:15
eruditehermitlol22:15
eruditehermitsforshee, any ideas why?22:16
sforsheeeruditehermit, not yet. X seems to see your touchpad, so I don't know what's happening.22:17
sforsheeapport-collect didn't attach the xorg log though22:17
sforsheecan you attach /var/log/Xorg.0.log from a session when the mouse doesn't work?22:18
eruditehermithttp://paste.ubuntu.com/22:18
sforsheeand if cnd has any ideas of what to look at, I'm all ears22:18
eruditehermiterr22:18
eruditehermithttp://paste.ubuntu.com/876687/22:19
eruditehermitso I have sections where my mouse was proto=any22:19
eruditehermitand sections where it was proto=exps22:19
eruditehermitits really hard to give you a completley clean log22:19
eruditehermitsince I need my mouse!22:19
eruditehermitlol22:19
eruditehermitcan't pastebin stuff without it22:20
eruditehermitlol22:20
cndsforshee, are any evdev device properties set for alps trackpads?22:20
sforsheeUsing input driver 'evdev' for 'ImPS/2 Generic Wheel Mouse'22:20
cndevdev properties aren't captured by evemu yet22:20
sforsheethis is when the mouse isn't working?22:20
sforsheeeruditehermit, ^22:21
cndsforshee, I bet that's when it is working22:21
sforsheethat's what I think22:21
eruditehermitthat is when it is working22:21
eruditehermitok22:21
eruditehermittell you what22:21
eruditehermitI'll reboot22:21
eruditehermitwith the mouse not working22:21
eruditehermitVT switch22:22
eruditehermitcp log22:22
eruditehermitthen reboot again22:22
eruditehermitbrb22:22
=== yofel_ is now known as yofel
eruditehermitsforshee, cnd: http://paste.ubuntu.com/876712/22:36
sforsheecnd, why would X not be using the synaptics driver?22:37
Sarvatteruditehermit: umm, xorg-edgers, might be broken22:40
Sarvattis xserver-xorg-input-synaptics installed?22:40
cnderuditehermit, you're using xorg-edgers?22:40
Sarvatti've been too focused on precise to keep up with edgers lately22:40
Sarvatthmm xserver-xorg-input-evdev in edgers doesn't work right now too from the looks of it22:41
Sarvattsince it thinks the input abis are the same22:41
eruditehermitah22:42
eruditehermitI forgot about edgers22:42
eruditehermitlet  me ppa-purge22:42
Sarvattppa-purge wont work because you're on x86_64, will take a lot of manual downgrades :(22:43
eruditehermitwait what?22:43
eruditehermit:(22:44
eruditehermitbrb22:44
Sarvatti'm just gonna upload upstream evdev and synaptics driver updates, too many friggin patches to fix and check for this late on friday night :)22:46
Sarvatt(to use ubuntu branches)22:46
eruditehermitdisregard bug22:49
eruditehermitI'm stupid22:49
eruditehermit=p22:49
eruditehermitxorg-edgers22:49
cnderuditehermit, I'm glad we figured it out :)22:50
cndthanks!22:50
cndbe sure to move the bug to invalid if you haven't already22:50
eruditehermitI will22:50
eruditehermitalso22:50
eruditehermitit seems the pointer acceleration and sensitivity can't be set via gnome22:51
eruditehermitis that known?22:51
Sarvatteruditehermit: really sorry about that, didn't realize edgers was broken because i stopped using it for the past few weeks to test precise stuff, uploaded new checkouts now though22:53
Sarvatti'm waiting for mesa to settle the heck down wrt the autoconf changes on master before going back to it, redoing the packaging every other day gets old when there isnt enough time in a day as it is :)22:55
sforsheecnd, what do the the acceleration and sensitivity sliders actually change? Is it something that trickles down to the kernel driver?22:56
Sarvatteruditehermit: which ones, the ones in the mouse or the touchpad tab?22:56
cndsforshee, I think gnome is broken22:56
cndit doesn't do anything for me either22:57
cndbut I've never taken the time to look into it22:57
sforsheecnd, the acceleration one seems to make a difference on the macbook air at least22:57
cndit doesn't work for my magic mouse22:57
cndit may work for synaptics but not evdev?22:57
sforsheewhen alps is working correctly it's using synaptics22:58
cndyeah22:59
cndmaybe eruditehermit was seeing the issue while he was using evdev?22:59
* sforshee boots up his crappy old dell to see what happens22:59
eruditehermitSarvatt, the ones in mouse23:03
cndthose would be the ones for evdev then23:04
cnderuditehermit, please file a bug for that and paste it here23:05
cndI can mark it as a bug that needs to be looked at by beta 223:05
eruditehermitcnd, err I've got to run now23:06
eruditehermitcnd, will be back later23:06
cndok23:07
eruditehermitI need to understand what to file so I will ask questions23:07
cndsure23:07
eruditehermitbbl23:07
eruditehermitthanks for all the help!23:07
sforsheeeruditehermit, the acceleration slider seems to have an effect on this dell with an alps touchpad23:07
sforsheei still have no idea what the sensitivity slider is supposed to be changing23:08
Sarvatteruditehermit: really though, is xserver-xorg-input-synaptics installed? it doesn't look like it is from your log23:10
SarvattAlpsPS/2 means its in synaptics mode and should be using -synaptics23:10
Sarvattits ImPS/2 when its in the old mode that needs evdev23:10
cndsforshee, eruditehermit was referring to the slider in the mouse tab23:11
cndI think :)23:11
sforsheecnd, that would explain it :)23:12
Sarvattalso acpi_osi=Linuxi is a typo23:12
* sforshee -> EOW, have a good weekend everyone23:13
mlankhorstSarvatt: generally just want to mimmick windows..23:19
Sarvattsforshee: dont suppose you know any magic to fix DFS on wl? :P brcmsmac is so horrible23:52

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