| Summary: | QEMU crash when using Ubuntu with NVIDIA proprietary Xorg driver | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Matias <matias.sundman> |
| Component: | devtools / tool chain | Assignee: | Edwin Zhai <edwin.zhai> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | edwin.zhai, infras.ab.watcher, Infras.watcher, meta.mr.watcher, meta.watcher, sgw |
| Version: | 1.0 | ||
| Target Milestone: | 1.0 M4 | ||
| Hardware: | x86 | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | Ubuntu | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Matias
2011-02-03 05:23:04 UTC
Are you using the proprietary NVIDIA Xorg driver? There is a known issue with the openGL library it ships which can cause this behavior when qemu-native is compiled against it. This can be seen in the kernel log, Feb 3 20:33:17 matias-desktop kernel: [43914.197990] qemu[18471]: segfault at 329bd4e ip 000000000329bd4e sp 00007fff4a6dfa00 error 15 I've tried to start both qemux86-64 and qemux86 and both fails with the same fault. (In reply to comment #1) > Are you using the proprietary NVIDIA Xorg driver? There is a known issue with > the openGL library it ships which can cause this behavior when qemu-native is > compiled against it. Yes I am , how can I resolve it? I'm afraid we don't have a workaround for this yet. I was able to verify the crashes no longer happen when I uninstalled the NVIDIA driver and ensured that the OpenGL libraries no longer existed in /usr/lib/nvidia-current. Then when I rebuilt qemu-native (bitbake qemu-native -c clean; bitbake qemu-native), qemu would no longer crash. But this also means you'd lose the performance of the proprietary driver. (In reply to comment #4) > I'm afraid we don't have a workaround for this yet. I was able to verify the > crashes no longer happen when I uninstalled the NVIDIA driver and ensured that > the OpenGL libraries no longer existed in /usr/lib/nvidia-current. Then when I > rebuilt qemu-native (bitbake qemu-native -c clean; bitbake qemu-native), qemu > would no longer crash. But this also means you'd lose the performance of the > proprietary driver. Aah, Ok -- I have two machines and both have the Nvidia driver since I am also doing some graphics intensive stuff. Have to think about this - perhaps a KVM, Vmware instance but then I loose some of the CPU horse power ... :-) Anyways, thanks for your prompt assistance! Cheers // Matias One more thing, I just started a Common_PC WindRiver project with; # make start-target TOPTS="-t" and that QEMU instance started nicely - perhaps something there to look at :-) Cheers // Matias See 649 also (In reply to comment #1) > Are you using the proprietary NVIDIA Xorg driver? There is a known issue with > the openGL library it ships which can cause this behavior when qemu-native is > compiled against it. Scott, Can you give me some info of this known issue? I suspect nvidia GL library conflict with some system library. Thanks, edwin |