MrMEEE / bumblebee-Old-and-abbandoned

OUTDATED!!!!! - Replaced by "The Bumblebee Project" and "Ironhide"
http://www.martin-juhl.dk/2011/08/ironhide-reporting-for-duty/
469 stars 50 forks source link

Asus 1215N - "extension GLX missing" error #44

Closed konradk closed 13 years ago

konradk commented 13 years ago

I've installed bumblebee-36c195f I've tried launch 'optirun /usr/bin/glxgears':

Xlib: extension "GLX" missing on display ":1". [VGL] WARNING: VirtualGL attempted and failed to obtain a Pbuffer-enabled [VGL] 24-bit visual on the 3D X server :1. If the application [VGL] subsequently fails, then make sure that the 3D X server is configured [VGL] for 24-bit color and has accelerated 3D drivers installed. Error: couldn't get an RGB, Double-buffered visual

Bugreport sent.

ghost commented 13 years ago

I have the same exact Issue dardan@ubuntu:~/Bureau/MrMEEE-bumblebee-1fe71b9$ optirun glxgears [VGL] WARNING: VirtualGL attempted and failed to obtain a Pbuffer-enabled [VGL] 24-bit visual on the 3D X server :1. If the application [VGL] subsequently fails, then make sure that the 3D X server is configured [VGL] for 24-bit color and has accelerated 3D drivers installed. Error: couldn't get an RGB, Double-buffered visual

emjotec commented 13 years ago

exactly the same one :/

$ optirun glxgears [VGL] WARNING: VirtualGL attempted and failed to obtain a Pbuffer-enabled [VGL] 24-bit visual on the 3D X server :1. If the application [VGL] subsequently fails, then make sure that the 3D X server is configured [VGL] for 24-bit color and has accelerated 3D drivers installed. Error: couldn't get an RGB, Double-buffered visual

ghost commented 13 years ago

Whats ur pc and ur nvidia card

emjotec commented 13 years ago

Asus 1215N nvidia geforce gt218 hmm... that's asus1215n issue thread ;)

ghost commented 13 years ago

yes but even i havent asus i think its optimus my pc its an acer 5742g nvidia geforce ggt 420m

MrMEEE commented 13 years ago

I think this is fixed in newest version.. please try and report back

konradk commented 13 years ago

Unfortunately - the same error :(

konradk commented 13 years ago

Not the same. Now it is: [VGL] ERROR: Could not open display :1.

I'll send bugreport in minute.

konradk commented 13 years ago

ok, I am KDE user, i typed in konsole "optirun /usr/bin/glxgears" and I had error as above. Now I used alt+f2, and in this launcher i typed "optirun /usr/bin/glxgears". Now it works, but resolution is broken, display is multipled few times, and after exiting there is black screen - I had to restart Xserver. The same problem in other applications. I sent you bugreport.

MrMEEE commented 13 years ago

Ok... can I get you to try with newest version 1.3.14...

konradk commented 13 years ago

Unfortunately :( When I run glxgears, I have this: http://wstaw.org/w/uTb/ (my screen's photo, bad quality). This is the same situation as above...

MrMEEE commented 13 years ago

Just to get it right: Your screen is multiplied from login, or first when you run the optirun command???

konradk commented 13 years ago

From first when I run the optirun command. After launching "optirun glxgears" or any other app by optirun Xorg is unusable - black screen with some "artifacts"/noise.

komarEX commented 13 years ago

same for me (as konradk)

matthew85 commented 13 years ago

sounds like the wrong screen is addressed. For me i could reproduce this only when I started with: optirun -d :0 glxgears instead of -d :1 which is the default.

konradk commented 13 years ago

Ok, I typed "optirun -d :0 glxgears" and now I am able to launch glxgears also from console. But it still looks like this: http://wstaw.org/w/uTb/ and forces me to kill Xorg.

MrMEEE commented 13 years ago

Which version of ubuntu are you running??+

MrMEEE commented 13 years ago

have you tried v. 1.3.14...

If you have, please resend a bugreport...

ghost commented 13 years ago

Mrmee same here i sended u a bug report exept my pc its an acer as while as i can see we have the exact same problems

MrMEEE commented 13 years ago

please try newest...

or just run

rm /usr/lib/nvidia-current/xorg/xorg

and

/etc/init.d/bumblebee stop /etc/init.d/bumblebee start

ghost commented 13 years ago

dardan@ubuntu:~/Bureau/MrMEEE-bumblebee-c06ef41/install-files$ rm /usr/lib/nvidia-current/xorg/xorg rm: cannot remove `/usr/lib/nvidia-current/xorg/xorg': No such file or directory tryed the new one the same as before should i make another bug report

MrMEEE commented 13 years ago

yes.. but can you please try to reboot before you do it...

konradk commented 13 years ago

Still the same problem. Bugreport sent. My OS: Kubuntu 11.04.

ghost commented 13 years ago

i did the reboot same thing after rebooting

MrMEEE commented 13 years ago

Could you guys please try to run:

DISPLAY=:1 glxgears

and send me the output...

MrMEEE commented 13 years ago

please also do a cat /usr/local/optimusXserver

ghost commented 13 years ago

DISPLAY=:1 glxgears Error: couldn't get an RGB, Double-buffered visual and dardan@ubuntu:/usr/local$ cat /usr/local/optimusXserve cat: /usr/local/optimusXserve: No such file or directory

MrMEEE commented 13 years ago

you are missing a "r" try "cat /usr/local/optimusXserver"..

ghost commented 13 years ago

DISPLAY=:0 glxgears that prints me like i did glxgears alone

ghost commented 13 years ago

dardan@ubuntu:/usr/local$ ls bin etc games include lib man sbin share src but no optimusXserver it doesent exists

MrMEEE commented 13 years ago

you are missing a "r" try "cat /usr/local/optimusXserver"..

konradk commented 13 years ago

Did you mean /usr/local/bin/optimusXserver ?

konradk@konradk-eeepc:~$ cat /usr/local/bin/optimusXserver

!/bin/bash

LD_LIBRARY_PATH=/usr/lib/nvidia-current /usr/bin/X $@konradk@konradk-eeepc:~$

konradk@konradk-eeepc:~$ DISPLAY=:1 glxgears Error: couldn't open display :1

but I tried also konradk@konradk-eeepc:~$ DISPLAY=:0 glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. 284 frames in 5.0 seconds = 56.641 FPS XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 918 requests (918 known processed) with 0 events remaining.

MrMEEE commented 13 years ago

sry guys... meant /usr/local/bin/optimusXserver...

konraddk: please run /etc/init.d/bumblebee start

and send me /var/log/Xorg.1.log

konradk commented 13 years ago

konradk@konradk-eeepc:~$ /etc/init.d/bumblebee start Bumblebee X Server is already running.

My log: http://wklej.org/id/530227/

Please note lines 156-166 :)

MrMEEE commented 13 years ago

try to replace

Options IgnoreEDID

to

Options IgnoreEDID "true"

in /etc/X11/xorg.conf.nvidia

then try to run /etc/init.d/bumblebee stop /etc/init.d/bumblebee start

and post /var/log/Xorg.1.log

konradk commented 13 years ago

I changed Option "IgnoreEDID" to Option "IgnoreEDID" "true"

konradk@konradk-eeepc:~$ /etc/init.d/bumblebee stop Stopping bumblebee X server: kill: 52: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or kill -l [exitstatus] konradk@konradk-eeepc:~$ /etc/init.d/bumblebee start Bumblebee X Server is already running.

I don't think that this restart was correct, so I did reboot.

My log: http://wklej.org/id/530246/

MrMEEE commented 13 years ago

ok..

please try:

ps axu |grep X

and

DISPLAY=:1 glxgears

konradk commented 13 years ago

konradk@konradk-eeepc:~$ ps axu |grep X root 776 4.8 0.9 31476 19824 tty7 Ss+ 12:27 2:11 /usr/bin/X :0 vt7 -nr -nolisten tcp -auth /var/run/xauth/A:0-hSfjcb root 806 0.0 0.0 3016 1288 ? S 12:27 0:00 /bin/bash /usr/local/bin/optimusXserver -ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules -nolisten tcp -noreset :1 vt9 root 812 0.0 1.6 48368 34632 tty9 Ss+ 12:27 0:00 /usr/bin/X -ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules -nolisten tcp -noreset :1 vt9 konradk 1627 1.9 1.9 49528 40520 ? SNl 12:28 0:53 /usr/bin/virtuoso-t +foreground +configfile /tmp/virtuoso_hX1619.ini +wait konradk 4441 0.0 0.0 5320 860 pts/0 S+ 13:12 0:00 grep --color=auto X

konradk@konradk-eeepc:~$ DISPLAY=:1 glxgears Error: couldn't get an RGB, Double-buffered visual konradk@konradk-eeepc:~$

ghost commented 13 years ago

dardan@ubuntu:/usr/local/bin$ cat optimusXserver

!/bin/bash

LD_LIBRARY_PATH=/usr/lib/nvidia-current /usr/bin/X $@dardan@ubuntu:/usr/local/bin$

dardan@ubuntu:/usr/local/bin$ DISPLAY=:1 glxgears Error: couldn't get an RGB, Double-buffered visual

cat /var/log/Xorg.1.log CODE HERE http://wklej.org/id/530289/

dardan@ubuntu:/usr/local/bin$ ps axu |grep X root 870 0.0 0.0 3016 1280 ? S 13:21 0:00 /bin/bash /usr/local/bin/optimusXserver -ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules -nolisten tcp -noreset :1 vt9 root 875 0.1 1.4 48304 34752 tty9 Ss+ 13:21 0:00 /usr/bin/X -ac -config /etc/X11/xorg.conf.nvidia -sharevts -modulepath /usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules -nolisten tcp -noreset :1 vt9 root 1145 6.1 0.8 51764 20164 tty7 Ss+ 13:21 0:46 /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-iyxSKc/database -nolisten tcp vt7 dardan 1985 0.0 0.0 4156 852 pts/0 S+ 13:34 0:00 grep --color=auto X

MrMEEE commented 13 years ago

ok... try with newest version.. I really think this is fixed now..

konradk commented 13 years ago

Can you give me address where I can sand you some beer? It works!

Glxgears with optirun and without: http://wstaw.org/w/uVv/

Trine - game that doesn't work on intel, but it work on nvidia: http://wstaw.org/w/uVu/

Seriously, send me on my email address, where I can sand you beer :)

konradk commented 13 years ago

WebGL examples works also by "optirun chromium-browser" :) http://www.ibiblio.org/e-notes/webgl/webgl.htm

MrMEEE commented 13 years ago

I'm really glad to hear that we found the problem...

If you really wan't send be a beer or red bull, it can be done here:

https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mj%40casalogic%2edk&lc=US&item_name=The%20Bumblebee%20Project%20by%20Martin%20Juhl&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted

konradk commented 13 years ago

Ok, I will send somethink next week :) Big thank you.

ghost commented 13 years ago

GREAT JOB MARTIN IT WORKS AND ARRIVED AT 2055 frames in 5.0 seconds = 410.865 FPS

MY PC IS ACER ASPIRE 5742G WITH NVIDIA OPTIMUS GEFORCE GT 420M AND BY THE WAY DO U HAVE ANY OTHER PROJECTS WHERE I COULD BE A TESTER AS WELL

ghost commented 13 years ago

dardan@ubuntu:~/Desktop/MrMEEE-bumblebee-0f12427/install-files$ optirun firefox

Warning: Fake start-stop-daemon called, doing nothing.