hello,
I try to make a fullscreen window in gridflow (with #out ) but I didn't find informations about that in the documentation, in #out-help.pd or in the list do you know how ?
(i'm running on windows, with pd-extended 0.42.5)
thanks
*stéfan*
Le 2011-10-26 à 15:01:00, stéfan piat a écrit :
I try to make a fullscreen window in gridflow (with #out ) but I didn't find informations about that in the documentation, in #out-help.pd or in the list do you know how ? (i'm running on windows, with pd-extended 0.42.5)
[#out window] is an alias for [#out sdl] when on Windows. It's an alias for other things on Linux & OSX.
[#out sdl], by default, has three shortcuts for activating fullscreen : you can press f, Escape or F11. I picked those three because they are the three most common shortcuts in apps that have fullscreen modes (respectively from MPlayer, Flash player(s), and FireFox browsing, though the same shortcuts are used by many more apps than that).
I don't remember why I didn't put a fullscreen method in [#out sdl]. Do you need to make it happen automatically ?
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
ok. thanks for clarifying this (I do not need to make it happen automatically)
s.
2011/10/26 Mathieu Bouchard matju@artengine.ca
Le 2011-10-26 à 15:01:00, stéfan piat a écrit :
I try to make a fullscreen window in gridflow (with #out ) but I didn't
find informations about that in the documentation, in #out-help.pd or in the list do you know how ? (i'm running on windows, with pd-extended 0.42.5)
[#out window] is an alias for [#out sdl] when on Windows. It's an alias for other things on Linux & OSX.
[#out sdl], by default, has three shortcuts for activating fullscreen : you can press f, Escape or F11. I picked those three because they are the three most common shortcuts in apps that have fullscreen modes (respectively from MPlayer, Flash player(s), and FireFox browsing, though the same shortcuts are used by many more apps than that).
I don't remember why I didn't put a fullscreen method in [#out sdl]. Do you need to make it happen automatically ?
______________________________**______________________________** __________ | Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
hello !
is there a fullscreen method with [#out x11( ? (or #out quartz) the shortcuts from [#out sdl( seems to not working there...
I try the change the window size from [#out x11] but I got the following error message by sending the message [out_size 1920 1080( error: [#io.x11 out] inlet 0 method out_size: shmget() failed: Invalid argument XErrorEvent: type=0x00000000 display=0x2014e00 xid=0x0000000b ... serial=0x000003ae error=0x00000084 request=0x00000084 minor=0x00000002 (note: turning shm off)
with others arguments (e.g. 1024 576) nothing happens...
thx *stéfan*
2011/10/27 stéfan piat stefanpiat@gmail.com
ok. thanks for clarifying this (I do not need to make it happen automatically)
s.
2011/10/26 Mathieu Bouchard matju@artengine.ca
Le 2011-10-26 à 15:01:00, stéfan piat a écrit :
I try to make a fullscreen window in gridflow (with #out ) but I didn't
find informations about that in the documentation, in #out-help.pd or in the list do you know how ? (i'm running on windows, with pd-extended 0.42.5)
[#out window] is an alias for [#out sdl] when on Windows. It's an alias for other things on Linux & OSX.
[#out sdl], by default, has three shortcuts for activating fullscreen : you can press f, Escape or F11. I picked those three because they are the three most common shortcuts in apps that have fullscreen modes (respectively from MPlayer, Flash player(s), and FireFox browsing, though the same shortcuts are used by many more apps than that).
I don't remember why I didn't put a fullscreen method in [#out sdl]. Do you need to make it happen automatically ?
______________________________**______________________________** __________ | Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
Le 2011-11-01 à 16:12:00, stéfan piat a écrit :
is there a fullscreen method with [#out x11( ? (or #out quartz)
No... I'd like to have a hardware scaler pretty soon though. Right now, the only way to access a hardware scaler is by going through GEM using [#to_pix]. In the case of SDL, I think that it uses a combination of changing the video mode and using hardware scaling and black borders, with a preference on avoiding hardware scaling. But I don't know much about SDL.
the shortcuts from [#out sdl( seems to not working there...
Then it means that SDL's full screen command does not work on OSX.
This page says it only works in X11 : http://sdl.beuc.net/sdl.wiki/SDL_WM_ToggleFullScreen And I don't think you can make SDL go through X11 on OSX, and I wouldn't bet that OSX's X11 supports the fullscreen commands.
but I got the following error message by sending the message [out_size 1920 1080( error: [#io.x11 out] inlet 0 method out_size: shmget() failed: Invalid argument XErrorEvent: type=0x00000000 display=0x2014e00 xid=0x0000000b ... serial=0x000003ae error=0x00000084 request=0x00000084 minor=0x00000002 (note: turning shm off)
Strange, I thought that it would only say that for much bigger windows, such as 4096x3072 and such. Maybe OSX has much lower limits of memory size for shmget() than Linux has. I wouldn't know how to increase that.
BTW, you have to swap the arguments to out_size. The number of rows usually comes before the number of columns in GridFlow.
with others arguments (e.g. 1024 576) nothing happens...
I don't know why that would happen.
Also, I never use out_size because as it is, GridFlow always resizes the window to the same size. I expect that out_size will become more important if I enable hardware scaling in a future version.
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC