/srv/irclogs.ubuntu.com/2010/10/01/#ubuntu-x.txt

achiangis there something else i need to do while testing X clients inside a chroot? i've exported my DISPLAY=localhost:0.0, and issued an xhost + in the host as well02:29
achiangah, my X server is launched with -nolisten tcp02:30
RAOFRight.02:31
RAOFBecause it is, by and large, a bad idea.02:31
achiangRAOF: agreed but... i'm a developer? :)02:31
RAOFYou could bind-mount /tmp into your chroot (or just /tmp/.X0.whatever)02:31
achiangRAOF: hm, and that means i don't have to restart my X server?02:33
RAOFIndeed.02:33
achiangthanks02:33
RAOFThat should allow apps in the chroot to access the local transport.02:33
achiangok, i'll try that02:34
achiangRAOF: hm, i don't think that actually worked for me02:40
RAOFAh.  Sorry, it's been a while since I actually tried to run an X client in a chroot.02:40
achianghttp://pastebin.ubuntu.com/503617/02:42
RAOFHow about just DISPLAY=:0?02:43
achiangah ha!02:44
achiangthank you02:44
RAOFlocalhost:0.0 says ‘let's go over TCP’ :)02:44
achiangindeed, you're right.02:45
achiangdinnertime02:47
jcristauRAOF: bind-mounting /tmp shouldn't even be needed these days, since Xlib (well, libxcb) will try the abstract domain socket first08:55
RAOFOh, funkyi.08:56
RAOFAnd now I know :)08:57
=== thade_w is now known as Alexia_Death_
vishSarvatt: nope,  2.6.35-23-generic #34~pre201009220900-Ubuntu  , doesnt solve it either.. :(12:06
* vish tries with matching mainline..12:06
kamstrupis there any way I can get the i945 driver to output some debugging info somewhere?13:40
kamstrupi am debugging what seems to be a leak in Unity which may or may not be driver related13:41
tseliotkamstrup: "echo 4 | sudo tee /sys/module/drm/parameters/debug" or, if you want an extremely verbose output in dmesg use "1"13:49
kamstruptseliot: awesome, thanks!13:49
Sarvatttseliot: http://www.nvnews.net/vbulletin/showthread.php?p=2326225 \o/15:57
Sarvatt"@luk1don: I haven't forgotten about 96.43.*, I just haven't had much time to work on it lately. I'm hoping to get started on xserver 1.8 support soon, and xserver 1.9 support shortly thereafter."16:01
tseliotSarvatt: yes, we're discussing that over the phone16:14
=== You're now known as ubuntulog
seb128tormod, federico1: hey20:28
tormodseb128, hi20:29
seb128federico1, http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=67958ef6faab5797d5c5ad939db36f393706984a20:29
seb128tormod wonders why that was required rather than letting xorg handle screen configs20:29
seb128it seems some drivers are buggy and don't like xrandr calls20:30
tormodthat is not the problem I think20:30
seb128why do you think it's not the problem?20:30
tormodrather that g-s-d picks modes poorly20:30
seb128hum, at least one of the bugs you replied to had correct modes20:31
seb128but the radeon drivers just seems buggy20:31
seb128tormod, well you are not coherent20:31
tormodin bug 643118 xorg chooses the "preferred" mode but xrandr picks another one20:32
seb128in your email you wrote 20:32
ubot4Launchpad bug 643118 in gnome-settings-daemon (Ubuntu) "[RV350] Desktop corruption – Screen only shows vertical bands (dup-of: 640807)" [Undecided,Confirmed] https://launchpad.net/bugs/64311820:32
ubot4Launchpad bug 640807 in gnome-settings-daemon (Ubuntu) "Forces low refresh rate on CRT monitor (affects: 6) (dups: 2) (heat: 38)" [Undecided,Confirmed] https://launchpad.net/bugs/64080720:32
seb128"So IMO g-s-d should just leave it as20:32
seb128it is or read out correctly what xorg has set up."20:32
tormodthat's not coherent?20:32
federico1tormod: hey20:32
tormodhi federico120:32
federico1tormod: I put in that patch to let OEMs tweak the RANDR configuration when the user first logs in20:33
federico1so that they don't have to mess with xorg.conf, or patch g-s-d in strange ways20:33
tormodfederico1, but there should be a don't-touch option :)20:33
federico1tormod: what do you mean?20:33
federico1ah20:33
federico1like20:33
seb128federico1, they argue that the default should be "let xorg be smart"20:33
tormodor alternatively, that patch is fine, but something else must be fixed20:34
seb128because g-s-d is often buggy20:34
federico1what is the exact problem?20:34
seb128g-s-d seems to not know about xrandr preferred mode20:34
federico1yes, it doesn't use that anymore20:35
seb128federico1, well basically https://bugs.edge.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/64080720:35
ubot4Launchpad bug 640807 in gnome-settings-daemon (Ubuntu) "Forces low refresh rate on CRT monitor (affects: 6) (dups: 2) (heat: 38)" [Undecided,Confirmed]20:35
seb128https://bugzilla.gnome.org/show_bug.cgi?id=57250220:35
* federico1 reads20:35
ubot4Gnome bug 572502 in libgnome-desktop "gnome-display-properties should pick the preferred xrandr mode" [Normal,Unconfirmed]20:35
seb128I think is the same issue20:35
tormodso there are two independent logics and sometimes xorg's work better than g-s-d's, right?20:37
seb128well I'm not sure to understand why g-s-d picks the wrong one20:38
seb128but I would be of the advice to let xorg alone by default20:38
seb128ie not do any change from g-s-d if there is no config on disk20:39
seb128or we could try to fix g-s-d20:39
federico1ugggh, too many variables20:39
federico1they are using nvidia's drivers20:39
tormodthere are also a lot to be fixed in xorg and drm :)20:39
federico1and they are using a monitor with bogus EDID values20:39
seb128federico1, I guess the first question is "why g-s-d needs to touch the video config after xorg by default"20:40
seb128I understand that we want the option to apply a config20:40
seb128or to force a mode with gconf keys20:40
seb128but if we are not in those case it seems safer to just let xorg pick the config20:40
tormodsounds sane20:41
federico1seb128: because we don't know what xorg will give us, so we'd rather go to a known-good mode20:41
federico1hmmmmm20:41
federico1seb128: maybe you'd like a boolean use_boot_time_configuration meta-key20:41
federico1or something20:41
tormoddoesn't xrandr tell you what xorg has set up?20:41
seb128well why would you know better than xorg if there is no config on disk?20:41
seb128you being g-s-d20:41
tormodlet's have a role play here :)20:42
federico1because I don't trust xorg's startup values20:42
seb128if those are wrong shouldn't we fix xorg?20:42
federico1fixing xorg takes too long ;)20:42
federico1so20:42
federico1I'll happily include a patch that makes the boot-time configuration conditional20:42
federico1with some use_boot_time_configuration key or something reasonably-named20:43
seb128ok20:43
seb128I was not sure if we should add a key or change the current one to be an int20:43
seb128like 0 = let xorg alone20:43
seb1281 = force external monitor on20:43
seb1282 = force those off20:43
federico1well, we have two keys right now; it gets a bit hairy to think what would happen with the 3x3 combinations20:44
tormodare "we" upstream or ubuntu-specific?20:44
seb128upstream20:44
federico1upstream20:44
seb128federico1, ok thanks, seems reasonable to me20:45
seb128so add a key use_boot_time_configuration20:45
federico1(it's not hard to think what *should* happen with the 9 combinations, but I'd rather spare the admin from having to think about that)20:45
federico1seb128: yeah, that would be best, I think20:45
seb128and then we can fix the g-s-d bugs which lead to pick wrong mode as well20:45
federico1hmmm20:45
federico1use_boot_time_configuration or use_xorg_configuration (the reverse)?20:45
federico1I'd like it to be obvious from the key name that it's an either/or thing20:46
seb128I'm not sure right now what you call boot time20:47
seb128I think use_xorg_configuration is easier to understand20:47
tormodbut does it "use" any xorg conf, or just refrains from reconfiguring?20:48
seb128it's not meant to be xorg.conf20:48
seb128but as I understand it if the key was set it would do what g-s-d was doing before20:49
tormodI did not mean "xorg.conf"20:49
seb128ie letting the display config as xorg set it20:49
seb128federico1, ^ right?20:49
federico1yeah, correct20:51
federico1i.e. by not touching the randr setup at all20:51
tormodso is it a question of  "do-not-touch" or "do-initial-configuration" ?20:51
federico1tormod: I'm leaning toward a do-not-touch kind of name now, with False by default - if you need to make it True, it means that you have a special case due to your X setup anyway20:52
tormodI think use_xorg_configuration implies that g-s-d configures stuff actively20:52
jcristaueww.20:53
seb128let_xorg_configuration? ;-)20:53
tormodbut how do we solve these cases when this new default False makes it impossible for people to boot the Desktop CD?20:53
seb128by debugging why g-s-d apply a wrong config20:54
tormodis there any case where xorg is wrong and g-s-d is right?20:54
tormodI would have left do-not-touch default to True, and switch it if the user reconfigures his settings20:55
jcristautormod++20:55
tormodI think "special cases" is more widespread than you might think, ask any xorg developer20:56
tormodwell, we'll see now that the RC is out :)20:57
seb128seems fine to let xorg alone by default 20:58
seb128that's what I suggested in my email20:58
seb128let xorg alone if no config is on disk or key set20:58
brycehseb128, agreed20:58
seb128tormod, I will let you reply to the bug or email20:59
seb128I think that's a plan of action20:59
seb128doing a patch to add this "let_xorg_config"20:59
seb128which we can set to true by default20:59
seb128upstream can decide to set to false if federico1 disagrees20:59
seb128I need to run, I'm already late20:59
brycehheya federico120:59
seb128see you later20:59
tormodthanks seb12820:59
jcristausadly monitor resolution is not the only place gnome does that. :(21:00
tormodI am sure we can make federico1 agree :)21:00
federico1hey mister bryceh21:01
federico1tormod: well, xorg has fed us such shitty defaults in the past that I don't want to lose the client-side workarounds21:02
federico1not that *anything* is well-documented, though...21:02
jcristauyou don't know whether something is the default or what the user explicitly set up in xorg.conf21:03
tormodfederico1, optional workarounds are fine, but trashing all the work that went into xorg logic would be stupid21:03
jcristauso if you don't have an explicit config imo you should leave things alone21:03
brycehfederico1, I've been thinking what we need is a big huge truth table of expected behaviors for different situations21:03
jcristauand it's not like fixing things up in the right place is hard21:04
jcristauxorg takes patches..21:04
brycehfederico1, so for instance, if a user boots an unconfigured system with two identical external monitors, it should do dual head.  but a lvds + projector would behave differently21:04
federico1jcristau: I'm sure they do; the problem is getting the patches written :)21:04
federico1like21:04
jcristaufederico1: if you can write them for g-s-d you can put the same logic in X..21:05
federico1in RANDR 1.3 the spec was updated to say that all drivers should export a ConnectorType property21:05
federico1but as of today, only radeonhd actually exposes that property21:05
federico1I filed bugs for each driver independently - none are fixed yet21:05
federico1bryceh: sounds interesting!21:06
brycehfederico1, I mean, regardless of where its implemented, the expectations are going to be consistent21:06
federico1bryceh: hmm, do we have a way to actually detect projectors vs. monitors?21:06
federico1maybe "if $output can only do 1024x768, it's probably a projector"?21:06
brycehfederico1, physical dimensions = 0mm x 0mm?  ;-)21:07
federico1could be21:07
federico1bryceh: if you play with it, I'd be very happy to see that21:07
federico1I wonder what projectors say for the vendor in EDID21:07
brycehanyway, several times now I've seen where there has been an undocumented assumption about how two monitors should be automatically laid out, and it doesn't account for some corner case21:08
brycehbut having both xorg and gsd trying to be smart seems to result in weird results, maybe some toe stepping such as in this case, etc.21:08
brycehfederico1, another perhaps better example is whether LVDS should be blanked if there is an external monitor21:09
brycehi.e., is that what we expect to happen when we connect an external monitor, or a bug?21:10
federico1bryceh: yeah, that needs some connection with external policies... if you close your lid while an external monitor is connected, does that mean "I only want to use the external one" or "suspend the laptop and let me turn off the monitor by hand"?21:11
federico1(plus, docking stations are a bucket of fail)21:11
federico1someone needs to sit down and write down all the cases21:11
brycehfederico1, exactly... so many questions for all these different configs, and I don't know if it's documented anywhere what the *expected* behavior is for those. 21:11
federico1there *is* missing infrastructure for lids and docking stations; I was talking to mjg59 the other day about this21:11
brycehregardless of where the configuration is actually done, having that written down would do a lot to help to ensure it gets implemented right, and would enable testers to be more effective at reporting discrepancies21:12
federico1yeah21:12
tormodshould I mark the bug in progress and/or assign it to someone?21:16
federico1tormod: no idea; is seb128 writing the patch or something?21:17
federico1bryceh: if you blog about this, I'll link it from my blog - it's important stuff and we need testers21:18
federico1(or people with funky setups)21:18
tormodfederico1, it sounded like he would do it, no?21:18
federico1yeah, that's what I thought21:18
tormodI'll assign him so he does not forget ;)21:18
tormodd*mn I can't, where did my lp superpowers go :)21:19
brycehoh yeah, assigning to others was disabled in launchpad.21:20
brycehwas too much abused21:20
brycehtormod, but I should be able to do it, what was the bug #?21:20
tormod64080721:21
brycehdone21:21
brycehI think you have to be a member of the team that is driver for the package or something21:22
vishSarvatt: hi, that patch seems not need for the guest session flickering bug..21:24
vishBug 65293421:24
ubot4Launchpad bug 652934 in xserver-xorg-video-ati (Ubuntu) "[RV515] Guest session causes screen to flicker violently and session is unusable (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/65293421:24
vishSarvatt: i'm using the older mainline kernel »  2.6.35-02063504-generic #201008271919  and it seems to not give the issue21:25
vishwill test for longer … :)21:25
vishneeded*21:26
=== albert231 is now known as albert23
=== yofel_ is now known as yofel
Sarvattsheesh, the kubuntu plymouth splash blows the ubuntu one out of the water :)23:33
Sarvattvish: ugh, so its broken on the ubuntu kernel but working on the mainline one?23:33
vishSarvatt: yup23:35
Sarvattand that was the case even back in .33? so it's something we've carried over breaking it..23:35
vishyea, even with .33 mainline i never had problems23:36
vishSarvatt: kubuntu plymouth is better??23:37
Sarvattno comparison, it looks so much better23:37
* vish oh googles for videos!23:37
Sarvattbackground behind the logo is a nice gradient23:37
vishoh! no videos up yet ;p23:40
Sarvattkay, trying to view it in a VT isn't a good idea :)23:49

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