Raw stream viewer

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
nextime
Posts: 23
Joined: Thu Nov 29, 2007 9:20 pm

Post by nextime »

Yes, i'm sure that all palettes are right.
It seem to be an issue with the video driver, the videocard it's a crappy nvidia with proprietary driver.

Using the non-gl version of xlib_shm with the -s option solve the problem and i can see good images on video.
wisekki
Posts: 39
Joined: Tue Feb 27, 2007 11:58 am

Post by wisekki »

Are there going to be a working version for ZM 1.23 perhaps?
I'm just asking because this is a very cool user contribution for ZM.

- wisekki
maciekc
Posts: 150
Joined: Wed Feb 23, 2005 9:21 pm
Location: Czestochowa, POLAND

Post by maciekc »

wisekki wrote:Are there going to be a working version for ZM 1.23 perhaps?
I'm just asking because this is a very cool user contribution for ZM.

- wisekki
You just need to specify correct shm_key in command line - -k SHM_KEY.
It will work.
wisekki
Posts: 39
Joined: Tue Feb 27, 2007 11:58 am

Post by wisekki »

Nice, thnx man :)
it works just fine.. didn't even realize that the shared memory key was changed :idea:
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Post by linuxsense »

Hmm...I wonder if this could be turned into a plasmoid for KDE4?
lukav
Posts: 3
Joined: Fri May 16, 2008 9:52 am

Version 1.23.3

Post by lukav »

Hi,

I've try everything and I keep getting:
ERROR: Failed to shmget
ENOENT - segment doesn't exist

Code: Select all

xlib_shm -w 1024 -h 768 -m 10 -k 0x7a6d2000
I've set the key and run as root.
ZM is running as www-data. I've run xlib_shm as www-data and still no luck

Please help
maciekc
Posts: 150
Joined: Wed Feb 23, 2005 9:21 pm
Location: Czestochowa, POLAND

Re: Version 1.23.3

Post by maciekc »

lukav wrote:Hi,

I've try everything and I keep getting:
ERROR: Failed to shmget
ENOENT - segment doesn't exist

Code: Select all

xlib_shm -w 1024 -h 768 -m 10 -k 0x7a6d2000
I've set the key and run as root.
ZM is running as www-data. I've run xlib_shm as www-data and still no luck

Please help
Please post shm segmnts that exist:

Code: Select all

cat /proc/sysvipc/shm
lukav
Posts: 3
Joined: Fri May 16, 2008 9:52 am

Re: Version 1.23.3

Post by lukav »

maciekc wrote:Please post shm segmnts that exist:

Code: Select all

cat /proc/sysvipc/shm

Code: Select all

       key      shmid perms       size  cpid  lpid nattch   uid   gid  cuid  cgid      atime      dtime      ctime
2053963786          0   700   36865188  3261  3291      2    33    33    33    33 1211026726 1211026726 1210932051
2053963787      32769   700   36865188  3267  3291      1    33    33    33    33 1211026726 1211026726 1210932051
2053963788      65538   700   36865188  3273  3291      2    33    33    33    33 1211026726 1211026726 1210932052
2053963789      98307   700   36865188  3279  3291      2    33    33    33    33 1211026726 1211026726 1210932052
         0     163844  1600     393216  3456  3351      2   103   109   103   109 1210932094          0 1210932094
maciekc
Posts: 150
Joined: Wed Feb 23, 2005 9:21 pm
Location: Czestochowa, POLAND

Re: Version 1.23.3

Post by maciekc »

Code: Select all

       key      shmid perms       size  cpid  lpid nattch   uid   gid  cuid  cgid      atime      dtime      ctime
2053963786          0   700   36865188  3261  3291      2    33    33    33    33 1211026726 1211026726 1210932051
2053963787      32769   700   36865188  3267  3291      1    33    33    33    33 1211026726 1211026726 1210932051
2053963788      65538   700   36865188  3273  3291      2    33    33    33    33 1211026726 1211026726 1210932052
2053963789      98307   700   36865188  3279  3291      2    33    33    33    33 1211026726 1211026726 1210932052
         0     163844  1600     393216  3456  3351      2   103   109   103   109 1210932094          0 1210932094
Looks like your shm key is 7A6D0000
Try:

Code: Select all

xlib_shm -w 1024 -h 768 -m 10 -k 0x7a6d0000
lukav
Posts: 3
Joined: Fri May 16, 2008 9:52 am

Re: Version 1.23.3

Post by lukav »

maciekc wrote: Looks like your shm key is 7A6D0000
Try:

Code: Select all

xlib_shm -w 1024 -h 768 -m 10 -k 0x7a6d0000
Thanks, I should have payed more attention. I've recheck the zm settings the key there is clearly the one you have suggested.
And it works.

Thanks a lot!
Sorry about that.
:)
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Post by linuxsense »

Anyone ever compile this for a 64bit Ubuntu system?

I seem to be missing the libmysqlclient libs in lib32 to run the 32bit version....
maciekc
Posts: 150
Joined: Wed Feb 23, 2005 9:21 pm
Location: Czestochowa, POLAND

Post by maciekc »

linuxsense wrote:Anyone ever compile this for a 64bit Ubuntu system?

I seem to be missing the libmysqlclient libs in lib32 to run the 32bit version....
I've been using it on 64bit debian. It should also work on ubuntu.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Post by linuxsense »

maciekc wrote:
linuxsense wrote:Anyone ever compile this for a 64bit Ubuntu system?

I seem to be missing the libmysqlclient libs in lib32 to run the 32bit version....
I've been using it on 64bit debian. It should also work on ubuntu.
Do you mean you are running the 32bit version on 64bit debian or you were successful in compiling it on a 64bit system?

When I ldd the 32bit version it shows libmysqlclient.so.15 as missing in /usr/lib32 and I could not find a deb to provide it...
maciekc
Posts: 150
Joined: Wed Feb 23, 2005 9:21 pm
Location: Czestochowa, POLAND

Post by maciekc »

linuxsense wrote: Do you mean you are running the 32bit version on 64bit debian or you were successful in compiling it on a 64bit system?

When I ldd the 32bit version it shows libmysqlclient.so.15 as missing in /usr/lib32 and I could not find a deb to provide it...
I've compiled the 64bit version without any problems.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Post by linuxsense »

maciekc wrote:
linuxsense wrote: Do you mean you are running the 32bit version on 64bit debian or you were successful in compiling it on a 64bit system?

When I ldd the 32bit version it shows libmysqlclient.so.15 as missing in /usr/lib32 and I could not find a deb to provide it...
I've compiled the 64bit version without any problems.
Thanks, it compiled just fine for me.
Post Reply