Nice. I have had troubles with this gdb being unreliable.
If you don't use startxfce4 and instead use say startlxde do you have the same issues with the debugger?
It is pretty reproducible, even after the exact contents of the page changed. So I observed it on another pair of images.teh_orph wrote:That's helpful thanks. At this end I'm tracking a bug which should cause general corruption with a specific pixel format input combination but your picture looks like it's sort of sheared... Does it do this *every* time the page is rendered?diereinegier wrote:The original driver displays the site correctly.
Attached you'll find the screenshot.
Enough for tonight: got to get to work tomorrow.
I'm also unsure of why other instances of corruption are not repeatable. There may be another issue...
Yeah this is actually really annoying - you're the only person other that me who's been able to crash it! (ever!) You are typing 'run' into gdb, right? Running in gdb should make no difference at all. Anyway it's too late now, we can't retrospectively get a core filejuppiter89 wrote:It seems that I'm the only one that can't start Xorg by gdb, quite frustrating...
So I imagine that there is no other way to get a core file dump, true?
In the home folderteh_orph wrote:Amazing, thanks - I'll have a look later. Where was it anyway?
juppiter89 wrote:I managed to reproduce the crash browsing with Midori in http://forum.tgmonline.it/showthread.ph ... no-esperti. Scroll down the page till the end and you should get into it.
Btw I found the core file, but I noticed is quite large. When I can I'll try to upload it, my ASDL line is not quite good
I get this in gdb:yaggi wrote:Hey juppiter89,
Did X actually crash when you went to that webpage or did the Raspberry Pi just become unresponsive?
juppiter89 wrote:I managed to reproduce the crash browsing with Midori in http://forum.tgmonline.it/showthread.ph ... no-esperti. Scroll down the page till the end and you should get into it.
Btw I found the core file, but I noticed is quite large. When I can I'll try to upload it, my ASDL line is not quite good
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
Op (width=<optimized out>, height=<optimized out>, source=..., dest=...,
mask=..., coord=..., width=<optimized out>, height=<optimized out>)
at /home/simon/Desktop/x/src/driver/xf86-video-fbdev_exa/src/./composite_ops.inl:876
876 /home/simon/Desktop/x/src/driver/xf86-video-fbdev_exa/src/./composite_ops.inl: File or directory not existing.
juppiter89 wrote:I get this in gdb:yaggi wrote:Hey juppiter89,
Did X actually crash when you went to that webpage or did the Raspberry Pi just become unresponsive?
juppiter89 wrote:I managed to reproduce the crash browsing with Midori in http://forum.tgmonline.it/showthread.ph ... no-esperti. Scroll down the page till the end and you should get into it.
Btw I found the core file, but I noticed is quite large. When I can I'll try to upload it, my ASDL line is not quite goodand so I had to restart Xorg. The screen though does not become black, just seems to freeze, but the Raspberry itself does not crash, in fact I could generate the core file.Code: Select all
Program received signal SIGSEGV, Segmentation fault. Op (width=<optimized out>, height=<optimized out>, source=..., dest=..., mask=..., coord=..., width=<optimized out>, height=<optimized out>) at /home/simon/Desktop/x/src/driver/xf86-video-fbdev_exa/src/./composite_ops.inl:876 876 /home/simon/Desktop/x/src/driver/xf86-video-fbdev_exa/src/./composite_ops.inl: File or directory not existing.
Hi Simon,teh_orph wrote:Thanks again.
Basically the two things which have had the least amount of testing are the VpuOffload option (about a month's worth) and the SelfManagedOffscreen (about two weeks worth). With those options turned off you lose a lot of performance but is by far the most tested configuration (many many months worth)
I have caught the crash - it happens when you try and scroll beyond the bottom of the page. It's a pretty silly bug that I should have caught - basically the browser is sending invalid data (it's trying to copy from the row ~12000 of an image that's only ~500 pix high!). Catching this more robustly should be pretty easy (my existing catcher isn't good enough). A good spotjuppiter89 wrote:Just tried, your webpage works fine for me.
Yes no worries about speed. Try breaking it with both options turned off. Although ignore any crash if you see a message on the console about overreading. Once you're comfortable with this, turn on just the SelfManagedOffscreen and get bug hunting!bleep42 wrote:For the moment would you prefer we test with all options turned on, or shall I continue with 'SelfManagedOffscreen' set to 'false'?
Sorry I mean the other way round; something like this http://www.play.com/PC/PCs/4-/22896719/ ... tails.htmlI do have a USB to serial adapter, but neither my desktop or laptop have a serial input.
Hi Simon,teh_orph wrote:Sorry I mean the other way round; something like this http://www.play.com/PC/PCs/4-/22896719/ ... tails.htmlI do have a USB to serial adapter, but neither my desktop or laptop have a serial input.
You plug the loose wires into the pi and the USB end into your PC. You're then hooked in to the kernel's debug output.
Awesome, good news! I can't waitteh_orph wrote:The serial thing, I'm using the same exact one on play.com (cost me a couple of pounds...but if you don't have one no troubles). Doing an rpi-update should not replace the driver. AFAIK it only changes the kernel and firmware.
If however you do an apt-get update/upgrade there's a slim chance a new version may come down the pipes and erase it
Anyway I'll have a new version for you all in a few days to fix these few bugs. You'll definitely need to install that
Code: Select all
[email protected] ~ $ startlxde
Obt-Message: Xinerama extension is not present on the server
Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"
This is fine. The goodies are this line in your log file,xdpyinfo | grep 'depth of root window' | awk '{ print $5 }' returns 24. Shouldn't it indicate 32?
Code: Select all
(II) FBDEV_RPI(0): Raspberry Pi Xorg driver build date Jan 3 2013 build time 22:54:08
(II) FBDEV_RPI(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
(==) FBDEV_RPI(0): Depth 24, (==) framebuffer bpp 32
(==) FBDEV_RPI(0): RGB weight 888
(==) FBDEV_RPI(0): Default visual is TrueColor
Hi Knight4Knight4 wrote:Hi,
First of all, great work!
I'd love to help out. I've installed the driver (VideoCore support included) and everything worked fine right out of the box. As far as I can tell, things seem faster but I'd love to know if this is just some kind of Xorg placebo effect, given that when I drag file manager windows around the CPU usage goes up the roof.
Here's the commands I am running:
* SSH Shell #1 (pastebin, the log is a bit long)
Followed by this, on another shell:Is everything OK? Can you guys confirm I'm not running some kind of crazy fallback to the old driver?Code: Select all
[email protected] ~ $ startlxde Obt-Message: Xinerama extension is not present on the server Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"
Cheers!
Yup.teh_orph wrote: Just to confirm: are you running Xorg in a window (SSH?) that you can always see the output of?
Awesometeh_orph wrote: Looking at your log all looks good. See all the FBDEV_RPI messages? That's me.
(...)
I'll be providing an update to the two bugs within a matter of days
Not right now as I haven't got a USB serial port adaptor, but I'll let you know if I get one.teh_orph wrote: If you have the ability to connect to the rpi's serial port (see a few posts back) make sure you tail -f /var/log/kern.log to watch for the Ethernet driver dying.
Indeedbleep42 wrote: One of the things I do to stress it out, on the old driver definitely used up 100% CPU, now maxes out at 80% and visually appears faster, so faster with significant spare CPU cycles, hopefully once Simon is happy and he starts to back out most of the debug we should see further improvements. Like you, I was unsure initially that I had actually got Simons new drivers running correctly, but I guess that is just a sign of how good they are that we can't tell.