This topic contains 43 replies, has 10 voices, and was last updated by Rich 4 years, 9 months ago.
12/16/2013 at 19:26 #3593
Everything looks great when I use a crt tv. However, I don’t really like the pixelated look when I use an LCD tv.
I was wondering if there’s a way to add scanlines or some sort of ntsc filter to emulationstation.12/19/2013 at 01:25 #3620
I spent most of yesterday trying to figure this out. I am only running NES/SNES, through RetroArch. My raspi is overclocked to the “high” preset with some cute little heatsinks.
I have been trying to get gpu-based shaders to work, I haven’t tried the bsnes cpu-based filters yet.
This is what I’ve learned so far:
You need to enable video shaders in home/pi/RetroPie/configs/all/retroarch.cfg:
# Path to shader. Shader can be either Cg, CGP (Cg preset) or XML/GLSL format if support is enabled. video_shader = "/home/pi/emulators/RetroArch/installdir/bin/shaders/CRT.shader" # Load video_shader on startup. # Other shaders can still be loaded later in runtime. video_shader_enable = true
I downloaded shader packs recommended in the RetroArch readme, and placed them in RetroArch/installdir/bin/shaders.
*.shader files do nothing,
*.cg filters give me a blank screen.
I tried to convert using RetroArch/installdir/bin/cg2glsl.py, but it wont work on the raspberry pi (can’t install the nvidia-cg-tools dependency, because it is x86 only).
Not really sure what to do next, so I have stopped for now.
Does anyone have a link to shaders that might work with RetroArch/raspberry pi?12/19/2013 at 03:13 #3622
I had similar results… If you browse and apply one through the RGUI, I just get a black screen as well…12/19/2013 at 03:23 #3623
I had similar results… If you browse and apply one through the RGUI, I just get a black screen as well…
So it’s not just me, that’s good.
I’d really like to give this a shot, at least for NES or other lightweight emulation!
I’m hoping we are just using the wrong files – often I am finding dead links or 2-year-old information on the subject. Maybe someone out there has the right files available for download, or at least info on what exactly is supported by Raspian + RetroArch.
And thanks to everyone in this community I was up and running within two days of getting my Pi. I’m having a lot of fun tweaking it, and this one cosmetic issue is the only thing I’ve had actual trouble with.12/23/2013 at 18:16 #3717
I had the same results as well. I just came across with this retroarch pack that includes a quite a few shaders.
Might be worth a try.12/24/2013 at 11:12 #3720
I managed to get the common-shaders “working” on the raspberry pi. You can convert the shaders to GLSL on a x86 based system – the conversion doesn’t compile them to x86 binaries. I used my debian laptop and the python script from the retroarch git repository – but I’m sure any distro would suffice.
While the shaders work, performance suffers with all but the most trivial shaders – they really highlight how many of these emulators (picodrive/pocketsnes) are just barely working on the pi.
I found the crt/crt.glsl,crt-highgamma.glsl,crt-normalgamma.glsl seemed to provide a passable CRT type display without hindering performance too badly. Otherwise using an interlace + smoothing shader like hqx/eagle kind of worked too.
Hope that helps.
edit: for any shader, drop scale to 1x – it runs poorly if you leave it on “don’t care” or a higher value. Currently running Sonic 3 smoothly in picodrive with crt-highgamma.glsl and RPi OC’ed to 1ghz.01/15/2014 at 20:10 #4174
Phosphor shader runs smooth and looks good.
I have attached a collection of converted shaders.
Attachments:01/23/2014 at 02:45 #4326
That’s it! Those shaders work perfectly.
Thank you so much gizmo98, you’re the man!01/31/2014 at 01:37 #4522
This worked great gizmo98! One hiccup I had, at first after following the steps in your readme I got a permissions error with runcommand.sh. This fixed it:
chmod u+x home/pi/RetroPie/supplementary/runcommand.sh02/05/2014 at 19:05 #4621
Thank you very much. I did not had that issue because i modified my original runcommand.sh.
The shaders and a updated runcommand.sh were added three days ago to the master repository:
New run command options:
1: set video mode to VGA ONLY IF tvservice is in HDMI mode, and run command
2: keep existing video mode and run command
3: set video mode to VGA and run command
4: set video mode to 720p ONLY IF tvservice is in HDMI mode and run command
New shader path:
/RetroPie/supplementary/RetroArchShader02/12/2014 at 21:28 #4874
Man i cannot figure this out. keep getting errors about runcommand. Want to get this to work badly.02/13/2014 at 18:16 #4908
Just update RetroPie-Setup, RetroArch and runcommand.sh and everything should be fine.
1. Exit Emulationstatistation
2. Command line:
# cd RetroPie-Setup
# git pull (or “sudo git pull”)
# sudo ./retropie_setup.sh
3. Select “Source Based Installation”
4. Select at least RetroArch, Emulationstation and runcommand.sh (Don’t select all. MAME compiles a long long time)
5. Click ok and wait.02/13/2014 at 21:37 #4917
Im running a compiled image called Ultraslim that has Emulationstation and retroarch. Im not seeing anything about retro-pie so not sure how to upgrade this.
Sorry I am really new to linux and raspberry pi. Can I download an update and copy those files to the directories?02/13/2014 at 22:02 #4918
Ultraslim has another directory structure.
1. Copy runcommand.sh to /home/pi/.emulationstation.
2. # chmod u+x /home/pi/.emulationstation/runcommand.sh
3. Edit /home/pi/.emulationstation/es_system.cfg
4. Change runcommand.sh 1 to 6 (my zip file) or 4 (current RetroPie runcommand.sh)02/13/2014 at 22:31 #4921
Ultraslim has another directory structure.<br>
1. Copy runcommand.sh to /home/pi/.emulationstation.<br>
2. # chmod u+x /home/pi/.emulationstation/runcommand.sh<br>
3. Edit /home/pi/.emulationstation/es_system.cfg<br>
4. Change runcommand.sh 1 to 6 (my zip file) or 4 (current RetroPie runcommand.sh)
This is exactly what i did. as soon as i copy the new runcommand.sh i start geting errors that it cant find runcommand.sh. The numbers after the runcommand.sh in es_system.conf might be the problem. What number do I want? ALso what about the starttype=?
Unfortuneatly I started the retropie install like you said so Im waiting on that to finish. I wonder if that will mess anything up with ultraslim?02/14/2014 at 01:26 #4926
well crap, installing the retropie setup fubard my ultraslim. now when it boots into emulationstation it goes to a black screen with a white dot in the middle. cant get out of it sigh.02/14/2014 at 15:45 #4936
Sorry! I thought you are using retropie.
Try to exit emulationstation with F4 and do a retropie full installation.02/14/2014 at 20:16 #4942
no worries. I was able to find the file that was pointing to retropie instead of retroarch. But now it seems the 2 config files are interconnected. I deleted the entire retropie directory it installed but for some reason it is still trying to pull retropie shaders. I edited the retroarch config in /etc, /emulators/retroarch, /emulators/configs/all, AND /emulators/retroarch/configs/snes/ but its still saying it couldnt load /retropie/shader.
I have NO IDEA where it is still pulling the retropie shader info. How many fricking config files does this thing need!02/18/2014 at 20:28 #4996
Please check out the attached shader presets. The shader dir = RetroPie/emulators/RetroArch/shader.
All *phosphor*.glslp are brighter now. New and interesting shaders presets:
snes_hq2xwaterpaintscanline.glslp (crisp, 720p, 1GHz Overclocking needed)
snes_hq2xwaterpaint.glslp (crisp, 1GHz Overclocking needed)
Please set video_smooth = false.
Attachments:02/19/2014 at 01:10 #4999
I’ve inserted/replaced above shader but now nothing happens (No shaders anymore)
(also video_smooth = false)
btw any way of getting these shaders to work for mame4all aswell?02/19/2014 at 19:37 #5005
I updated the whole package. Check out the attached file.
You can use shaders only with libretro cores like imame4all-libretro and fba-libretro.
Attachments:02/23/2014 at 02:03 #5116
I’ve followed the instructions to the letter as far as configuring the retroarch.cfg file and copying over the shaders, but I can’t see a bit of difference in the way any of the emulators look. How can I tell if an emulator is running? Also, is it possible to target specific shaders to specific emulators? Thanks for any help in advance.02/23/2014 at 02:04 #5117
Just to clarify my previous post, I meant to say “if a shader is running”, not an emulator. Sorry!02/23/2014 at 09:52 #5124
If you exit emulation station and there is a messages like “no shader found, use stock shader” there is something wrong. There are two possible reasons. Your retroarch.cfg is false or the shader directory is at the false position.
You can target specific shaders to specific libretro cores. The zip file contains the path “RetroPie/config”. There are examples for different targets.02/24/2014 at 03:14 #5153
Thanks for the assistance. For some reason, there is no mention of any shaders being used when I exit emulation station. I also can’t seem to bring up the in emulator menu when pressing F1, even though I activated the toggle in the cfg file. Very frustrating.02/24/2014 at 16:45 #5161
any reason these shaders wouldnt work with ultra slim?02/24/2014 at 19:18 #5177
If you use RetroPie, update RetroPie and do a source based installation.
# cd RetroPie-Setup # git pull # sudo ./retropie_setup.sh # select “Source Based Installation”02/24/2014 at 19:21 #517802/24/2014 at 20:04 #5180
going to give it one more shot updating ultra slim. If the doesnt work im going to have to do a drastic rebuild with retropie and add the applications individually.02/24/2014 at 20:05 #5181
“runcommand.sh 1â€œ = VGA
whats with all the greek looking letters after 1?02/24/2014 at 20:54 #5186
It should be “runcommand.sh 1″ = VGA 🙂02/25/2014 at 00:05 #5197
Ok now im getting the error: Failed to power on HDMI mode with explicit settings (CEA mode 4)02/25/2014 at 00:24 #5201
fixed the hdmi problem but it always gives me retroarch error and loads stock shaders02/25/2014 at 01:36 #5203
Retroarch error: failed to parse GLSL shader.
Retroarch error: failed to init shader, falling back to stock.02/25/2014 at 02:04 #5204
Success! dont know why its so picky but i ended up changing the permissions of every folder and file. Then I cleared all settings related to shaders out of the main retroarch.cfg and put them into the /*emulatorcore/retroarch.cfg and presto.
Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/