User1: i am trying to get my beagleboard booting after a year of coma.  anyone know if the latest ubuntu arm (12.04) runs on the beagle at the moment?  its a b5 rev ..
User2: torpor, it should, there might be some issues (sound not working out of the box for example) but generally it should just work
User2: though i would recommend using the server image and picking a lighter desktop at install time ...
User1: interesting idea ogra_  thanks for the hint.  wouldn't have thought to use the server image.
User3: Hi ogra_! On your suggestion, I used Ubuntu 12.04 server image on BeagleBoard XM and from command line installed lubuntu-desktop package. But it didn't give gui after boot, it used to always revert back to tty1 with tty7 blank. What else is required to be installed other than lubuntu-desktop package?
User1: Error: Bad compare! failed
User1: ah crap
User4: linux-libc-headers-dev_3.6.0-r0_aarch64.ipk done
User4: easy parts were done, time for hard ones
User2: orated, how about an X server ? :)
User3: User2 Yes, I checked for it. I inputted startx command and it was missing so installed xserver, xinit and other related packages.Even then there were errors. I don't remember the exact errors but it was always reverting to tty1
User2: orated, you also want the fbdev xserver
User3: fddev xserver
User3: fbdev*
User3: No, I didn't know that and it wasn't tried
User2: what exactly did you install ?
User2: (should have been apt-get install xorg)
User3: One moment, I'll pull that exact command
User2: xorg is the metapackage that pulls in everything needed
User3: User2 sudo apt-get install lubuntu-desktop xserver-xorg-video-omap3
User3: And, then xinit package was attempted
User3: User2 ?
User2: ?
User3: Um, well. I installed those packages and still it wasn't giving display :) So, is that all the packages required or am I missing anything?
User2: you did what i sadi above (apt-get install xorg) ?
User3: Uh, what's the difference between xserver-xorg-video-omap3 and xorg then?
User3: Ok, wait. So from ubuntu-server install, installing lubuntu-desktop, xorg should be enough to get to the gui?
User2: try it
User3: Thanks
User3: I'll that out. I went back to desktop install, will have to shut it down and insert ubuntu-server image
User3: try that*
User5: oh boy, http://www.spinics.net/lists/arm-kernel/msg193914.html
User3: Hello! How can I compile a package, say ffmpeg/OpenCV on x86 for ARM? cross-compilation ...
User2: rsalveti, what happened to the kernel patch for panda ? are we waiting for anything ?
User6: User7 were you able to test it as well?
User6: User2 there's this dpms green screen from time to time, but other than that it seems to be working
User6: it's better, but still with a few bugs
User7: User6 breifly, it worked fine on my panda, but I was wanting to ask you...
User2: sure, i dont expect it to be the last upload
User6: so unless robclark decides to fix it this week, we can move it forward and push to the archive
User2: so better get it in asap so we get wider testing
User7: User6 you said you had issues after the screen blanked? I let it blank a few times with no ill effect
User7: it's certainly an improvement over what we had before
User6: User7 yeah, can't reproduce it all the time here as well
 * ogra_ hasnt see the weird behavior anymore either
