Sunday, October 29, 2006

Ubuntu's Edgy Eft Breakage

edgy eftUbuntu's latest version, the edgy eft was released last week and this weekend I made the switch on my laptop. The following is a list of the breakage it caused.

  • ATI 3D acceleration broken

  • VMware broken

  • Problems with wine over VNC


I had to waste a couple hours troubleshooting this stuff, which I don't like to do, but I got it all (mostly) figured out. These problems look like they would only affect a tiny minority of users, but I tripped over them and thought perhaps this would be useful to someone else.

The ATI 3D thing was strange. Basically it turns out my xorg.conf was at fault although It had been working fine for the past two releases of ubuntu. I found this message in my Xorg logs "(EE) AIGLX: Screen 0 is not DRI capable". Googling brought me to a forum which I can't find a link to, but in it someone suggested adding the following lines to the end of the xorg.conf.

Section "Extensions"
Option "Composite" "disable"
EndSection

That fixed it for me. It is odd that I didn't need it before though. The next problem was VMware. Everytime I get a new kernel I have to run vmware-config.pl. But this time it didn't work. I got the following error: "error: conflicting types for ‘poll_initwait’" while compiling. Here is a link to the fix. And in case that link doesn't work here are the instructions.

cd /usr/lib/vmware/modules/source
tar xf vmmon.tar
tar xf vmnet.tar
vim vmmon-only/Makefile.kernel #Add -DKBUILD_BASENAME=\"$(DRIVER)\" just after -Iinclude2/asm/mach-default (on the same line use a \ to indicate the new line should be ignored).
vim vmnet-only/Makefile.kernel #Add -DKBUILD_BASENAME=\"$(DRIVER)\" just after -Iinclude2/asm/mach-default (on the same line use a \ to indicate the new line should be ignored).
mv vmmon.tar vmmon.tar.save
mv vmnet.tar vmnet.tar.save
tar cf vmmon.tar vmmon-only
tar cf vmnet.tar vmnet-only

Finally the most annoying of all is the thing with wine and VNC. At work I run a VNC server on my laptop because I sit at a pairing workstation all day long. So when I want to check my lotus notes email I just vnc to my laptop and check my email. Lotus notes runs on wine. Everytime I update to a newer version of wine something breaks. This time was no exception. Notes seems less stable, and there are these weird black icons. But for some reason when I try to run notes through vnc I get the following errors


Xlib: extension "XFree86-DRI" missing on display ":1.0".
Xlib: extension "GLX" missing on display ":1.0".
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
err:wgl:has_opengl Intialization of OpenGL info failed, disabling OpenGL!
Xlib: extension "XFree86-DRI" missing on display ":1.0".
Xlib: extension "GLX" missing on display ":1.0".
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
err:wgl:has_opengl Intialization of OpenGL info failed, disabling OpenGL!
Xlib: extension "XFree86-DRI" missing on display ":1.0".
Xlib: extension "GLX" missing on display ":1.0".
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
err:wgl:has_opengl Intialization of OpenGL info failed, disabling OpenGL!
fixme:ole:CoRegisterMessageFilter message filter has been registered, but will not be used
err:ole:CoGetClassObject class {4955dd33-b159-11d0-8fcf-00aa006bcc59} not registered
err:ole:CoGetClassObject no class object {4955dd33-b159-11d0-8fcf-00aa006bcc59} could be created for context 0x1
Xlib: extension "XFree86-DRI" missing on display ":1.0".
Xlib: extension "GLX" missing on display ":1.0".
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
err:wgl:has_opengl Intialization of OpenGL info failed, disabling OpenGL!
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory

When I run wine from a local x session I only see the following errors (the good errors)

fixme:ole:CoRegisterMessageFilter message filter has been registered, but will not be used
err:ole:CoGetClassObject class {4955dd33-b159-11d0-8fcf-00aa006bcc59} not registered
err:ole:CoGetClassObject no class object {4955dd33-b159-11d0-8fcf-00aa006bcc59} could be created for context 0x1
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory

I can't figure this out. This worked when I was on dapper. Sigh. I guess I need to look into using the newer version of notes that supposedly works natively on linux. Hope this helps somebody. Hope somebody helps me.

2 comments:

Shlomo said...

Hey. BTW I just noticed that wordpress is putting escape slashes before all my quotation marks. Those shouldn't be there. BEWARE copying any of my code from this post. Make sure you remove any extra slashes.

Shlomo said...

I've created a bug report for you at
http://bugs.winehq.org/show_bug.cgi?id=6561
Please add any further details there, e.g.
what version of Wine you're using.

See also http://wiki.winehq.org/LotusNotes