Quote:
Originally Posted by stevea
The answer is that skype v4 mostly works out of the box with Fedora QT and you buggered it up somehow.
|
Alas, I was wrong suspecting IBM software in breaking Qt. Today I started machine and got the same problem... Also I tried to run from console.
qtconfig-qt4
Code:
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
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
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
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x0
google search by
QNativeImage: Unable to attach to shared memory segment.
result in
https://bugreports.qt-project.org/br...REATORBUG-7315 and
https://bugreports.qt-project.org/browse/QTBUG-7702
I understand little from these descriptions... if not nothing...
---------- Post added at 11:49 AM ---------- Previous post was at 11:18 AM ----------
OMG!!! OMG!!!
Eureka!!!
I installed IBM DB2 recently on my machine
I did changed /etc/sysctl.conf
Code:
kernel.shmmni=4096
kernel.shmmax=4294967296
kernel.shmall=8388608
#kernel.sem=<SEMMS><SEMMNS><SEMOPM><SEMMNI>
kernel.sem=250 256000 32 4096
kernel.msgmni=16384
kernel.msgmax=65536
kernel.msgmnb=65536
now I found strong correlation between running DB2 instance and Qt.
If I boot and did not start DB2 instance, qtconfig-gt4 (Qt based application itself) starts with that strange "QNativeImage: Unable to attach to shared memory segment. "
Once I started DB2 instace (using db2start -- I guess at this point DB2 starts consuming memory and resources) and then run qtconfig-qt4 -- it runs successfully, skype runs, IBM Lotus Notes runs, GoldenDict runs... i.e. eventually all software that is Qt-based. I guessed that by providing these settings I let more sharred memory for all... How may it influence Qt so badly?
I have 8GB 32-bit PAE, could anybody, please, critisize my /etc/sysctl.conf settings since the root of problems it here?
---------- Post added at 06:12 PM ---------- Previous post was at 11:49 AM ----------
so finally end this problem with
Code:
kernel.shmmax=2147483648
probably specifiing more for 32-bit PAE system is nonsense, however other applications were doing well.