/srv/irclogs.ubuntu.com/2009/05/05/#ubuntu-x.txt

brycemnemo: I sketched out https://wiki.ubuntu.com/X/KernelModeSetting - please flesh it out further based on your testing00:08
wgrantbryce: For me, UXA with KMS is completely stable, unlike without KMS.00:09
mnemowgrant: i have the opposite experience on G4500:10
wgrantmnemo: I'm an old i915.00:11
wgrantThe cursor flickers a lot more, but otherwise it's good.00:11
brycewgrant, mnemo: thanks; I've added a section for reporting results to  https://wiki.ubuntu.com/X/KernelModeSetting - mind adding your info?00:13
mnemoone cool thing i915 is that windows vista never shipped WDDM 1.1 drivers for it so it cannot run Aero afaik... which means that with UXA ubuntu is basically delivering a better and more capable driver than windows.. that rocks... see for example: http://www.tinyscreenfuls.com/2007/04/video-why-intel-915-graphics-dont-have-a-wddm-driver-for-vista/00:13
mnemobryce: its ok you can add it00:13
mnemobryce: exact card is:00:14
mnemo00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e22] (rev 03)00:14
brycemnemo: can you add to it please?00:14
mnemobryce: i've only tried KMS on jaunty with a kind of messy config actually00:14
mnemomaybe I should upgrade my intel box to karmic as well00:14
mnemobryce: are you sure you can load the i915 module through /etc/modules like that? i mean doesnt modesetting have to load like really early for it to be useful? I thought thats why the debian kms wiki page said it needs to go into initramfs etc?00:17
wgrantbryce: What do you want for 'version'? Driver version?00:18
Sarvattyeah the way he posted works fine for me but on 2.6.30-200:18
mnemommkay00:18
brycewgrant: yep00:19
Sarvatti think you have to manually load some stuff prior to i915 if you dont enable KMS by default in the kernel like in 2.6.30-1 like the debian wiki says00:19
brycemnemo: no I'm not sure, so please correct it to what you find in practice.  i'm just copying what others have told me00:19
Sarvattbut all you need is the modprobe option on 2.6.30-200:20
bryce(maybe I should have just left the page blank)00:20
mnemomaybe we can ask some intel guy to do some vetting on that page later on00:21
bryceanyway, don't take anything written there as gospel; rewrite the whole thing if it makes more sense00:22
wgrantI just pass the option on the kernel line in GRUB.00:22
Sarvattonly reason you need the modprobe.d option is because of this http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-karmic.git;a=commit;h=24ea0d5ee9c0bac3b9aab43e2761394dd3dcf41300:22
bryceeventually I plan to work on kms stuff myself, but I need to focus on getting more UXA bugs upstreamed first00:22
persiaHi.  I'm trying to track down how wacom's don't report some information to Xinput.06:08
pwnguinheh06:08
persiaI'm wondering if part of the issue is using xf86Xinput.h rather than Xinput.h06:08
persiaAm I looking down the wrong path?  The documentation on xinput seems light, but I(m confused about the relationship between libxi and xserver-xorg-input-foo.  Is libxi the client library only, receiving events from the server?06:12
persiaAt least I found out why there were four devices: pad, touch, tool nib, tool eraser.06:22
persiaHrm.  Seems it's running in some sort of compatibility mode, and was never ported to XInput.  I'm still not sure I understand the architecure properly, but the complete lack of any XIfoo calls seems suspicious.06:34
* persia defers to someone who actually has hardware, as at this level of surgery, random hacking has a low probability of success06:35
jcristaupersia: yes, libXi is the client side stuff. the driver shouldn't touch that.10:51
jcristaupersia: the driver calls server functions, which are declared in /usr/include/xorg/*.h10:52
persiajcristau, OK, and things that manipulate properties should be including inputstr.h ?12:46
jcristaupersia: what "things"?12:48
persiaWell, I'm trying to reinstate the propagation of tool and pad serial numbers to X in the wacom driver (or at least interested in documenting what needs done, as I don't have a wacom to test).12:49
persiaThe sane way to do it seems to be to set properties inside DeviceIntRec, from my limited understanding of how things work.12:50
persiaI'm suspecting these will be represented to clients and can be collected with XGetDeviceProperty() in a client.12:51
persiaBut I'm not sufficiently confident of my understand of how things work to know if this is correct.12:53
persias/understand/understanding/12:53
jcristauright the driver keeps some stuff in its private data, and tells the server about it with XIChangeDeviceProperty13:02
persiaAh, from /usr/include/xorg/exevents.h.  I've been mistakenly looking in /usr/include/X11.  Thanks!13:07
jcristauand then clients use XListDeviceProperties/XGetDeviceProperty from libXi13:08
alex_mayorgaany tips to get usable video on VGA compatible controller: Intel Corporation 82830 CGC [Chipset Graphics Controller] (rev 03)16:36
alex_mayorgacharacters get blurrier as time goes on16:37
alex_mayorgahttps://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/21317116:37
ubottuUbuntu bug 213171 in xorg "[i830] Unable to install with GUI on Fujitsu Lifebook C7651" [Unknown,In progress]16:37
alex_mayorgabryce: you there?18:47
bryceyes18:48
alex_mayorgaany help on all the characters on my screen turning in ugly blurred blocks over time18:49
alex_mayorgasay in 3-5 minutes after login18:49
alex_mayorga00:02.0 0300: 8086:3577 (rev 03)18:49
alex_mayorgaI can't even really see what I'm typing, really nasty stuff18:50
brycealex_mayorga: sorry no idea, sounds weird18:51
alex_mayorgayeap, really weird, never seen this before18:52
alex_mayorgaactually I had to paste your reply on a terminal to see what it said18:53
alex_mayorgaoddly the characters on the terminal look fine18:53
alex_mayorgawhat might it be?18:53
alex_mayorgais there a way to query my LCD for its native resolution?18:55
mnemoxrandr18:56
JanCalex_mayorga: install orca (screenreader)  :-P18:57
alex_mayorgaJanC: definitely an option hehe18:58
mnemoxrandr marks the current res with * and the preferred one with +18:58
alex_mayorgaso 1400x1050      60.0*+ it is then18:59
mnemoalex_mayorga: yup18:59
mnemoalex_mayorga: which driver version do you have?18:59
alex_mayorgamnemo I had to resort to 2.4 I believe https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/21317118:59
ubottuUbuntu bug 213171 in xorg "[i830] Unable to install with GUI on Fujitsu Lifebook C7651" [Unknown,In progress]18:59
alex_mayorgathat bug has my details19:00
alex_mayorgawell the comments with my name on it that's it19:00
alex_mayorgamnemo: anything I can do to get this one resolved I will19:00
mnemoalex_mayorga: step up as the maintainer for those older chipsets :)19:01
alex_mayorgaIf I use 2.7 is like the four quarters of the screen were overlaid in the top left quarter19:01
mnemoalex_mayorga: but no corruption with 2.7 ?19:01
alex_mayorgamnemo: that's the plan, but I'm pretty much a n00b here19:01
alex_mayorgamnemo: yes it's way more unusable19:02
alex_mayorgabryce mentioned something on the modaliases19:02
mnemoalex_mayorga: how old is this machine btw?19:03
alex_mayorgamnemo: you don't want to know :)19:04
alex_mayorgabut is all that I've got, probably 7-919:04
alex_mayorga:(19:04
alex_mayorgablockiness is coming back :(19:10
alex_mayorgaseems like I can get back to usable if I change the resolution19:12
alex_mayorgabut from there it starts to degrade to blocky stuff19:18
alex_mayorgaI guess downgrading to 8.10 is my only way to ubuntu on this machine19:19
alex_mayorgamnemo: any other leads?19:19
alex_mayorgawhat's in theory the best driver for i830M cards?19:27
=== virtuald_ is now known as virtuald
alex_mayorgabryce: do you know what was the last driver to support i830M?19:40
brycealex_mayorga: dunno, maybe i81019:41
jbarnescurrent code supports i83019:42
jbarnesthought not all configurations19:42
jbarnessome dvo chips aren't handled19:42
alex_mayorgamight this be it? https://bugs.freedesktop.org/show_bug.cgi?id=1692819:46
ubottuFreedesktop bug 16928 in Driver/intel "[830M] Garbage and incorrect redraws" [Normal,New]19:46
alex_mayorga"disappears with "Option" "AccelMethod" "XAA"." where do I put this?19:49
alex_mayorgashould I give up and just start saving for a new laptop :(19:52
jbarnesalex_mayorga: well you could jump onto that bug and say you're willing to test fixes19:54
jbarnesyou could also try disabling render accel19:54
alex_mayorgajbarnes, the freedesktop one?19:55
jbarnesyes19:55
jcristauif a bug's not filed at fd.o it doesn't exist ;)19:55
alex_mayorgayeah, that's my saying, bug or it didn't happen19:55
alex_mayorgahow do I go about "disabling render accel"?19:56
jcristauwith exa it's Option "exanocomposite"19:56
mnemoyou can also completely disable acceleration with:19:57
mnemoOption "NoAccel" "true"19:57
alex_mayorgabear with me here, I guess all that you mention goes under xorg.conf somewhere right?19:58
jcristauyeah19:58
mnemoyes, inside the "Device" section19:58
alex_mayorgaOK, now that's a start :)19:58
alex_mayorgaplease forgive me, this are my first dabblings at xorg bugs19:59
alex_mayorgawhat should I try first?19:59
mnemopick one20:00
mnemoexnocomposite is probably a bit faster I think20:00
alex_mayorgashould I first go to 2.7 driver20:00
alex_mayorgaI'm on 2.4 and it kind of works, except for the blocky/blurry characters over time20:01
alex_mayorgajbarnes: are you on #intel-gfx as well?20:02
jbarnesalex_mayorga: yes20:03
alex_mayorgamnemo is exanocomposite or exnocomposite20:05
mnemoexa20:05
alex_mayorgaOK, I'll try these 3 options20:06
alex_mayorgathere's no X restart in jaunty anymore, right20:06
jcristau'sudo killall X'20:06
alex_mayorgais there a way other than reboot?20:06
tjaaltonlogout should do20:06
alex_mayorgaOK, let see how it goes20:07
jcristauor maybe it's 'sudo killall Xorg' instead20:07
tjaaltonsince it restarts the server20:07
alex_mayorgakilling xorg shouldn't kill my pidgin and such, right?20:08
tjaaltonumm yes it does20:09
tjaaltonkills your session...20:09
alex_mayorgaI'll wait a bit then, rather not close my VPN at this time20:09
alex_mayorgaone question remains, should I stay on 2.4 or try the options suggested on 2.7?20:19
mnemotry both20:20
mnemoyou need to systematically document your issue to zero in on the bug20:20
alex_mayorgamnemo20:24
alex_mayorgathanks I'll try that out20:24
brycehttp://people.ubuntu.com/~bryce/totals.svg22:42
seb128bryce: would it be easy to do other similar graphs for other set of components?22:47
brycepossible, but not easy; I have a lot of hacks that are kind of xorg package specific there22:48
bryceseb128: as a starting point, I use packages xorg-swat is subbed to - https://bugs.edge.launchpad.net/~ubuntu-x-swat/+packagebugs22:50
seb128we have a similar list of desktop-bugs22:50
seb128if the code you use for the graphs somewhere online?22:50
bryceyes it is in my arsenal tree22:50
bryceseb128: I'll put on my todo list to clean it up and post it for you when I get some time22:52
seb128thanks22:52
seb128no hurry, I was rather curious about it but we don't have a real need for stats22:52
bryceoh ok22:52
seb128if that was just a "it works for any team just change the url or packages list" I would have given it a try22:53
seb128but it seems that's not the case which is ok too22:54
bryceyeah I know not everyone is as obsessed with stats as me, so haven't really bothered to generalize the tools that much ;-)22:55
brycebut maybe someday22:55
jbarnesbryce: more evidence of vbetool fail23:33
jbarnesbryce: running it will cause interrupts to break on some machines, leading to rendering hangs23:33
brycejbarnes: ok23:33
brycejbarnes: details?23:34
jbarnesso on intel it should never be run... sounds like some of the thinkpad tools do it in X startup scripts23:34
jbarnesbryce: fdo bug 2089623:34
ubottuLaunchpad bug 20896 in firefox "Launching Firefox twice produces Choose Profile dialog" [Low,Fix released] https://launchpad.net/bugs/2089623:34
bryceI think we've mostly excised use of it in ubuntu setup scripts23:34
jbarnesubottu: freedesktop bug 2089623:34
ubottuFreedesktop bug 20896 in DRM/Intel "[GM965 KMS] X does not draw untill mouse is moved. Probably IRQ problems" [Major,New] http://bugzilla.freedesktop.org/show_bug.cgi?id=2089623:34
ubottuError: I am only a bot, please don't think I'm intelligent :)23:34
jbarnesbryce: great23:35
jbarnesbryce: just a heads up23:35
brycecool, thanks I'll keep an eye out23:35
brycedo you know of any plans to modify vbetool to not trigger the error?23:35
jbarnesI don't think vbetool is the problem per-se23:36
jbarnesall it does is call into the VBIOS afaik23:37
jbarnesand on some machines apparently the VBIOS goes off and clears regs it shouldn't23:37
jbarnesbryce: apparently it's the acpi-support package from debian that caused this particular problem (or maybe vbetool itself)23:37
jbarnesnot sure which X session scripts either of those patch at install time23:37
bryceoh interesting, ok I'll check that out23:38
brycewe used to have a package xresprobe which wrappered vbetool23:38
brycebut we knew about the problems it could cause on -intel, I recall gutting the tool to prevent it calling it23:38
brycefor some reason I recall it affecting laptops more than desktops, but I could be misremembering23:39
bryceanyway, we've moved away from using xresprobe for anything now23:39
jbarnescool23:39
bryceah yes, acpi-support calls vbetool23:40
bryce./resume.d/55-screen.sh:  vbetool dpms on23:40
bryce./resume.d/15-video-post.sh:  vbetool post23:40
bryce./suspend.d/90-framebuffer-stop.sh:  vbetool dpms off23:40
Sarvatttheres no /etc/init.d/vbesave in ubuntu's acpi-support like that guy in #intel-gfx has on debian though23:42
brycehttps://bugs.edge.launchpad.net/ubuntu/+source/acpi-support/+bug/3142523:42
ubottuUbuntu bug 31425 in acpi-support "garbled or no video output after resume from suspend (Inspiron 4150)" [Medium,Confirmed]23:42
brycejbarnes: ^that sound like a match?23:43
jbarnesyeah could be23:43
brycehmm, I would expect to see a larger number of bug reports23:44
jbarnesI don't think all vbioses do it23:48
jbarnesalso it mainly affects kms apparently23:48
jbarnesdue to the ordering of irq enable23:48
brycealso from the fdo bug report the symptoms are kind of generic so could be matches without any indication vbetool was involved23:49
brycejbarnes: do you know which specific symptoms were the result of the vbetool call?  Or are all the symptoms caused by it?23:50
jbarnessymptoms would have been "all rendering stops"23:50
jbarnesmouse movement or some other interrupt source may have allowed it to continue23:50
jbarnesbut that's config dependent I think23:50
bryceok, it doesn't sound super familiar but I'll troll through our bugs and see23:51
bryceactually23:51
bryceI just finished going through ALL of the UXA bugs and didn't see that issue23:51
jbarnesok so far I've only seen it with KMS23:51
jbarnesso maybe you don't have a report23:51
bryceif it mainly affects just kms... yeah23:51
bryceoh btw23:52
brycehttps://wiki.ubuntu.com/X/KernelModeSetting23:52
brycejbarnes: that's a start of a howto page for KMS, with a place for gathering test results23:52
=== maco_ is now known as maco
brycewe've not started pimping it yet since there's still some infrastructural bits to square away but I'm planning on promoting that for more extensive KMS testing23:53
jbarnesbryce: cool23:53
brycehopefully we can get enough of the UXA bugs resolved to switch over to UXA/DRI2/KMS by default23:53
bryceI just forwarded you a list of upstreamed uxa bugs I sent to yingying btw23:54
jbarnesok23:54
brycebtw, are you guys no longer accepting EXA-specific bugs in the bug tracker now?23:55
jbarnesbryce: if they're high prio and affect 2.7 we could look at them23:57
jbarnessince we're doing 2.7.x releases23:58
jbarnesI hope yingying's team could help with those too23:58

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