3

I just upgraded to Ubuntu 15.10. I am still using the latest NVIDIA binary driver 352.41 from nvidia-352 w/ GT730 card.

When I start spyder and spyder3, the display is garbled with window elements wrongly sized and out of place. I get the following error:

$ spyder
QNativeImage: Unable to attach to shared memory segment. 
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0

. . .

Can someone help me resolve this error?

Thank you in advance! -Bill

Here is a screen shot of the garbled spyder screen Here is a screen shot of the garbled spyder screen


Update Nov 3, 2015:

The problem is occurring with multiple applications: spyder, VirtualBox, and IPython Qt Console. It seems like the BadDrawable error may be related to Qt with Ubuntu 15.10.

Here is a screen shot of the garbled IPython 3 Qt Console screen Here is a screen shot of the garbled IPython 3 Qt Console screen

Bill S
  • 31

2 Answers2

8

Have you tried the workaround described here? https://bbs.archlinux.org/viewtopic.php?id=200167

I had the similar problems with Skype, VLC and Double Commander on my laptop with Ubuntu 15.04 and the hack cured them all.

Just add the following line

QT_GRAPHICSSYSTEM=native

to the file

/etc/environment
1
QT_GRAPHICSSYSTEM=native  

works for me for VirtualBox.