← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: did I do this right?

 

Before trying to make any changes, just run the program with optirun.

Then make a bash script (for example: vlc-nvidia) like this:

optirun /usr/bin/vlc $@

it should run like the normal vlc. The rename of a file under /usr/bin/.
most likely will break something.
-- 
Joaquín Ignacio Aramendía <samsagax@xxxxxxxxx>

El vie, 10-06-2011 a las 00:10 +0300, turgut kalfaoğlu escribió:
> I wanted to run the vlc player with Nvidia, so I renamed  /usr/bin/vlc  
> as  /usr/bin/vlc-real
> and created a new /usr/bin/vlc  that consisted of
> optirun64 /usr/bin/vlc-real  $1 $2 $3
> however upon trying it, I get a crash:
> 
> [turgut@tknetbook motosiklet]$ vlc Quick_Blast.mpg
> VLC media player 1.1.9 The Luggage (revision exported)
> Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
> Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
> [0x1acdf90] main libvlc: Running vlc with the default interface. Use 
> 'cvlc' to use vlc without interface.
> Blocked: call to setlocale(6, "")
> Warning: call to srand(1307769140)
> Warning: call to rand()
> Blocked: call to setlocale(6, "")
> 
> (process:3074): Gtk-WARNING **: Locale not supported by C library.
>      Using the fallback 'C' locale.
> *** glibc detected *** vlc-hakiki: corrupted double-linked list: 
> 0x0000000001c32020 ***
> ======= Backtrace: =========
> /lib64/libc.so.6[0x33e1276fea]
> /lib64/libc.so.6[0x33e1279a77]
> /lib64/libc.so.6(realloc+0xe6)[0x33e127b1f6]
> /usr/lib64/nvidia-current/libGL.so.1(+0x9c461)[0x7f9faa079461]
> ======= Memory map: ========
> 00400000-00403000 r-xp 00000000 08:05 18887240                           
> /usr/bin/vlc-hakiki
> 00602000-00603000 rw-p 00002000 08:05 18887240                           
> /usr/bin/vlc-hakiki
> 01ac2000-01df6000 rw-p 00000000 00:00 0                                  
> [heap]
> 33e0e00000-33e0e0e000 r-xp 00000000 08:05 11534771                       
> /lib64/ld-2.14.so
> 33e0e0e000-33e0e0f000 --xp 0000e000 08:05 11534771                       
> /lib64/ld-2.14.so
> 33e0e0f000-33e0e1f000 r-xp 0000f000 08:05 11534771                       
> /lib64/ld-2.14.so
> 33e101e000-33e101f000 r--p 0001e000 08:05 11534771                       
> /lib64/ld-2.14.so
> 33e101f000-33e1020000 rw-p 0001f000 08:05 11534771                       
> /lib64/ld-2.14.so
> 33e1020000-33e1021000 rw-p 00000000 00:00 0
> 33e1200000-33e138f000 r-xp 00000000 08:05 11534772                       
> /lib64/libc-2.14.so
> 33e138f000-33e158e000 ---p 0018f000 08:05 11534772                       
> /lib64/libc-2.14.so
> 33e158e000-33e1592000 r--p 0018e000 08:05 11534772                       
> /lib64/libc-2.14.so
> 33e1592000-33e1593000 rw-p 00192000 08:05 11534772                       
> /lib64/libc-2.14.so
> 33e1593000-33e1599000 rw-p 00000000 00:00 0
> 33e1600000-33e1616000 r-xp 00000000 08:05 11534773                       
> /lib64/libpthread-2.14.so
> 33e1616000-33e1815000 ---p 00016000 08:05 11534773                       
> /lib64/libpthread-2.14.so
> 33e1815000-33e1816000 r--p 00015000 08:05 11534773                       
> /lib64/libpthread-2.14.so
> 33e1816000-33e1817000 rw-p 00016000 08:05 11534773                       
> /lib64/libpthread-2.14.so
> 33e1817000-33e181b000 rw-p 00000000 00:00 0
> 33e1a00000-33e1a02000 r-xp 00000000 08:05 11534775                       
> /lib64/libdl-2.14.so
> 33e1a02000-33e1c02000 ---p 00002000 08:05 11534775                       
> /lib64/libdl-2.14.so
> 33e1c02000-33e1c03000 r--p 00002000 08:05 11534775                       
> /lib64/libdl-2.14.so
> 33e1c03000-33e1c04000 rw-p 00003000 08:05 11534775                       
> /lib64/libdl-2.14.so
> 33e1e00000-33e1e07000 r-xp 00000000 08:05 11534774                       
> /lib64/librt-2.14.so
> 33e1e07000-33e2006000 ---p 00007000 08:05 11534774                       
> /lib64/librt-2.14.so
> 33e2006000-33e2007000 r--p 00006000 08:05 11534774                       
> /lib64/librt-2.14.so
> 33e2007000-33e2008000 rw-p 00007000 08:05 11534774                       
> /lib64/librt-2.14.so
> 33e2200000-33e2283000 r-xp 00000000 08:05 11534794                       
> /lib64/libm-2.14.so
> 33e2283000-33e2482000 ---p 00083000 08:05 11534794                       
> /lib64/libm-2.14.so
> 33e2482000-33e2483000 r--p 00082000 08:05 11534794                       
> /lib64/libm-2.14.so
> 33e2483000-33e2484000 rw-p 00083000 08:05 11534794                       
> /lib64/libm-2.14.so
> 33e2600000-33e2615000 r-xp 00000000 08:05 11534795                       
> /lib64/libgcc_s-4.6.0-20110530.so.1
> 33e2615000-33e2814000 ---p 00015000 08:05 11534795                       
> /lib64/libgcc_s-4.6.0-20110530.so.1
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~hybrid-graphics-linux
> Post to     : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References