Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaFX / graphics card error when running ./launchUI.sh on Linux #72

Closed
neomatrix369 opened this issue May 18, 2014 · 3 comments
Closed

Comments

@neomatrix369
Copy link
Member

When I run

mvn clean compile test exec:java

I get the below error:

.
.
.
[log messages]
.
.
.
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  136 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  12
  Current serial number in output stream:  12

Is this a known issue ? I also get it after running the below as well:

./launchUI.sh

but the below works fine:

./launchHeadless.sh hotspot.log

Is it specific to my OS?

@neomatrix369
Copy link
Member Author

Here's system specs:

_OS info_

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"
NAME="Ubuntu"
VERSION="12.04.4 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.4 LTS)"
VERSION_ID="12.04"

_Java_

java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

_GFX_

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
    Subsystem: Hewlett-Packard Company Device 146a
    Flags: bus master, fast devsel, latency 0, IRQ 43
    Memory at b0000000 (64-bit, non-prefetchable) [size=4M]
    Memory at a0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 3050 [size=8]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 2
    Capabilities: [a4] PCI Advanced Features
    Kernel driver in use: i915
    Kernel modules: i915

    description: VGA compatible controller
    product: Core Processor Integrated Graphics Controller
    vendor: Intel Corporation
    physical id: 2
    bus info: pci@0000:00:02.0
    version: 02
    width: 64 bits
    clock: 33MHz
    capabilities: msi pm vga_controller bus_master cap_list rom
    configuration: driver=i915 latency=0
    resources: irq:43 memory:b0000000-b03fffff memory:a0000000-afffffff ioport:3050(size=8)

@neomatrix369
Copy link
Member Author

Comments from @chriswhocodes:
Hi Mani,
I can't recreate this on OSX Mavericks Java 8 or Debian Linux Java 7 or Java 8.
It looks like a problem with JavaFX caused by your graphics drivers?
What OS / Java / GFX drivers are you using?

Hmm, Do you get the same problem with Java 8 or running any other JFX apps (Ensemble etc?) If you email me the full stack trace / hs_pid / log then I'll dig around. Thanks.

@neomatrix369
Copy link
Member Author

This is a typical Ubuntu issue, I have found some resources to tackle it and hence not a JitWatch issue, happily closing it here :) , but still have to fix it locally :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant