Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Minecraft issues with Java/OpenGL/ATI

  1. #1
    Join Date
    May 2012
    Beans
    6

    Minecraft issues with Java/OpenGL/ATI

    Hi guys,

    So i recently moved to Ubuntu 12.04 and its really great however ive been having some problems with some games on Ubuntu, in this case it was minecraft, now originally it wasnt working due to java not working properly, then i followed the installer found here to get java working:

    http://ubuntuforums.org/showthread.php?t=1726735

    After this, minecraft was loading fine and i could successfully get into singleplayer and multiplayer games, however all of my textures were mucked up, like my arms were not there and my player skin was a culmination of block skins and stuff like that. I then deleted the .minecraft folder and re-downloaded the game and it worked perfectly.

    I started to notice that i would get FPS lag in the game where usually when i was on windows i was fine. So i looked into my gfx card drivers, and they are ****** up. So i uninstalled all of the proprietary drivers and tried running minecraft without the propreitary drivers installed and now once i login, i hit a black screen and eventually a minecraft crash which gives me these errors:

    Code:
          Minecraft has crashed!      
          ----------------------      
    
    Minecraft has stopped running because it encountered a problem.
    
    
    
    
    --- BEGIN ERROR REPORT 7cf3a456 --------
    Generated 5/8/12 11:41 PM
    
    Minecraft: Minecraft 1.2.5
    OS: Linux (amd64) version 3.2.0-24-generic
    Java: 1.6.0_32, Sun Microsystems Inc.
    VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    [failed to get system properties (java.lang.NullPointerException)]
    
    org.lwjgl.LWJGLException: X Error - disp: 0x7fbf980465b0 serial: 31 error: BadRequest (invalid request code or no such operation) request_code: 154 minor_code: 14
        at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:268)
        at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
        at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:52)
        at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:684)
        at org.lwjgl.opengl.Display.create(Display.java:854)
        at org.lwjgl.opengl.Display.create(Display.java:784)
        at org.lwjgl.opengl.Display.create(Display.java:765)
        at net.minecraft.client.Minecraft.a(SourceFile:236)
        at net.minecraft.client.Minecraft.run(SourceFile:657)
        at java.lang.Thread.run(Thread.java:662)
    --- END ERROR REPORT 29d68679 ----------
    i tried reinstalling the proprietary drivers both from the AMD site and through the "Additional Drivers" manager but still no luck.

    lspci | grep VGA gives me this:

    Code:
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
    01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Broadway [ATI Mobility Radeon HD 6800 Series]
    dmesg | grep ATI gives me this:

    Code:
    [    3.721176] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
    glxinfo gives me this:

    Code:
    name of display: :0
    X Error of failed request:  BadRequest (invalid request code or no such operation)
      Major opcode of failed request:  154 (GLX)
      Minor opcode of failed request:  19 (X_GLXQueryServerString)
      Serial number of failed request:  12
      Current serial number in output stream:  12
    Any help would be much appreciated.

    Thanks,
    Adz0rd

  2. #2
    Join Date
    Dec 2006
    Location
    puyallup WA
    Beans
    286
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Minecraft issues with Java/OpenGL/ATI

    It looks like you have an ATI dual-GPU ati/intel hybrid video adapter found on notebooks and laptops.

    If as of Catalyst 11.4 there is support for dual-GPU notebooks
    http://phoronix.com/forums/showthrea...ks-Under-Linux

    You may need a newer ATI property driver but first try this.

    $ fglrxinfo

    returns nothing, make sure you have this installed

    $ sudo apt-get update
    $ sudo apt-get upgrade
    $ sudo apt-get install fglrx
    $ sudo apt-get install fglrx-updates

    As for the lag if you have 1Gig or less on your motherboard Minecraft may be using swap memory. In other words your system is trying to use your hard drive to store ram memory that should be stored on the mother boards system ram. For gaming this is very slow. Start Minecraft like this if its an issue.

    $ java -Xmx256M -Xms256M -cp minecraft.jar net.minecraft.LauncherFrame

    This assumes minecraft.jar is in your home folder.

    Update one more thing. Some people have complained about Ubuntu’s 3D desktop effects interfering with Minecraft. If Lag and strange graphic problems persist you could try using Ubuntu 2D by logging out out of your desktop session and selecting Ubuntu 2D then log back in.
    Last edited by regor210; May 8th, 2012 at 09:07 PM.

  3. #3
    Join Date
    May 2012
    Beans
    6

    Re: Minecraft issues with Java/OpenGL/ATI

    Hi,

    I ran all the commands you wrote with the exception of adding the java parameters to the execution of minecraft since i have 8GB of RAM, when running the game i am still met with this error:

    Code:
          Minecraft has crashed!      
          ----------------------      
    
    Minecraft has stopped running because it encountered a problem.
    
    
    
    
    --- BEGIN ERROR REPORT 7cf3a456 --------
    Generated 5/9/12 8:47 AM
    
    Minecraft: Minecraft 1.2.5
    OS: Linux (amd64) version 3.2.0-24-generic
    Java: 1.6.0_32, Sun Microsystems Inc.
    VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
    LWJGL: 2.4.2
    [failed to get system properties (java.lang.NullPointerException)]
    
    org.lwjgl.LWJGLException: X Error - disp: 0x7f4ec402b580 serial: 31 error: BadRequest (invalid request code or no such operation) request_code: 154 minor_code: 14
        at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:268)
        at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
        at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:52)
        at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:684)
        at org.lwjgl.opengl.Display.create(Display.java:854)
        at org.lwjgl.opengl.Display.create(Display.java:784)
        at org.lwjgl.opengl.Display.create(Display.java:765)
        at net.minecraft.client.Minecraft.a(SourceFile:236)
        at net.minecraft.client.Minecraft.run(SourceFile:657)
        at java.lang.Thread.run(Thread.java:662)
    --- END ERROR REPORT bb10d65a ----------
    glxinfo is still returning this:

    Code:
    name of display: :0
    X Error of failed request:  BadRequest (invalid request code or no such operation)
      Major opcode of failed request:  154 (GLX)
      Minor opcode of failed request:  19 (X_GLXQueryServerString)
      Serial number of failed request:  12
      Current serial number in output stream:  12

  4. #4
    Join Date
    Dec 2006
    Location
    puyallup WA
    Beans
    286
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Minecraft issues with Java/OpenGL/ATI

    You can find instructions on how to install the most up to date property ATI drivers here

    https://help.ubuntu.com/community/BinaryDriverHowto/ATI

    If for what ever reason they still will not work you could try going into your BIOS and turning off the Intel side of your graphic adapter. This would have the down side of a sorter run time on a charge but it should play games well.

  5. #5
    Join Date
    May 2012
    Beans
    6

    Re: Minecraft issues with Java/OpenGL/ATI

    Already followed these instructions as well as the instructions on the AMD unofficial ubuntu wiki, im still having these problems.

    I have an Alienware M17xR3 and in my BIOS it doesnt give me the option to turn off the intel graphics adapter.

  6. #6
    Join Date
    Dec 2006
    Location
    puyallup WA
    Beans
    286
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Minecraft issues with Java/OpenGL/ATI

    1st I would like to say you have a nice laptop with grate hardware.

    look at this thread

    http://ati.cchtml.com/show_bug.cgi?id=276

    PowerXpress refers to a laptop with the ability to switch graphics from a power consuming gaming machine to a power conserving net surfer.

    see Comment 11, then Comment 21

    “This switching feature was working pretty well from 11.6 to 11.8 so I didn'tunderstand (now I'm using 11.8 version on ubuntu 10.04 without major problem).As this works before, it's not an impossible task

    It looks like the latest ATI driver will not work with your hardware. Maybe you should try 11.8 as it seemed to have worked.

    Catalyst 11.8

    $ wget http://www2.ati.com/drivers/linux/at...x86.x86_64.run

    Just to note.
    Ubuntu 12.04 comes with Catalyst 12.4.

    Ubuntu 11.10 came with 11.10.

    Ubuntu 11.04 came with 11.4.

    Ubuntu 10.10 came with 10.10.

    Ubuntu 10.04 came with 10.4.
    Last edited by regor210; May 9th, 2012 at 06:13 AM.

  7. #7
    Join Date
    May 2012
    Beans
    6

    Re: Minecraft issues with Java/OpenGL/ATI

    Thank you very much for the comment on my hardware , it cost me quite a pretty penny so as you can imagine, im kind of annoyed that its not working, i just removed the fglrx drivers and im now downloading the 11.8 version of catalyst, ill install and tell you how it goes

    EDIT: after installing Catalyst 11.8, unity doesnt load when i login, ive tried both "Unity" and "Unity 2D" but neither work. Anymore suggestions?
    EDIT 2: to get unity to work again, i had to reinstall fglrx.
    Last edited by Adz0rd; May 9th, 2012 at 07:31 AM.

  8. #8
    Join Date
    Dec 2006
    Location
    puyallup WA
    Beans
    286
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Minecraft issues with Java/OpenGL/ATI

    lots of information about your hardware can be found here

    http://wiki.cchtml.com/index.php/Ubu...allation_Guide



    Hybrid Graphics and Catalyst
    ATI/ATI Hybrids

    As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though I don't know if that applies to all ATI/ATI hybrids or only the muxless ones. One would use aticonfig's PowerXpress options to switch back and forth between the integrated and discrete cards, like so:

    I’m not sure if logging out restarts X in Unity maybe its best to restart your laptop the 1st time you try it.

    $ aticonfig --pxl # List current activated GPU
    $ sudo aticonfig --px-dgpu # Activate discrete GPU (High-Performance mode), must re-start X to take effect
    $ sudo aticonfig --px-igpu # Activate integrated GPU (Power-Saving mode), must re-start X to take effect
    Last edited by regor210; May 9th, 2012 at 02:59 PM.

  9. #9
    Join Date
    May 2012
    Beans
    6

    Re: Minecraft issues with Java/OpenGL/ATI

    I cant even use the ati catalyst 11.8 without unity not working

  10. #10
    Join Date
    Dec 2006
    Location
    puyallup WA
    Beans
    286
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Minecraft issues with Java/OpenGL/ATI

    http://askubuntu.com/questions/12856...control-center

    "and it have not been working between catalysts 11.8(or 11.6?) and 12.1. However it works nowadays.”


    Install then use the Ubuntu 12.04 property drivers (jockey). This is catalyst 12.4. 12.4 is grater than 12.1 so it should work.

    then use

    $ sudo aticonfig --px-dgpu # Activate discrete GPU (High-Performance mode), must re-start X to take effect

    Then restart your laptop.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •