romanParticipant12/16/2013 at 19:26Post count: 24
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.AnonymousInactive12/19/2013 at 01:25Post count: 4
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?supersirlinkParticipant12/19/2013 at 03:13Post count: 42
I had similar results… If you browse and apply one through the RGUI, I just get a black screen as well…AnonymousInactive12/19/2013 at 03:23Post count: 4
[quote=3622]I had similar results… If you browse and apply one through the RGUI, I just get a black screen as well…[/quote]
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.romanParticipant12/23/2013 at 18:16Post count: 24iphitusParticipant12/24/2013 at 11:12Post count: 1
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.gizmo98Participant01/15/2014 at 20:10Post count: 452
Phosphor shader runs smooth and looks good.
I have attached a collection of converted shaders.romanParticipant01/23/2014 at 02:45Post count: 24
That’s it! Those shaders work perfectly.
Thank you so much gizmo98, you’re the man!AnonymousInactive01/31/2014 at 01:37Post count: 12
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.shgizmo98Participant02/05/2014 at 19:05Post count: 452
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/RetroArchShaderprimeformParticipant02/12/2014 at 21:28Post count: 14
Man i cannot figure this out. keep getting errors about runcommand. Want to get this to work badly.gizmo98Participant02/13/2014 at 18:16Post count: 452
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.primeformParticipant02/13/2014 at 21:37Post count: 14
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?gizmo98Participant02/13/2014 at 22:02Post count: 452
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)primeformParticipant02/13/2014 at 22:31Post count: 14
[quote=4918]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?primeformParticipant02/14/2014 at 01:26Post count: 14
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.gizmo98Participant02/14/2014 at 15:45Post count: 452
Sorry! I thought you are using retropie.
Try to exit emulationstation with F4 and do a retropie full installation.primeformParticipant02/14/2014 at 20:16Post count: 14
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!gizmo98Participant02/18/2014 at 20:28Post count: 452
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.peanutParticipant02/19/2014 at 01:10Post count: 65
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?gizmo98Participant02/19/2014 at 19:37Post count: 452
I updated the whole package. Check out the attached file.
You can use shaders only with libretro cores like imame4all-libretro and fba-libretro.bw38Participant02/23/2014 at 02:03Post count: 3
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.bw38Participant02/23/2014 at 02:04Post count: 3
Just to clarify my previous post, I meant to say “if a shader is running”, not an emulator. Sorry!gizmo98Participant02/23/2014 at 09:52Post count: 452
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.bw38Participant02/24/2014 at 03:14Post count: 3
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.primeformParticipant02/24/2014 at 16:45Post count: 14
any reason these shaders wouldnt work with ultra slim?gizmo98Participant02/24/2014 at 19:18Post count: 452
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”gizmo98Participant02/24/2014 at 19:21Post count: 452primeformParticipant02/24/2014 at 20:04Post count: 14
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.primeformParticipant02/24/2014 at 20:05Post count: 14
“runcommand.sh 1â€œ = VGA
whats with all the greek looking letters after 1?gizmo98Participant02/24/2014 at 20:54Post count: 452
It should be “runcommand.sh 1″ = VGA :)primeformParticipant02/25/2014 at 00:05Post count: 14
Ok now im getting the error: Failed to power on HDMI mode with explicit settings (CEA mode 4)primeformParticipant02/25/2014 at 00:24Post count: 14
fixed the hdmi problem but it always gives me retroarch error and loads stock shadersprimeformParticipant02/25/2014 at 01:36Post count: 14
Retroarch error: failed to parse GLSL shader.
Retroarch error: failed to init shader, falling back to stock.primeformParticipant02/25/2014 at 02:04Post count: 14
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.
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.