/srv/irclogs.ubuntu.com/2016/09/28/#ubuntu-x.txt

=== JanC_ is now known as JanC
pxeguyyo guys06:12
pxeguyhas anyone come across a green, blue and red display on an HP machine after the it finishes loading grub? The kernel doesn't seem to want to pickup the driver06:13
tjaaltonno, file it upstream06:13
pxeguyupstream?06:13
tjaaltonto intel06:13
pxeguycan you point me in the direction where I can report this?06:14
tjaaltonbut what does 'lspci -nn -s 02' tell?06:14
pxeguygive me a moment06:14
RAOFWhee! -modesetting is a hot mess on my (admittedly weird) machine.06:24
pxeguyyes...06:24
pxeguynone of these modes are currently working for me06:25
tjaaltonRAOF: how?06:26
tjaaltonpxeguy: irrelevant. what's your pciid06:26
tjaaltonor the hw model06:26
TemperoRHi tjaalton06:27
TemperoRit's pxeguy06:27
tjaaltonk06:27
TemperoR00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1912] (rev 06)06:27
TemperoRthat's my output06:27
tjaaltonand what are you trying to use?06:27
tjaaltonshould be well supported btw06:27
pxeguyyes06:27
pxeguygive me a moment I want to show you something else06:27
RAOFtjaalton: Extremely slow, it looks like at least two different framebuffers are fighting over the display (so I get torn updates, can only see the real output when moving the mouse, and so on).06:28
tjaaltonRAOF: nice06:28
TemperoR*-display UNCLAIMED              description: VGA compatible controller              product: Sky Lake Integrated Graphics              vendor: Intel Corporation              physical id: 2              bus info: pci@0000:00:02.0              version: 06              width: 64 bits              clock: 33MHz              capabilities: vga_controller bus_master cap_list              configuration: latency=0              resources: m06:28
TemperoRthat's from lwhw06:28
TemperoRlshw'06:28
tjaaltonunclaimed because of nomodeset06:29
pxeguycorrect06:29
tjaaltonnothing useful there06:29
tjaaltonand nightly didn't work?06:29
tjaaltondoes the grub menu work?06:29
pxeguyI'm very worried about using nightly06:29
pxeguyreason being06:29
tjaaltonwhy06:29
pxeguyI'm putting it on a production LTSP server06:29
tjaaltonuh06:30
pxeguysorry not production06:30
tjaaltonjust try something06:30
pxeguyI'm building it for a client06:30
tjaaltondon't tell them that you're testing an unofficial kernel..06:30
pxeguyyes.....06:30
tjaaltoni mean06:30
tjaaltondo you want to see it fixed?06:30
pxeguywell to be honest06:31
pxeguyI don't think we will end up using this machine06:31
tjaaltonok then06:31
pxeguybecause it is about 12 grand06:31
pxeguyI just wanted to see if I could fix it06:31
tjaaltonI'll continue with xserver backports then06:31
pxeguyxserver back ports?06:31
tjaaltonmy work06:31
pxeguyokay I see06:31
pxeguythank you for your help06:31
RAOFtjaalton: In partial defence of -modesetting, I've got both an AMD and an NVIDIA card in this box, with three display cables connected to two monitors.06:31
tjaaltonRAOF: hehe06:32
pxeguythat is very weird RAOF06:32
pxeguylmao06:32
RAOFgnome-shell-wayland works fine* by dint of not trying to drive the nvidia card at all :)06:34
RAOF* For values of “fine” which include Xwayland being reasonably frequently unresponsive.06:34
tjaaltonmodesetting has been working fine for me, though I know there are some corner cases that are known to be broken still06:43
pxeguybtw tjaalton, you say i915 is well supported?06:44
tjaaltonlike inverting the 2nd head and looking how the eDP is blanked. testing a backport now..06:44
tjaaltonpxeguy: skylake is, in 16.04 and up06:44
pxeguythen it's so weird that it's not working....06:45
tjaaltonthat's why I asked you to try latest upstream06:46
pxeguythe latest upstream in terms of intel?06:46
pxeguyor the nightly06:46
pxeguybecause that is a 4.8 kernel right?06:46
tjaaltondrm-intel-nightly build has latest of i91506:46
pxeguyoh I see06:46
pxeguyokay that makes sense06:46
tjaaltonbased on 4.8, that's irrelevant06:47
pxeguyokay I see06:47
pxeguyI downloaded only 3 of the .deb files06:47
tjaaltonyou just need on06:47
tjaaltonone06:47
pxeguyoh really?06:47
pxeguywhich one?06:47
tjaaltonlinux-image...generic06:47
tjaalton.deb06:47
pxeguyokay06:47
pxeguyI have that one06:47
tjaaltonwhat does uname -a tell you?06:48
TemperoRLinux ltsp65 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux06:48
TemperoRthey said it was supported from 4.4 onwards06:48
tjaaltonok so it's the latest06:48
tjaaltonskylake uses i915_bpo on it, which is from 4.706:48
TemperoRokay, so then I need 4.7 onwards06:49
TemperoRto get it to work06:49
tjaaltonno06:49
TemperoRor can I dl i91506:49
tjaaltonif 4.4.0-38-generic is broken then upstream 4.7 is most likely just as broken06:49
tjaaltonjust install the nigthly kernel and boot06:49
TemperoRokay what I will do06:50
TemperoRis create a replica of this server06:50
TemperoRand try what you've told me06:50
tjaaltonwhy can't you just install a package06:50
tjaaltonif it doesn't work, remove it06:50
TemperoRyou don't think it could break anything indefinitely06:51
TemperoR?06:51
tjaaltonno06:51
TemperoRokay I see06:51
TemperoRlemme give it a shot06:52
tjaaltonoh goddammit06:53
tjaaltonnow that PSR is enabled upstream in 4.8 modesetting is b0rked06:53
tjaaltonon skylake at least06:53
TemperoRborked06:53
TemperoRxD06:53
TemperoRborked = broked?06:53
tjaaltonborkborkbork06:54
TemperoRyou're doing me a real big frighten tjaalton xD06:56
tjaaltonI was talking to myself, not about your case06:56
TemperoRno I know06:56
TemperoRwas just making a joke06:56
TemperoR:p06:56
tjaaltonlooks like I'm just an idiot, had psr enabled locally06:57
TemperoRdo you also do networking tjaalton06:58
TemperoR?06:58
TemperoRnetworking and linux go hand in hand often times06:58
tjaaltonno06:58
tjaaltonpxeguy: so did you test the kernel?12:09
pxeguyhi tjaalton12:16
pxeguywhere can I put the .deb file?12:16
tjaaltonhuh12:16
tjaaltoninstall it12:16
pxeguyapt-get install and then the whole fiele name?12:16
tjaaltonno12:16
tjaaltondpkg -i12:16
tjaaltonI assume you're mucking with a chroot?12:17
tjaaltonthat the client boots12:17
pxeguyyes....12:17
pxeguyyes it boots into the chrooted environment12:17
tjaaltonso copy the deb there, then run chroot and install it there12:17
tjaaltonunless you have the booted kernel somewhere else12:17
tjaaltoncan't help you there12:18
pxeguyno I don't think so12:18
pxeguyyeah I know you wouldn't know where I have the stuff stored12:18
tjaaltoncan you test usb live-image locally?12:18
pxeguyit pulls the config from /var/lib/tftpboot/ltsp/amd64/12:18
pxeguyI just need to work out where it's pulling the kernel from12:19
pxeguylet me ask one of the other guys in my office12:19
pxeguyokay I know where to put it12:30
pxeguybut I'd need to compile the kernel again right?12:30
tjaaltonno12:30
tjaaltonhow do you normally update the boot kernel?12:31
pxeguywell12:33
pxeguywhat I have to do is12:33
pxeguyput the linux image12:33
pxeguyin /opt/ltsp/amd64/boot12:34
tjaaltonmanually?12:34
pxeguythat would be in the chroot12:34
pxeguyyes12:34
pxeguyI think it's pulling the kernel from there12:34
pxeguywell that's what makes the most sense to me12:34
tjaaltonand in /opt/ltsp/amd64/lib/modules you have the kernel modules?12:35
tjaaltonper version12:35
pxeguylet me check 12:35
pxeguy4.4.0-28-generic  4.4.0-38-generic12:36
pxeguythat's what in there12:36
tjaaltonok12:36
pxeguygive me a moment12:36
pxeguyI'll tell you which one it's pulling12:36
tjaaltonso, copy the image in, say /opt/ltsp/amd64/tmp, then run 'chroot /opt/ltsp/amd64/ /bin/bash; dpkg -i /tmp/linux-image....deb'12:37
pxeguybtw would booting from a legacy bios affect any of the kernel crap or is a completely seperate story all together?12:38
tjaaltonno12:38
pxeguyokay thanks just wanted to confirm12:38
tjaaltonwell, could be that it'd just work with uefi and local usb live12:39
tjaaltonbut who knows12:39
pxeguybtw, where should the i915 module be installed?12:41
tjaaltonwhy?12:41
pxeguyand does this error "could not create tracefs" mean to you12:41
tjaaltonno12:41
pxeguyI'm just curious12:41
tjaaltonunder /lib/modules12:41
pxeguyokay so i915 should actually be in /lib/modules12:44
tjaaltonof the chroot12:45
tjaaltondon't install the kernel on the host machine12:45
tjaaltonbut under the chroot, like I said12:45
pxeguyokay12:45
pxeguywill do12:45
pxeguyis this the correct kernel12:55
pxeguylinux-image-4.8.0-994-generic_4.8.0-994.201609262201_amd64.deb12:55
tjaaltonsounds about right12:58
pxeguywell that's what I got from the nightly package13:00
pxeguy:013:00
pxeguy:)13:00
tjaalton994 means nightly13:01
pxeguyokay sweet13:07
pxeguyand it won't break anything indefinitely?13:10
pxeguysorry I'm just making sure13:10
tjaaltonno13:11
pxeguyand what is the process to uninstall?13:15
tjaaltondpkg --purge linux-image linux-image-4.8.0-994-generic13:15
tjaaltonon the chroot13:15
pxeguyI ran13:29
pxeguydpkg -i /tmp/linux-image....deb13:29
pxeguyobviously with the correct file13:29
pxeguyand it's not popping up in lib/modules13:29
tjaaltonyou're in the chroot, and there's no 4.8.0-994 subdif?13:30
tjaalton*subdir13:30
pxeguy(Reading database ... 189752 files and directories currently installed.) Preparing to unpack .../linux-image-4.8.0-994-generic_4.8.0-994.201609262201_amd64.deb ... grep: /proc/cpuinfo: No such file or directory This kernel does not support a non-PAE CPU. dpkg: error processing archive /tmp/linux-image-4.8.0-994-generic_4.8.0-994.201609262201_amd64.deb (--install):  subprocess new pre-installation script returned error exit status 1 13:33
tjaaltonso how do you normally get new kernels there? follow the same procedure..13:33
pxeguyokay I think I know what to do13:33
tjaaltonyou'd probably need to bind mount /proc etc13:33
pxeguyI missed the mount 13:33
pxeguyye13:33
pxeguyexactly13:33
pxeguyI missed that13:33
pxeguysudo chroot /opt/ltsp/i386 mount -t proc proc /proc13:35
pxeguythink that's what I missed13:35
pxeguymount -t proc proc /proc13:36
tjaaltonand?17:32

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