<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:54:13 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-1371] Minecraft crashes at startup on Linux when using a dual monitor setup</title>
                <link>https://bugs.mojang.com/browse/MC-1371</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;When starting Minecraft on Linux with an external monitor connected and the internal screen disabled (e.g. a docked notebook), the game crashes before showing anything using OpenGL. The login screen works fine.&lt;/p&gt;

&lt;p&gt;The stack trace is:&lt;br/&gt;
me@mymachine ~/Downloads % java -jar minecraft.jar&lt;br/&gt;
xxx achievements&lt;br/&gt;
xxx recipes&lt;br/&gt;
Setting user: xxx, -4994602101999570082&lt;br/&gt;
Exception in thread &quot;Minecraft main thread&quot; java.lang.ExceptionInInitializerErro&lt;br/&gt;
r&lt;br/&gt;
        at net.minecraft.client.Minecraft.a(SourceFile:205)&lt;br/&gt;
        at net.minecraft.client.Minecraft.run(SourceFile:515)&lt;br/&gt;
        at java.lang.Thread.run(Thread.java:722)&lt;br/&gt;
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0&lt;br/&gt;
        at org.lwjgl.opengl.XRandR$Screen.&amp;lt;init&amp;gt;(XRandR.java:234)&lt;br/&gt;
        at org.lwjgl.opengl.XRandR$Screen.&amp;lt;init&amp;gt;(XRandR.java:196)&lt;br/&gt;
        at org.lwjgl.opengl.XRandR.populate(XRandR.java:87)&lt;br/&gt;
        at org.lwjgl.opengl.XRandR.access$100(XRandR.java:52)&lt;br/&gt;
        at org.lwjgl.opengl.XRandR$1.run(XRandR.java:110)&lt;br/&gt;
        at java.security.AccessController.doPrivileged(Native Method)&lt;br/&gt;
        at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:108)&lt;br/&gt;
        at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)&lt;br/&gt;
        at org.lwjgl.opengl.Display.&amp;lt;clinit&amp;gt;(Display.java:135)&lt;br/&gt;
        ... 3 more&lt;br/&gt;
java -jar minecraft.jar  11,77s user 0,41s system 123% cpu 9,902 total&lt;/p&gt;

&lt;p&gt;I&apos;m pretty sure that the problem is the version of lwjgl shipped with Minecraft, as it doesn&apos;t happen when manually copying an updated jar and native binary to the .minecraft directory with the exact same setup.&lt;/p&gt;

&lt;p&gt;So I guess updating lwjgl (at least for Linux) should be enough to fix this.&lt;/p&gt;</description>
                <environment>Ubuntu Linux 12.10 (Kernel 3.5.0)</environment>
        <key id="12698">MC-1371</key>
            <summary>Minecraft crashes at startup on Linux when using a dual monitor setup</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="7">Invalid</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="lxgr">Lukas R</reporter>
                        <labels>
                    </labels>
                <created>Tue, 30 Oct 2012 21:13:53 +0100</created>
                <updated>Fri, 17 May 2013 07:41:33 +0200</updated>
                            <resolved>Tue, 19 Feb 2013 21:33:35 +0100</resolved>
                                    <version>Minecraft 1.4.2</version>
                    <version>Minecraft 1.4.6</version>
                                                                        <votes>1</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="66955" author="sparlusen" created="Fri, 17 May 2013 07:41:33 +0200"  >&lt;p&gt;Manually updating LWJGL solved the issue for me too.&lt;/p&gt;</comment>
                            <comment id="66952" author="sparlusen" created="Fri, 17 May 2013 07:34:08 +0200"  >&lt;p&gt;I also have this issue.&lt;/p&gt;</comment>
                            <comment id="59367" author="sandalle" created="Mon, 8 Apr 2013 01:09:20 +0200"  >&lt;p&gt;&lt;a href=&quot;http://www.minecraftforum.net/topic/53709-solved-black-screen-after-login-ubuntu-1010/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.minecraftforum.net/topic/53709-solved-black-screen-after-login-ubuntu-1010/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That&apos;s from 2010, and still no updated LWGL? Minecraft 1.5.1 (vanilla) and I still have this issue. Updating to LWGL 2.8.5 (from November 2012) fixed this issue for me.&lt;/p&gt;</comment>
                            <comment id="46614" author="bljat" created="Tue, 19 Feb 2013 21:33:35 +0100"  >&lt;p&gt;Yes Mojang is well aware of the fact that they are using an old LWJGL version and will update as soon as possible, until then please update LWJGL manually.&lt;/p&gt;</comment>
                            <comment id="29362" author="otee22" created="Tue, 18 Dec 2012 22:05:19 +0100"  >&lt;p&gt;When they rewrite the rendering engine (&lt;a href=&quot;http://www.minecraftwiki.net/wiki/Redstone_Update#Rendering_engine_rewrite&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.minecraftwiki.net/wiki/Redstone_Update#Rendering_engine_rewrite&lt;/a&gt;) they should consider updating to a more recent version of LWJGL that fixes this.&lt;/p&gt;</comment>
                            <comment id="29342" author="ryanlerch" created="Tue, 18 Dec 2012 20:13:24 +0100"  >&lt;p&gt;Just downloaded a fresh minecraft.jar, deleted &quot;~/.minecraft&quot; and ran minecraft again, and still getting the issue.&lt;/p&gt;

&lt;p&gt;regards,&lt;br/&gt;
ryanlerch &lt;/p&gt;</comment>
                            <comment id="29333" author="otee22" created="Tue, 18 Dec 2012 18:20:53 +0100"  >&lt;p&gt;I can confirm this on Debian wheezy for 1.4.6-pre.&lt;br/&gt;
In my case the problem occurs when changing from a dual monitor configuration to single monitor via XRandR and pressing the login button after that.&lt;br/&gt;
The problem does not occur when the original screen configuration is maintained until LWJGL has loaded, after that you can safely disable the second monitor.&lt;br/&gt;
I use a bash script that deactivates the second monitor after LWJGL has loaded as a workaround but it should probably be fixed in the LWJGL version downloaded by Minecraft.&lt;/p&gt;</comment>
                            <comment id="26517" author="bljat" created="Tue, 4 Dec 2012 04:05:52 +0100"  >&lt;p&gt;Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="24580" author="knome" created="Sat, 24 Nov 2012 16:55:45 +0100"  >&lt;p&gt;I also started experiencing this error. Ryan Lerch&apos;s linked to fix of updating lwjgl worked for me as well&lt;/p&gt;</comment>
                            <comment id="23922" author="ryanlerch" created="Wed, 21 Nov 2012 20:36:01 +0100"  >&lt;p&gt;I can confirm that i also encounter this issue on Fedora 17 and Fedora 18. &lt;/p&gt;

&lt;p&gt;following the following directions from comment #8 here fixed the issue for me:&lt;br/&gt;
&lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?pid=876274#p876274&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bbs.archlinux.org/viewtopic.php?pid=876274#p876274&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Although i updated lwjgl to the most recent stable release, (lwjgl-2.8.5), following these directions updated it and now works when more than one monitor is connected on Linux.&lt;/p&gt;

&lt;p&gt;Is there any way to get lwjgl updated in the minecraft launcher?&lt;/p&gt;
</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0mppb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>