/srv/irclogs.ubuntu.com/2016/03/11/#ubuntu-x.txt

furkantjaalton: i just tested out the 20160310 live image, and the bug is reproducible01:09
furkanlooking at the diff between the manifests, i don't see any possible culprit other than xorg?01:11
furkantjaalton: looks like this is probably the issue, and there is a fix released in xserver git https://bugs.freedesktop.org/show_bug.cgi?id=9424601:39
ubottuFreedesktop bug 94246 in Driver/glamor "Text shadow is rendered incorrectly on Radeon R7 260X" [Normal,Resolved: fixed]01:39
furkanglamor bug01:39
furkanif this is it, that should really be backported into a point release01:41
furkanthese are the 2 patches:01:48
furkanhttps://cgit.freedesktop.org/xorg/xserver/commit/?id=b05ae79ee3bebef9790c97eedc033d1ffb3ec39a01:48
furkanhttps://cgit.freedesktop.org/xorg/xserver/commit/?id=a3e681eafa5355b8bb3b099d47983f14f0d5e19701:48
furkani'll test them01:48
furkanactually it looks like it might depend on some previous patches as well01:50
tjaaltonfurkan: oh right, forgot glamor..05:15
tjaaltonfurkan: mind filing a bug?05:16
furkantjaalton: sure, will do05:17
furkanbut i haven't tested the patch05:17
furkandid an apt-get source and was manually merging those two patches but noticed some other discrepancies in the code05:18
furkanwasn't really in the mood of breaking anything tonight05:18
furkanso based on that, it seems there have been other patches to the same functions in question, so it may require a bit of fiddling to backport05:19
tjaaltonsure05:19
alkisgnouveau@riva-tnt2: x11perf -putimagexy500 -eschertilerect500 -repeat 105:23
alkisg2000 reps @   4.4646 msec (   224.0/sec): 500x500 tiled rectangle (216x208 tile)05:23
alkisg4 reps @ 8389.1916 msec (     0.1/sec): PutImage XY 500x500 square05:23
alkisg==> how is it possible for a single putimage to need 20 seconds?!05:23
tjaaltondon't ask me05:29
tjaaltonwhere do you get this crap hw?05:29
furkanprobably from an archaeological dig :D05:31
alkisgGreece, that's all we have here :D05:31
tjaaltonsorry to hear that05:32
alkisgFor some reason normal operations like menus animations, scrolling windows, watching youtube etc is extremely slow on all the old graphics cards that I've tried05:32
alkisgWith e.g. windows 2000, it isn't so; it's something specific to the linux implementation05:33
alkisgI don't know if it'd be worth it to try and troubleshoot it, to find which code paths are so slow etc...05:33
alkisgDifference like from e.g. 1 fps on linux, to 30 fps on windows05:33
alkisgTested in 10 cards or so, so I don't think it's just driver-specific05:34
furkanhave you tried the proprietary driver (if it's still supported)?05:34
tjaaltonit's not05:34
alkisgNot recently (it would need 8.04), but I did try intel hardware as well05:34
tjaaltonoh05:34
tjaaltonnvidia05:34
furkanwait what, windows 2000?05:35
furkanwhat kind of CPU do you have?05:35
alkisgWe're the IT support center of 300+ schools, we have a lot of CPUs available for testing,05:36
furkanbecause i occasionally use windows 7 and 10, and i find that window operations in linux are much more CPU intensive05:36
furkanlike moving around a window can cause CPU usage to spike to 30-40%, resizing a window can cause 90%+ CPU usage05:37
alkisgso currently I'm testing with the windows-2000 -era hardware that they have, we're using them as linux thin clients05:37
furkanwhereas with windows 7+, CPU usage is negligible05:37
alkisgRight, that's what I notice too05:38
furkani think Xorg is just really inefficient05:38
alkisgBut why? Too many buffers being copied around?05:38
furkani don't know but i think that's part of what Wayland will fix05:38
furkanand Mir, on the Ubuntu side05:39
alkisgI really can't see why a putimage would need 20 seconds, last I tried implementing that in assembly back in 1995 we could easily do 60 fps...05:39
furkani think there is a build of Ubuntu 16.04 available with Unity 8, maybe you can try it if it's compatible with your hardware05:39
furkanUnity 8 uses Mir05:40
tjaaltonno it won't be05:40
furkanbut it's a big work-in-progress right now05:40
furkanoh, my mistake then05:40
alkisgWould e.g. wayland or mir be compatible with intel 855?05:40
tjaaltonat least I don't think nouveau has any support for ancient hw05:40
tjaaltonalkisg: no idea05:40
alkisg...or nouveau + geforce 400mx, stuff like that05:41
tjaaltoni don't know if it needs more than just kms support05:45
tjaaltonfirst thing to check is if nouveau is used05:46
tjaaltonthe kernel module05:46
alkisgIn e.g. 16.04 and geforce 400mx, it is... I'll download a wayland or mir cd to test with...05:47
tjaaltonwith current debian sid on intel skylake & wayland, for instance resizing the terminal is abysmally slow05:48
tjaaltonit's like 2fps05:49
alkisgMeh :)05:50
alkisgAnother idea could be vnc@directfb to reuse those old clients... maybe it would be faster...05:50
furkanalkisg: i wonder if you guys would just be better off buying raspberry pis05:50
furkanraspberry pi 3 might be more powerful than your hardware, and consumes much less power05:51
furkannot sure how expensive electricity is over there, and how much it would offset the cost05:51
alkisgSchool eletric bills are paid centrally, so they don't care about that05:52
alkisgWhen we do have 100€ per client, we're upgrading P4's with something like ASROCK QC5000M motherboard + 4 GB RAM05:52
alkisg(all in one, 1900 passmark score for its kabini cpu)05:52
alkisgIt's like 100 times faster than raspberry pi 305:52
furkanok i see, yeah kabini and 4GB RAM is better than rpi for sure05:52
furkando you use ubuntu with the kabini boxes?05:54
alkisgso far we've been using equivalent intel-based boards (with IDE connectors), but they're not available anymore, so we ordered our first kabini one some days ago, it hasn't arrived yet05:55
alkisgWe'll start testing it in a week or so05:55
furkanoh ok, i have a kabini box running ubuntu and it works really nicely05:55
alkisgSome teacher reported that his recent amd board didn't work with 64bit ubuntu after 14.10, and he needed 32bit instead05:56
alkisg(usb + lan didn't work at all on the live CDs etc)05:56
furkanthat could be for any number of reasons... i remember i had an issue with an intel machine where the onboard Realtek LAN wasn't working properly, and it's because for some reason the wrong kernel module was being loaded05:58
furkani built the driver from source and it worked fine after that05:58
alkisgHaha ok s3virge wins, 4 reps @ 15587.4967 msec (     0.1/sec): PutImage XY 500x500 square06:09
alkisgThat's like one putimage per hour :D06:10
* alkisg is trying to find some ancient graphics card that goes faster in debian wheezy (before xaa was killed) compared to ubuntu xenial... and can't find any!!!06:22
tjaaltonfurkan: it wasn't too hard to backport the font fixes afterall06:48
tjaaltonseems to work06:48
furkanoh, nice :)06:49
furkandid you still want me to file that bug report? i was still going to do it a bit later06:50
tjaaltonplease07:05
furkantjaalton: done https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/155596007:21
ubottuLaunchpad bug 1555960 in xorg (Ubuntu) "Some text (in buttons, dropdown menus) renders incorrectly" [Undecided,New]07:21
furkani could have sworn that somewhere on that page there was an option to indicate that an upstream fix has been committed07:21
furkanbut i can't find it07:21
tjaaltonthx07:22
furkannp07:22
furkanglamor performance is really coming along nicely, it's been getting faster with every xorg release07:23
tjaaltoni was meant to let skylake fall back to modesetting+glamor but other bugs prevent that07:25
furkani'm looking forward to 1.19, it looks like eric put in some pretty nice improvements while doing his work on the raspberry pi driver07:25
tjaaltonuploaded07:40
furkanto x-staging?07:47
tjaaltonno07:47
tjaaltonxenial07:47
tjaaltonthe bugfix i mean07:47
furkanhmm maybe it hasn't propagated to my mirror yet07:47
tjaaltonlucky if it has even built yet..07:48
tjaaltonit'll take a day to hit your mirror07:48
furkanoh haha07:48
furkanbtw remember when you said i must have not updated for a quite a while07:50
furkanthe mirror i was using hasn't been updated since mid-february07:50
tjaaltonsame thing with fi.a.u.c07:50
furkanand i think that might be the most popular mirror around here07:50
furkan(hosted at a university nearby)07:50
furkancome to think of it, i think that might be the mirror being used in our lab, so we might not have been getting security updates for the past month :o07:53
* furkan ssh's in07:53
tjaaltonI hope you use security.u.c07:53
tjaaltonas everyone should07:53
furkanwhat's that?07:54
tjaaltonsecurity.ubuntu.com07:54
tjaaltonsee sources.list07:54
furkanoh ok07:55
furkanchecking now, we use an apt-cacher07:55
furkanlooks like we use the generic ca.archive.ubuntu.com mirror07:55
furkanare you suggesting that i add a separate line for security.ubuntu.com?07:56
tjaaltonno07:57
tjaaltonshould have already07:57
tjaaltoneven if you use a mirror the default sources.list uses security.u.c for security updates07:57
tjaaltonunless you've fumbled that07:57
furkani'm gonna pastebin this to make sure, i'm not the one who set up this particular server07:58
tjaaltoni'm talking about the client07:58
tjaaltoni don't care what you mirror :)07:58
furkanoh this server is acting as the apt-cacher for all the computers in the lab07:58
tjaaltonk07:58
furkanhttp://pastebin.com/M9QwcPJV07:58
furkani don't see "security" anywhere in here07:59
furkanwell there is trusty-security, but points to ca.archive.u.c07:59
tjaaltoni don't know how apt cacher works07:59
furkanthat's just the sources.list file07:59
furkanapt-cacher just sets up an HTTP server and serves the cached packages07:59
tjaaltonthen you can hit issues like mentioned08:00
furkanok i see, i'm looking at my sources.list at home and i see the difference08:00
furkandeb http://security.ubuntu.com/ubuntu/ xenial-security multiverse main universe restricted08:00
furkani will modify the server, thanks for the heads up08:01
furkanbasically all the clients have their source.list set up to point to the apt-cacher08:01
furkanand the apt-cacher uses its own sources.list to retrieve/cache the packages and serve them to the others08:01
tjaaltonok08:03
tjaaltonI just host a local mirror08:03
tjaaltonof debian & ubuntu08:03
=== JanC_ is now known as JanC

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