User6: cool, will move this up today and send the proposal to ppisati
User2: great
User8: Just set up precise-omap4 image on Pandaboard-ES. I installed glmark2-es2, and it says it's using software rasterizer, and the FPS figures are also very low. Is this a bug?
User8: es2_info says: libEGL warning: DRI2: failed to authenticate
User9: User8 Install the powervr drivers.  Sounds like you are still using the default framebuffer driver.
User8: User9 After installing pvr-omap4, es2_info shows: PVR:(Error): PVRSRVBridgeCall: Failed to access device. Something in pvr_bridge_u.c:250
User6: User8 precise or quantal?
User8: User6 precise
User6: I think for precise one kernel config changed, which broke the module support
User6: let me find the bug covering this issue
User6: actually the bug I have is related with quantal, an old one
User6: User8 what is the dkms build output once you installed the pvr-omap4 package?
User6: check with lsmod if you have the omapdrm_pvr module available
User8: User6 no omapdrm_pvr listed. I had a restart after installing pvr-omap4 package, don't have install log available anymore.
User6: User8 you can find the dkms log at /var/lib/dkms, look for a file named make.log
User8: User6 I search recursively /var/lib/dkms, no any *log files there
User8: User6 I take it as installing pvr-omap4 package should have created kernel module, which it didn't for some reason. Is this correct?
User6: User8 hm, mind reinstalling/reconfiguring the pvr-omap4 package to see if it'll try to build the module again?
User6: yup
User8: User6 http://pastebin.com/K7v07FMY
User10: User8 You don't have headers installed for your kernel, it would seem.
User10: User8 apt-get install linux-headers-$(uname -r) linux-headers-omap4 && dpkg-reconfigure pvr-omap4
User8: User10 good point, I didn't even think about it. That's probably necessary when building kernel modules.
User10: User8 Of course, you have headers for a newer kernel installed (-1418), perhaps upgrading your kernel wouldn't be an awful idea. :P
User6: yup, missing headers
User8: User10 The first thing I did was apt-get update apt-get upgrade. Only after that I started to experiment if and how opengl is supproted.
User10: User8 s/upgrade/dist-upgrade/ ?
User10: User8 upgrade won't pull in new packages (which new kernels are)
User10: User8 Note the "10 not upgraded" that apt is whining about.
User9: It won't?  When did that change?
User10: User9 It never has.
User10: User9 upgrade won't change the set of installed packages, ever.  Only dist-upgrade will.
User10: User9 On desktops, we work around this by allowing update-manager to be sort of a "half-dist-upgrade" that can add new packages, but never remove.
User9: Odd.  When I was doing the QA testing, I would use upgrade to get the latest packages without removing due to pool skew.
User10: I assure you that it never installed anything that wasn't already installed.
User10: Just upgraded.
User6: bug 1033091
User11: Launchpad bug 1033091 in pvr-omap4 "pvr-omap4 91.69.162.6.1.21-0ubuntu1: pvr-omap4 kernel module failed to build" [High,Confirmed] https://launchpad.net/bugs/1033091
User6: related with kernel config change
User6: /var/lib/dkms/pvr-omap4/91.69.162.6.1.21/build/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:85:2: ã¨ã©ã¼: #error "A preemptible Linux kernel is required when using workqueues"
User6: fun
User10: User6 That log is trying to build for an omap kernel, not omap4.
User10: DKMS make.log for pvr-omap4-91.69.162.6.1.21 for kernel 3.2.0-24-omap (armv7l)
User6: User10 true, then it's not a bug
User6: even better
User10: Though, why the -omap headers are installed is another bug.
User10: zma also appears to have them installed.
User10: dkms is probably pulling them in.
User6: the annoying kernel header mess
User6: yeah
User10: dkms shouldn't be depending on kernel headers at all, IMO.
User6: +1
User10: It's never going to be correct.
User10: server/generic/virtual on x86 had the same issue for years.
User6: and now we also got many other different kernels available
User10: The solution being to just get rid of server and virtual. :P
User10: But that's not helpful for arm, yet.
User10: But, this case seems to be the same case as zma's, in both senses.  One, the -omap headers are installed (which can cause weirdness), but two, the user has upgraded -omap4 headers, but an old -omap4 kernel.
User10: Not much we can do about that situation except to educate.
User10: Well, Andy and I have some plans to make kernels suggest their correctly-versioned headers, so that autoremove won't remove headers for kernels you still have installed.
User10: But can't land that until I land the kernel autoremoval magic.
User10: Or people will end up with 23 sets of headers installed to match their 23 non-purged kernels.
User10: Which would be pretty unpleasant.
User6: hahaha, yeah
User8: Still no pvr module reported by lsmod. Should I manually insmod it? I updated: http://pastebin.com/K7v07FMY
User10: Sure looks like it built omapdrm_pvr this time.
User10: lsmod won't show it, since it's not inserted, but modinfo should list it now.
User10: And yeah, you could either manually restart X or reboot.
User8: Just wondering, should those kernel headers be dependency to pvr-omap4 package?
User10: You already have the right headers metapackage installed.
User10: The problem is that your headers have been upgraded (to -1418-), but you're still on the old (-1412-) kernel.
User10: So, not much pv-omap4 can do in that situation.
User8: thanks guys, now it works, glmark2-es2 runs fine!
User6: cool
ubuntu-arm
Ubuntu IRC