Solved xorg/Fluxbox crashes on window open after upgrade to xorg-server 1.14

I have a machine running FreeBSD 10.0 and xorg-server-1.14.7_1,1.

Code:
FreeBSD janet.weif.net 10.0-RELEASE-p12 FreeBSD 10.0-RELEASE-p12 #0: Tue Nov  4 04:15:03 UTC 2014 [EMAIL]root@amd64-builder.daemonology.net[/EMAIL]:/usr/obj/usr/src/sys/GENERIC  i386

After upgrading to 1.14, when I startx, X crashes after 45 seconds, and the mouse buttons don't work. After a degree of troubleshooting, I have found that this is only true if there is a window open. i.e. if I startx with nothing open, it will run as long as I don't open any windows. However as soon as I open a window I have 45 seconds until X dumps core... :(

I have also found that if I open a window and then try clicking the mouse buttons, not only is there no effect from clicking, but that cuts the time to crash down to about 10-15 seconds.

I have my xinitrc here: http://www.weif.net/image/forum/xinitrc
the most recent Xorg log here: http://www.weif.net/image/forum/Xorg.0.log
The xorg.conf file I was using here: http://www.weif.net/image/forum/xorg.conf.old
and a newly generated (using Xorg -configure) xorg.conf file here: http://www.weif.net/image/forum/xorg.conf

I have done portupgrade -Rf xorg, I have used pkg_rmleaves to delete all the X related packages and then done portinstall -f xorg, I have done pkg upgrade -f xorg, and I have gone into pkg_rmleaves and uninstalled all the X related packages I can find and then done a pkg install xorg - all these get me to the same place. X works, as long as there are no windows open...

Any ideas? I'd really like to get this machine functional again.

Thanks,
Keith S.
 
There are no errors in the log. It could be this is due to the new defaults of the X server defaulting to devd(8) rather than HAL. If the error is due to that, x11-servers/xorg-server can be rebuilt with the HAL option selected.

As always, first try starting X without any xorg.conf at all.
 
I have tried starting without any xorg.conf, and the behavior is the same. Sorry I didn't mention that before.
 
Rebuilt with HAL support, and behavior is the same... you have 45 seconds from the first window being opened to X crashing...

In case it's relevant, prior to this I was running xorg-server-1.7.7_14,1
 
The Intel Haswell GPU is not supported on 10-R. You should try a recent CURRENT, the Intel kernel-side driver was recently updated and your device ID is listed in
sys/dev/drm2/drm_pciids.h.
 
Okay, thanks acheron
Just to make sure I'm understanding you here, I need to update FreeBSD from 10.0 to 10.1 and that that (with the requisite port and package rebuilding) ought to address this?
 
Hmmm. I'm rather concerned about moving to a development branch of the OS... Alternately, is there a way to get back to xorg-server-1.7.7 where it was all working?
 
If you can, I've made a patch out of the info in Thread 49995 mentioned by srobert above and have that in PR 197150. If you can run the following steps to apply that and provide feedback in the PR if that fixes your issues that would be great. Thanks.
cd /usr/ports/x11-wm/fluxbox
fetch -o fluxbox-1.3.6_1.diff 'https://bz-attachments.freebsd.org/attachment.cgi?id=152403'
patch < fluxbox-1.3.6_1.diff
make install
 
Back
Top