Re: [PD] [Gnome/Ubuntu] Gem video on external screen
Roman Haefeli wrote: On Thu, 2008-10-23 at 11:14 +0800, Simon Wise wrote: On 23 Oct 2008, at 6:41 AM, Martin . wrote: Actually, the CPU bit is not true. Its at 50-60% regardless, sorry for the noise. Still though, I guess the main issue is that Gem crashes upon loading videos into pix_film. Anyone know a way to track the reason for Gem troubles? cheers, Martin On Thu, Oct 23, 2008 at 12:24 AM, Martin . <[EMAIL PROTECTED]> wrote: Hi all, Im a bit desperate to find a way to play video on an external screen without Gem (or even X/Gnome) crashing. Ive set up xorg.conf to a virtual screensize of the double horizontally so as to have a projector read the video from the "right part" of the screen, and still have my GUIs visible on the "left part" (what is visible on my laptop screen). you will probably need to set xorg for two separate displays, and one of these can be 3D accelerated, I usually start pd with Gem from the display with the projector, and control it with another pd started on the other display. This has worked well with 4 screens from 2 NVIDIA cards uswing debian, I guess it would be also ok with an intel chipset, as it does not rely on twinview or any other fancy graphics stuff. Alternatively I believe Gem can open a gemwin on a different display to the one pd was started on, check the list archives as I have not tried this. if you have to separate x displays running, you can start pd and its gui on the first screen and by sending 'create :0.1' (or whatever id the second display has) to [gemwin] you can create the gem window on the external screen/projector. wouldn't it be nice to have this in the documentation as part of the gemwin-help [pd window properties] subpatch? greets olsen i made different experiences with different video cards. with an ati radeon mobility 9600 i was only able to have 3d acceleration on the first head. with several nvidia cards i managed to have hardware acceleration running on both heads. you probably find more info about how to set up 3d acceleration on the ubuntu wiki. gem should print something like 'GEM: Direct Rendering enabled!', when you start the rendering, if 3d acceleration works. roman ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -- Planet Pluto bleibt! #N canvas 19 128 840 433 10; #X text 63 9 access to the window manager; #X text 129 343 1/0 : turn rendering on/off; #X text 16 100 Editing at the same time as rendering is not encouraged and is a good way to generate a segmentation fault or core dump!; #X text 14 140 It is EXTREMELEY IMPORTANT that you turn on rendering before trying to draw anything \, including in single buffer mode. When rendering is turned on \, the gem objects establish a rendering network. When rendering is turned off \, they remove this network. ; #X text 82 283 after window-creation::; #N canvas 10 74 656 573 lighting 0; #X text 261 175 lighting 1/0 : turn lighting on/off; #X text 334 229 ambient R G B : the ambient lighting color; #X text 340 283 specular R G B : the specular lighting color; #X text 268 320 shininess num : the shininess value; #X text 303 126 color R G B : the background color of the window; #X text 203 369 fogmode 0/1/2/3 : set the fog mode (OFF/LINEAR/EXP/EXP^2) ; #X text 369 490 fogcolor R G B : the color of the fog; #X text 290 410 fog num : the fog density; #X text 64 15 messages to the [gemwin] regarding lighting effects; #X obj 61 537 gemwin; #X msg 61 68 destroy; #X msg 14 68 create; #X obj 94 159 tgl 15 1 empty empty empty 0 -6 0 10 -262144 -1 -1 1 1; #X msg 16 496 reset; #X text 164 43 All of these messages must be sent to [gemwin] before the window is created in order to take effect.; #X msg 95 177 lighting \$1; #N canvas 889 134 562 454 color 0; #X obj 103 100 hsl 128 15 0 1 0 1 empty empty R 12 8 1 12 -261689 -1 -1 0 1; #X obj 236 100 hsl 128 15 0 1 0 1 empty empty G 12 8 1 12 -225271 -1 -1 0 1; #X obj 370 100 hsl 128 15 0 1 0 1 empty empty B 12 8 1 12 -228992 -1 -1 0 1; #X obj 64 379 outlet; #X obj 64 251 pack float float float; #X obj 96 194 trigger bang 0; #X obj 196 194 trigger bang 0; #X obj 64 280 trigger bang anything; #X obj 187 303 list; #X msg 187 323 set color \$1 \$2 \$3; #X connect 0 0 4 0; #X connect 1 0 5 0; #X connect 2 0 6 0; #X connect 4 0 7 0; #X connect 5 0 4 0; #X connect 5 1 4 1; #X connect 6 0 4 0; #X connect 6 1 4 2; #X connect 7 0 3 0; #X connect 7 1 8 0; #X connect 8 0 9 0; #X connect 9 0 3 0; #X coords 0 -1 1 1 400 13 1 100 100; #X restore 86 103 pd color sliders; #X msg 86 125 color 0 0 0; #X obj 22 529 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 1; #N canvas 889 134 566 458 color 0; #X obj 103 100 hsl 128 15 0 1 0 1 empty empty R 12 8 1 12 -261689 -1 -1 0 1
Re: [PD] [Gnome/Ubuntu] Gem video on external screen
On Thu, 2008-10-23 at 11:14 +0800, Simon Wise wrote: > On 23 Oct 2008, at 6:41 AM, Martin . wrote: > > > Actually, the CPU bit is not true. Its at 50-60% regardless, sorry for > > the noise. > > > > Still though, I guess the main issue is that Gem crashes upon loading > > videos into pix_film. Anyone know a way to track the reason for Gem > > troubles? > > > > cheers, > > Martin > > > > On Thu, Oct 23, 2008 at 12:24 AM, Martin . > > <[EMAIL PROTECTED]> wrote: > >> Hi all, > >> > >> Im a bit desperate to find a way to play video on an external screen > >> without Gem (or even X/Gnome) crashing. > >> > >> Ive set up xorg.conf to a virtual screensize of the double > >> horizontally so as to have a projector read the video from the "right > >> part" of the screen, and still have my GUIs visible on the "left > >> part" > >> (what is visible on my laptop screen). > >> > > you will probably need to set xorg for two separate displays, and one > of these can be 3D accelerated, I usually start pd with Gem from the > display with the projector, and control it with another pd started on > the other display. This has worked well with 4 screens from 2 NVIDIA > cards uswing debian, I guess it would be also ok with an intel > chipset, as it does not rely on twinview or any other fancy graphics > stuff. Alternatively I believe Gem can open a gemwin on a different > display to the one pd was started on, check the list archives as I > have not tried this. if you have to separate x displays running, you can start pd and its gui on the first screen and by sending 'create :0.1' (or whatever id the second display has) to [gemwin] you can create the gem window on the external screen/projector. i made different experiences with different video cards. with an ati radeon mobility 9600 i was only able to have 3d acceleration on the first head. with several nvidia cards i managed to have hardware acceleration running on both heads. you probably find more info about how to set up 3d acceleration on the ubuntu wiki. gem should print something like 'GEM: Direct Rendering enabled!', when you start the rendering, if 3d acceleration works. roman ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [Gnome/Ubuntu] Gem video on external screen
Simon Wise wrote: > On 23 Oct 2008, at 6:41 AM, Martin . wrote: > >> Actually, the CPU bit is not true. Its at 50-60% regardless, sorry for >> the noise. >> >> Still though, I guess the main issue is that Gem crashes upon loading >> videos into pix_film. Anyone know a way to track the reason for Gem >> troubles? >> >> cheers, >> Martin >> >> On Thu, Oct 23, 2008 at 12:24 AM, Martin . >> <[EMAIL PROTECTED]> wrote: >>> Hi all, >>> >>> Im a bit desperate to find a way to play video on an external screen >>> without Gem (or even X/Gnome) crashing. >>> >>> Ive set up xorg.conf to a virtual screensize of the double >>> horizontally so as to have a projector read the video from the "right >>> part" of the screen, and still have my GUIs visible on the "left >>> part" >>> (what is visible on my laptop screen). >>> > > you will probably need to set xorg for two separate displays, and one > of these can be 3D accelerated, I usually start pd with Gem from the > display with the projector, and control it with another pd started on > the other display. This has worked well with 4 screens from 2 NVIDIA > cards uswing debian, I guess it would be also ok with an intel > chipset, as it does not rely on twinview or any other fancy graphics > stuff. Alternatively I believe Gem can open a gemwin on a different > display to the one pd was started on, check the list archives as I > have not tried this. send f.e. a [create :0], [create :1] message to the gemwin should open it in on another display. greets olsen > > > simon > > ___ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list -- Planet Pluto bleibt! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [Gnome/Ubuntu] Gem video on external screen
On 23 Oct 2008, at 1:46 PM, Martin . wrote: >> you will probably need to set xorg for two separate displays, and >> one of >> these can be 3D accelerated, I usually start pd with Gem from the >> display >> with the projector, and control it with another pd started on the >> other >> display. This has worked well with 4 screens from 2 NVIDIA cards >> uswing >> debian, I guess it would be also ok with an intel chipset, as it >> does not >> rely on twinview or any other fancy graphics stuff. Alternatively >> I believe >> Gem can open a gemwin on a different display to the one pd was >> started on, >> check the list archives as I have not tried this. >> > > Ah, that sounds right - do you know achieve 3D rendering on "one" of > the displays? As mentioned, my xorg.conf is set as a big virtual > desktop shared between two screens..: exact details will depend very much on the graphics card and driver, but you should aim for the projector display to be the first, or primary, display, possibly use xorg.conf to turn on direct rendering for that one and off for the other. With NVIDIA most of this can be done with the driver GUI. Then either start pd from that display or give gemwin the appropriate message - I forget what it is but it was on this list a few weeks ago. simon ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [Gnome/Ubuntu] Gem video on external screen
Martin . wrote: > **sorry for the multiple questions under one topic! > > Is there a way to use pd/Gem without any interaction with Jack while > Jack is running? When pd goes down it takes Jack with it, even though > audio computation is not on... if you don't need audio, then don't use it :-) starting Pd with the "-noaudio" flag should make it completely independent from jack. fgamsr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [Gnome/Ubuntu] Gem video on external screen
On 23 Oct 2008, at 6:41 AM, Martin . wrote: > Actually, the CPU bit is not true. Its at 50-60% regardless, sorry for > the noise. > > Still though, I guess the main issue is that Gem crashes upon loading > videos into pix_film. Anyone know a way to track the reason for Gem > troubles? > > cheers, > Martin > > On Thu, Oct 23, 2008 at 12:24 AM, Martin . > <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> Im a bit desperate to find a way to play video on an external screen >> without Gem (or even X/Gnome) crashing. >> >> Ive set up xorg.conf to a virtual screensize of the double >> horizontally so as to have a projector read the video from the "right >> part" of the screen, and still have my GUIs visible on the "left >> part" >> (what is visible on my laptop screen). >> you will probably need to set xorg for two separate displays, and one of these can be 3D accelerated, I usually start pd with Gem from the display with the projector, and control it with another pd started on the other display. This has worked well with 4 screens from 2 NVIDIA cards uswing debian, I guess it would be also ok with an intel chipset, as it does not rely on twinview or any other fancy graphics stuff. Alternatively I believe Gem can open a gemwin on a different display to the one pd was started on, check the list archives as I have not tried this. simon ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [Gnome/Ubuntu] Gem video on external screen
**sorry for the multiple questions under one topic! Is there a way to use pd/Gem without any interaction with Jack while Jack is running? When pd goes down it takes Jack with it, even though audio computation is not on... On Thu, Oct 23, 2008 at 12:41 AM, Martin . <[EMAIL PROTECTED]> wrote: > Actually, the CPU bit is not true. Its at 50-60% regardless, sorry for > the noise. > > Still though, I guess the main issue is that Gem crashes upon loading > videos into pix_film. Anyone know a way to track the reason for Gem > troubles? > > cheers, > Martin > > On Thu, Oct 23, 2008 at 12:24 AM, Martin . <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> Im a bit desperate to find a way to play video on an external screen >> without Gem (or even X/Gnome) crashing. >> >> Ive set up xorg.conf to a virtual screensize of the double >> horizontally so as to have a projector read the video from the "right >> part" of the screen, and still have my GUIs visible on the "left part" >> (what is visible on my laptop screen). >> >> This is how it looks in xorg.conf: >> >> Section "Screen" >>Identifier "Default Screen" >>Device "Intel Corporation Mobile GM965/GL960 Integrated >> Graphi$ >>Monitor "Generic Monitor" >>DefaultDepth24 >>SubSection "Display" >>Depth 24 >>Virtual 2048 768 >>EndSubSection >> EndSection >> >> The CPU jumps to 60% when playing video with the external screen on, >> but lays nicely on 8-9% when only playing on the normal screen. I >> guess lots of people are working with similar stuff - are there other >> (more stable/safe/efficient) ways of getting to this? or is the high >> CPU something to expect when using an external screen? >> >> Are there any good ways of finding the source of Gem crashes btw? >> >> Im very happy for any feedback as Im quite fresh on both Gem and projections >> :) >> >> cheers, >> Martin >> > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [Gnome/Ubuntu] Gem video on external screen
Hi, Martin . wrote: > The CPU jumps to 60% when playing video with the external screen on, > but lays nicely on 8-9% when only playing on the normal screen. I > guess lots of people are working with similar stuff - are there other > (more stable/safe/efficient) ways of getting to this? or is the high > CPU something to expect when using an external screen? your problem here definitely is that 3D rendering on the GPU is not working with two screens, therefore all the computation is done by the CPU. cu Thomas -- "Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance." (Leto II. in: Frank Herbert, God Emperor of Dune) http://thomas.dergrossebruder.org/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [Gnome/Ubuntu] Gem video on external screen
Actually, the CPU bit is not true. Its at 50-60% regardless, sorry for the noise. Still though, I guess the main issue is that Gem crashes upon loading videos into pix_film. Anyone know a way to track the reason for Gem troubles? cheers, Martin On Thu, Oct 23, 2008 at 12:24 AM, Martin . <[EMAIL PROTECTED]> wrote: > Hi all, > > Im a bit desperate to find a way to play video on an external screen > without Gem (or even X/Gnome) crashing. > > Ive set up xorg.conf to a virtual screensize of the double > horizontally so as to have a projector read the video from the "right > part" of the screen, and still have my GUIs visible on the "left part" > (what is visible on my laptop screen). > > This is how it looks in xorg.conf: > > Section "Screen" >Identifier "Default Screen" >Device "Intel Corporation Mobile GM965/GL960 Integrated > Graphi$ >Monitor "Generic Monitor" >DefaultDepth24 >SubSection "Display" >Depth 24 >Virtual 2048 768 >EndSubSection > EndSection > > The CPU jumps to 60% when playing video with the external screen on, > but lays nicely on 8-9% when only playing on the normal screen. I > guess lots of people are working with similar stuff - are there other > (more stable/safe/efficient) ways of getting to this? or is the high > CPU something to expect when using an external screen? > > Are there any good ways of finding the source of Gem crashes btw? > > Im very happy for any feedback as Im quite fresh on both Gem and projections > :) > > cheers, > Martin > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] [Gnome/Ubuntu] Gem video on external screen
Hi all, Im a bit desperate to find a way to play video on an external screen without Gem (or even X/Gnome) crashing. Ive set up xorg.conf to a virtual screensize of the double horizontally so as to have a projector read the video from the "right part" of the screen, and still have my GUIs visible on the "left part" (what is visible on my laptop screen). This is how it looks in xorg.conf: Section "Screen" Identifier "Default Screen" Device "Intel Corporation Mobile GM965/GL960 Integrated Graphi$ Monitor "Generic Monitor" DefaultDepth24 SubSection "Display" Depth 24 Virtual 2048 768 EndSubSection EndSection The CPU jumps to 60% when playing video with the external screen on, but lays nicely on 8-9% when only playing on the normal screen. I guess lots of people are working with similar stuff - are there other (more stable/safe/efficient) ways of getting to this? or is the high CPU something to expect when using an external screen? Are there any good ways of finding the source of Gem crashes btw? Im very happy for any feedback as Im quite fresh on both Gem and projections :) cheers, Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list