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

[Linux] [Dev-Version] Couldn't set pixel format #1355

Closed
mkg20001 opened this issue Dec 16, 2015 · 13 comments · Fixed by #1359
Closed

[Linux] [Dev-Version] Couldn't set pixel format #1355

mkg20001 opened this issue Dec 16, 2015 · 13 comments · Fixed by #1359
Labels

Comments

@mkg20001
Copy link

My Minecraft crashes:
org.lwjgl.LWJGLException: X Error - disp: 0x7f9cf880f1a0 serial: 143 error: GLXBadContext request_code: 155 minor_code: 4

http://paste.ee/p/cwT65

Is there a fix?

@wlhlm
Copy link

wlhlm commented Dec 16, 2015

libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

It looks like you're missing an accelerated graphics driver.

Here's an MC bugreport.

What GPU do you have?

@mkg20001
Copy link
Author

the problem - it worked in a previously installed MultiMC dev version

@mkg20001
Copy link
Author

Graphics: Card: Advanced Micro Devices [AMD/ATI] Broadway PRO [Mobility Radeon HD 5850]
Display Server: X.Org 1.17.2 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1600x900@59.98hz
GLX Renderer: Gallium 0.4 on AMD JUNIPER (DRM 2.43.0, LLVM 3.6.2) GLX Version: 3.0 Mesa 11.0.2

@peterix
Copy link
Member

peterix commented Dec 16, 2015

How do you run MultiMC?

@mkg20001
Copy link
Author

by desktop shortcut - on ubuntu - with the ubuntu debian package

@peterix
Copy link
Member

peterix commented Dec 16, 2015

Right. Run 'env' in a terminal and post what that prints out.

Then add 'env' as a pre-launch command in MultiMC and see what that prints.

@mkg20001
Copy link
Author

XDG_VTNR=7
XDG_SESSION_ID=c2
CLUTTER_IM_MODULE=xim
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/maciej
COMP_WORDBREAKS=    
"'><;|&(:
GPG_AGENT_INFO=/tmp/gpg-iBsFIj/S.gpg-agent:7952:1
TERM=xterm-256color
SHELL=/bin/bash
VTE_VERSION=4002
WINDOWID=62914570
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/7615
GNOME_KEYRING_CONTROL=
GTK_MODULES=unity-gtk-module
USER=maciej
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
DESKTOP_SESSION=ubuntu
QT_IM_MODULE=ibus
QT_QPA_PLATFORMTHEME=appmenu-qt5
XDG_SESSION_TYPE=x11
JOB=gnome-session
PWD=/home/maciej
XMODIFIERS=@im=ibus
GNOME_KEYRING_PID=
LANG=de_DE.UTF-8
GDM_LANG=de_DE
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript
IM_CONFIG_PHASE=1
COMPIZ_CONFIG_PROFILE=ubuntu
GDMSESSION=ubuntu
SESSIONTYPE=gnome-session
GTK2_MODULES=overlay-scrollbar
HOME=/home/maciej
XDG_SEAT=seat0
SHLVL=1
LANGUAGE=de_DE
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
UPSTART_INSTANCE=
UPSTART_EVENTS=started starting
XDG_SESSION_DESKTOP=ubuntu
LOGNAME=maciej
QT4_IM_MODULE=xim
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-t3ZhMGGqch
LESSOPEN=| /usr/bin/lesspipe %s
INSTANCE=Unity
UPSTART_JOB=unity-settings-daemon
XDG_RUNTIME_DIR=/run/user/1000
DISPLAY=:0
XDG_CURRENT_DESKTOP=Unity
GTK_IM_MODULE=ibus
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/home/maciej/.Xauthority
_=/usr/bin/env

@mkg20001
Copy link
Author

it seems to work with

env /opt/multimc/run.sh

@peterix
Copy link
Member

peterix commented Dec 16, 2015

hmm... so what is the output of using env as a pre-launch command?

@peterix
Copy link
Member

peterix commented Dec 17, 2015

<peterix> I guess I'll get to it and other such issues over the next two weeks.
<peterix> but if you can test, try to find out what library paths is that java process ran with...
<peterix> it really shouldn't be doing that
<peterix> it's supposed to be isolated from the mmc stuff
<Soni> LD_LIBRARY_PATH as seen by wrapper command :/home/soniex2/.local/share/Steam/ubuntu12_32:/home/soniex2/.local/share/Steam/ubuntu12_64:/home/soniex2/MultiMC/:/home/soniex2/MultiMC//bin
<Soni> hmm... wrapper command...

Confirmed. Somehow, the LD_LIBRARY_PATH required for MultiMC is getting propagated to MC, again.

@peterix
Copy link
Member

peterix commented Dec 17, 2015

The above was because running MultiMC from Steam in a specific way added some extra LD_LIBRARY_PATH entries.

So, your problem must have been something else.

@SoniEx2

This comment was marked as spam.

@peterix
Copy link
Member

peterix commented Dec 17, 2015

Yeah. Except if that happens, it's the DE being buggy. It has no business of setting LD_LIBRARY_PATH.

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

Successfully merging a pull request may close this issue.

4 participants