Using a USB webcam on Linux Netbook? (Nature - Oscillator)
-
- Posts: 34
- Joined: Tue May 12, 2015 11:31 pm
- Location: Ferguson, Missouri, USA
- Contact:
Using a USB webcam on Linux Netbook? (Nature - Oscillator)
Hey, just wondering if there is anyway to use an external webcam instead of an onboard webcam on a Netbook running Linux. I do a live improv gig with my dad each year at Webster University for the Dance Deparment. I would love to use Nature - Oscillator during the performance, but would prefer to use an external webcam or video camera. If this is possible, I would be ever so happy
- xaccrocheur
- Posts: 77
- Joined: Sat Feb 27, 2010 3:16 pm
- Location: Africa
- Contact:
Re: Using a USB webcam on Linux Netbook?
?Yes. That's how I'm using it ; If the onboard cam keeps piggybacking the input, then disable it at the BIOS level.anyway to use an external webcam instead of an onboard webcam on a Netbook running Linux.
You know, sometimes when asking a question about hardware you have at hand, the best solution is to plug and run it
Yassin Philip - Check out My music
-
- Posts: 34
- Joined: Tue May 12, 2015 11:31 pm
- Location: Ferguson, Missouri, USA
- Contact:
Re: Using a USB webcam on Linux Netbook?
None of my Linux laptops have options at BIOS that have anything to do with the onboard webcam.
I've tried using an external webcam with one of my laptops that has no onbard camera and I get errors from N-OSC in Terminal.
..."
Trying to open video device /dev/video0 ...
driver: uvcvideo
card: Venus USB2.0 Camera
bus_info: usb-0000:00:1d.7-3
version: 3.14.20
capabilities: 0x84000001
device_bvideo_open() successful
Got the camera size
Default camera frame size: 640 x 480
bvideo_get_props() error -1
New NOsc container 496 created
bvideo_start(): 640x480; pixel format:0; focus mode:0
NOsc Main Window created
/root/Downloads/nosc.zip_extracted/nosc/START_LINUX_X86: line 12: 5601 Illegal instruction ./bin/pixilang_linux_x86 boot.pixicode
"
I've tried using an external webcam with one of my laptops that has no onbard camera and I get errors from N-OSC in Terminal.
..."
Trying to open video device /dev/video0 ...
driver: uvcvideo
card: Venus USB2.0 Camera
bus_info: usb-0000:00:1d.7-3
version: 3.14.20
capabilities: 0x84000001
device_bvideo_open() successful
Got the camera size
Default camera frame size: 640 x 480
bvideo_get_props() error -1
New NOsc container 496 created
bvideo_start(): 640x480; pixel format:0; focus mode:0
NOsc Main Window created
/root/Downloads/nosc.zip_extracted/nosc/START_LINUX_X86: line 12: 5601 Illegal instruction ./bin/pixilang_linux_x86 boot.pixicode
"
- NightRadio
- Site Admin
- Posts: 3944
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: Using a USB webcam on Linux Netbook?
Hm... This error "line 12: 5601 Illegal instruction ./bin/pixilang_linux_x86 boot.pixicode" is very strange. It is not the camera problem. Can you show me the full log?
As for the laptop with two cameras: i've made some changes in code, so now you can switch between the cameras.
Just redownload the app: http://warmplace.ru/soft/nosc/nosc.zip
Then unpack it and add the following line to the pixilang_config.ini file:
As for the laptop with two cameras: i've made some changes in code, so now you can switch between the cameras.
Just redownload the app: http://warmplace.ru/soft/nosc/nosc.zip
Then unpack it and add the following line to the pixilang_config.ini file:
Code: Select all
camera 1
-
- Posts: 34
- Joined: Tue May 12, 2015 11:31 pm
- Location: Ferguson, Missouri, USA
- Contact:
Re: Using a USB webcam on Linux Netbook?
Alrighty, got the external webcam working on my Netbook with the integrated webcam. Actually had to finagle some Linux settings and whatnot. So thank you sir for reworking that code. This improv gig is going to benefit greatly. I'll take video and audio recordings and post a link after the performance this fall as a showcase of just how awesome your software is!
Now, onto the full log from the laptop with no integrated webcam. Even after finagling on the OS side, I still get errors. And I took care of some of the possible culprits, like SDL, which actually wasnt on this Laptop, oops.
Language: en_US.UTF-8
SunDog Engine / Jun 4 2015 09:58:28
MAIN: device start
OpenGL version: 1.4 Mesa 10.1.3. Renderer: Mesa DRI Intel(R) 915GM x86/MMX/SSE2. GLSL: 1.20.
MAIN: screen_angle = 0
MAIN: screen_zoom = 1
MAIN: screen_ppi = 160
MAIN: screen_scale = 256 / 256
MAIN: screen_xsize = 640
MAIN: screen_ysize = 480
MAIN: system palette init
MAIN: wmanager initialized
ARCH: x86; OS: linux; LANG: en_US.UTF-8; CURRENT_PATH: ; USER_PATH: /root/; PIXILANG_VERSION: 03060000
Engine Working Directory (1:/) : /root/WarmPlace/nosc/
Loading font 0
Initial font char size: 24 x 32
Final font char size: 12 x 16
Loading font 1
Initial font char size: 24 x 32
Final font char size: 12 x 16
New PWM container 498 created
Desktop window created
ANS engine test results: 78796.796875 samples per second
ANS Sampling rate: 44100
First generator: 0
Audio buffer size: 4096 frames
New ANS container 506 created
First generator: 0
ANS project:
width: 2
height: 600
lowest freq: 65.406250
octaves: 8
freq spread: 50.000000
BPM: 125
PPB: 16
Trying to open video device /dev/video0 ...
driver: uvcvideo
card: Microsoft® LifeCam Show(TM)
bus_info: usb-0000:00:1d.7-3
version: 3.14.20
capabilities: 0x84000001
device_bvideo_open() successful
Got the camera size
Default camera frame size: 640 x 480
bvideo_get_props() error -1
New NOsc container 505 created
bvideo_start(): 640x480; pixel format:0; focus mode:0
NOsc Main Window created
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 5496 Illegal instruction ./bin/pixilang_linux_x86 boot.pixicode
Script completed hit RETURN to close window.
Now, onto the full log from the laptop with no integrated webcam. Even after finagling on the OS side, I still get errors. And I took care of some of the possible culprits, like SDL, which actually wasnt on this Laptop, oops.
Language: en_US.UTF-8
SunDog Engine / Jun 4 2015 09:58:28
MAIN: device start
OpenGL version: 1.4 Mesa 10.1.3. Renderer: Mesa DRI Intel(R) 915GM x86/MMX/SSE2. GLSL: 1.20.
MAIN: screen_angle = 0
MAIN: screen_zoom = 1
MAIN: screen_ppi = 160
MAIN: screen_scale = 256 / 256
MAIN: screen_xsize = 640
MAIN: screen_ysize = 480
MAIN: system palette init
MAIN: wmanager initialized
ARCH: x86; OS: linux; LANG: en_US.UTF-8; CURRENT_PATH: ; USER_PATH: /root/; PIXILANG_VERSION: 03060000
Engine Working Directory (1:/) : /root/WarmPlace/nosc/
Loading font 0
Initial font char size: 24 x 32
Final font char size: 12 x 16
Loading font 1
Initial font char size: 24 x 32
Final font char size: 12 x 16
New PWM container 498 created
Desktop window created
ANS engine test results: 78796.796875 samples per second
ANS Sampling rate: 44100
First generator: 0
Audio buffer size: 4096 frames
New ANS container 506 created
First generator: 0
ANS project:
width: 2
height: 600
lowest freq: 65.406250
octaves: 8
freq spread: 50.000000
BPM: 125
PPB: 16
Trying to open video device /dev/video0 ...
driver: uvcvideo
card: Microsoft® LifeCam Show(TM)
bus_info: usb-0000:00:1d.7-3
version: 3.14.20
capabilities: 0x84000001
device_bvideo_open() successful
Got the camera size
Default camera frame size: 640 x 480
bvideo_get_props() error -1
New NOsc container 505 created
bvideo_start(): 640x480; pixel format:0; focus mode:0
NOsc Main Window created
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 5496 Illegal instruction ./bin/pixilang_linux_x86 boot.pixicode
Script completed hit RETURN to close window.
-
- Posts: 34
- Joined: Tue May 12, 2015 11:31 pm
- Location: Ferguson, Missouri, USA
- Contact:
Re: Using a USB webcam on Linux Netbook?
the onlything changing in my logs is listed below. I'm thinking this may be a OS side issue, so I'll be googling away looking for possible fixes.
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 14290 Illegal instruction
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 15153 Illegal instruction
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 15800 Illegal instruction
3 more times after unplugging the camera and plugging it back in
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 18534 Illegal instruction
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 19062 Illegal instruction
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 19596 Illegal instruction
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 14290 Illegal instruction
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 15153 Illegal instruction
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 15800 Illegal instruction
3 more times after unplugging the camera and plugging it back in
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 18534 Illegal instruction
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 19062 Illegal instruction
/root/WarmPlace/nosc/START_LINUX_X86: line 12: 19596 Illegal instruction
- NightRadio
- Site Admin
- Posts: 3944
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: Using a USB webcam on Linux Netbook?
Illegal instruction
Looks like some unsupported instruction detected. Maybe your laptop is too old? My apps use SSE3 instructions
Looks like some unsupported instruction detected. Maybe your laptop is too old? My apps use SSE3 instructions
-
- Posts: 34
- Joined: Tue May 12, 2015 11:31 pm
- Location: Ferguson, Missouri, USA
- Contact:
Re: Using a USB webcam on Linux Netbook?
Ahhhhhh. I didn't even think about hardware. Thats likely the issue on that rig. Its from pre-2007. Oh well.
Thank you so much for the help! N-OSC is going to be a key component to live performance work with me. Not to mention sweet ambiet samples. You're software is fantastic!
Thank you so much for the help! N-OSC is going to be a key component to live performance work with me. Not to mention sweet ambiet samples. You're software is fantastic!