Skip to content

P3D fails on Linux #2222

Closed
Closed

Description

@WorldsEndless

I'm running Processing 2.0.3 on Linux (OpenSUSE 12.2). My sketch is simply as follows:

    void setup() {
      size(200,200, P3D);
    }

The resulting error is:

Listening for transport dt_socket at address: 8708
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f7036669d90, pid=16256, tid=140119920830208
#
# JRE version: 6.0_37-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.12-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libxcb-glx.so.0+0xed90]  long long+0x0
#
# An error report file with more information is saved as:
# hs_err_pid16256.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Finished.
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help → Troubleshooting.
Could not run the sketch.

Processing Compilation finished at Tue Nov 19 11:17:06

Activity

  1. codeanticode commented on Nov 20, 2013

    @codeanticode
    Contributor

    What GPU do you have? These kind of errors are typically due to problems in the OpenGL drivers.

  2. WorldsEndless commented on Nov 20, 2013

    @WorldsEndless
    Author

    I'm not sure if this tells what we need to know, but here it is:

    sudo /sbin/lspci
    00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
    00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
    00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
    00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
    00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
    00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
    00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
    00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
    00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
    02:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0)
    03:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
    04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    05:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)

    codeanticode notifications@github.com writes:

    What GPU do you have? These kind of errors are typically due to
    problems in the OpenGL drivers.

    —
    Reply to this email directly or view it on GitHub.

  3. WorldsEndless commented on Nov 21, 2013

    @WorldsEndless
    Author

    I receive the same error when I try to use P2D or OPENGL as my rendering mode.

  4. kles4enko commented on Nov 21, 2013

    @kles4enko

    You have a problem with your GPU dirver.
    I use processing 2.x on openSuse 12.3, 13.1 with open source drivers - all works fine.
    Check you GPU driver, maybe you have to update it. Trying to switch to open source driver If you use proprietary driver and vice versa.
    But the way, maybe, you must update Mesa and X server from this repo: http://download.opensuse.org/repositories/X11:/XOrg/
    And update java to the latest 6.41 or 7.

  5. codeanticode commented on Jan 5, 2014

    @codeanticode
    Contributor

    @WorldsEndless did you try updating drivers/java version?

  6. codeanticode commented on Jan 23, 2014

    @codeanticode
    Contributor

    no updates, closing.

  7. github-actions commented on Jun 17, 2021

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  8. locked as resolved and limited conversation to collaborators on Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions