Closed GregoryOrciuch closed 12 years ago
What is the backtrace for it? Try installing virtualgl-libs-dbg and other relevant debugging packages and run optirun gdb vlc
I will try that later because it require installing extra 200-300 megs of debugging software (Fedora 16). However when i connect external display to HDMI (which is hardwired to Nvidia in Lenovo T420), then VLC displays fine (becuase not using VGL).
Btw. It's nice, because I've managed to run XFCE4 on this hdmi TV and use keyboard/mouse via synergy client. No sound right now, but my intention is to run VLC on TV via hdmi.
about debuginfo. When I run: optirun gdb vlc, then vlc behave like not using VGL (not crashing). running gdb optirun, then 'run vlc', gives the problem reproduceable, however it prints nothing. (I'm not gdb expert...) it's here: http://pastebin.com/rmX9XY7r . also running vlc -vv, gives nothing interesting, just some subprocess exists: [Inferior 1 (process 14539) exited with code 0213]
If you run gdb optirun
, you are debugging optirun, not vlc. You could try: optirun $SHELL
and then run gdb vlc
.
what I run right now is: $optirun terminal opens graphic terminal via optimus
then in this terminal I run: $vlc segfaults when trying to play video, but not trace because no gdb.
in same terminal I run: $gdb vlc "run" Is not segfaulting, playing video well, means not using VGL, looks like piss off the optirun there and use :0 as DISPLAY. For me looks like gdb bypasses the VGL stuff anyhow.
any idea?
The crash is in the nvidia driver, I don't know what may have caused it. Are there any entries in the kernel or Xorg log referring to this?
Nope, only syslog, message from process: [ 6195.609632] vlc[5345]: segfault at 10 ip 00007f558d0bac0f sp 00007f554424cb88 error 6 in libnvidia-tls.so.295.20[7f558d0ba000+3000]
Kernel is fine, Xorg is fine also.
I don't know, try up/downgrading the nvidia driver.
Do you still have this problem ?
I gave up. On Apr 30, 2012 6:19 PM, "Bruno Pagani" < reply@reply.github.com> wrote:
Do you still have this problem ?
Reply to this email directly or view it on GitHub:
https://github.com/Bumblebee-Project/Bumblebee/issues/100#issuecomment-5421026
Hi,
when running VLC without optirun it displays video fine, everything is ok. While running VLC with optirun it segfaults by it's own saying is syslog: vlc[5903]: segfault at 10 ip 00007f7639666c0f sp 00007f75f884eb88 error 6 in libnvidia-tls.so.295.20[7f7639666000+3000]
For bumblebeed the VLC just exists, nothing special in debug saying only: [DEBUG]Process with PID 6202 returned code 0
Driven by: Nvidia 295.20 on x64 laptop.
Any idea what I can check more? or it's just VLC's problem here, that cannot make it with VirtualGL ?
/Gregory