i think i found a bug with the vram limit and Volume sliders
-
each time i use the vram limit and volume sliders i have an odd issue, if i scroll down to the vram limit and i press right on dpad one it will move me down one, and when im going up to the vram limit (usually from the first issue) and i just tap the right it will move me up to the beginning of the menu even if im not hold any buttons, i can scroll just fine on my roms without issues, but this issue is with the vram limit and volume sliders, my games dont react funny to me pressing the right dpad button like it does in the sliders, is this a bug or is it just my issue? im on retropie 4.2 on a raspberry pi 3
-
@thedigi321 curious, what controller are you using?
-
I'm having the same issue with the volume slider and vram in es. I'm using raspberry pi 3, Xbox 360 wireless controller. I can move the volume slider with my dragon rise joystick but as soon as I go back to the volume settings with my Xbox controller the slider is back to 0 and the issue persists. I also can't get any system sounds. Emulator sounds work just fine though.
-
@edmaul69 logitech f310
-
@alrdtakn1 yeah i had the same issue check the console by pres F4 on the menu screen(you should see a command line
mine is set to 0 because i used raspi-config to set it in the mixer i have logitech G430s so i have a built in volume control i use, but yours should have 3 or 4 options auto, hdmi, 3.5mm jack, reset to default, or mixer, i went with mixer and it should have a sound bar, so first i would select what you are using(i did it with 3.5mm jack, but if you use usb audio you should probably use the mixer, to do it in the mixer select the option to go to the mixer, then i think it is F6 to select a card, SND_BCM2835 is the built in stuff like 3.5, and it woud say something like <PCM> and then it would have your card name, it could be anything like mine is Logitech's card or something, like the USB card i think you can select 3.5mm using SND_BCM2835 if there is no error before pi@retropie(something in white talking about lvl0) also check your config in /boot/ (with sudo nano /boot/config.txt you are looking for a line that says "loads SND_BCM2835" and it will probably have a line under it like dtparm=audio=on(google that to make sure i typed that right) if it doesnt add it
-
@thedigi321 Thanks for all that info. I tried messing around with various settings and I'm still getting the bouncing selection when attempting to adjust the sound settings in es. I still also have no sound in es when selecting a rom, once again the in game sound works perfectly though. I also noticed when going to the console by pressing f4 I get "lvl: VolumrControl::init()- Failed to find mixer elements!" I'm sure that is a huge hint but Im still learning.
EDIT: so after some Googling and re-reading what you were saying, I am only outputting the audio through hdmi. I have a wired 360 controller, a cheap USB snes controller, dragon rise arcade stick, and wireless keyboard. Is it detecting one of those as a sound card?
-
So I found out the reason I didn't have any sound in es was because of the theme I was using. I was using Cygnus theme, switched it comic book theme and now I have es sounds. However I still am having the same failed notice, and issues with moving the volume bar and vram also.
-
@alrdtakn1 have you tried with a different controller or a keyboard? I tested on 3 pi 's and had no issues.
-
So the dragon rise allows me to change the slider with no issue. It's just the Xbox wired 360 controller. I am using what i believe is the xpad driver. In Retropie Setup I only have the xpad driver installed it doesn't say I have the Xboxdrv installed. Don't know if that helps.
-
@alrdtakn1 said in i think i found a bug with the vram limit and Volume sliders:
"lvl: VolumrControl::init()- Failed to find mixer elements!"
I have the same exact issue. I get "lvl: VolumrControl::init()- Failed to find mixer elements!" every time I move to the Retropie menus and back. My 3.5mm speaker is working though.
And I have erratic controller scrolling in the vram and trying to set ES system volume (i can't).
Both thing only came up recently. I have been using the same 4.2 with usb xbox 360 controller and 3.5mm speaker the whole time. I have the Comic Book theme and have run all updates.
I can't even set the ES system volume because of the scrolling that has started, so I posted a different thread trying to find out if that setting is in a config file somewhere, but I'd really like to solve both these problems. -
I switched from 3.5mm audio to HDMI audio and stopped getting "lvl: VolumrControl::init()- Failed to find mixer elements!" messages, but my ES scrolling is still whacko.
-
same issue here for me too, using 8bitdo controller - when on volume option and slider, it moves down or up depending on how you got to it.
-
I suspect it isn't something introduced recently, unfortunately, as that component hasn't been touched in 3 years:
https://github.com/RetroPie/EmulationStation/blob/master/es-core/src/components/SliderComponent.cpp
That being said, this report isn't isolated - I believe @TMNTturtlguy suggested that this was happening to him as well a few months ago using a DS4 on his end, though we didn't think much of it given that it doesn't seem to be easily replicable, nor that widespread. He used other controllers and it was fine.
I'm referring to the slider, not to the audio piece. Note taken. If anyone can share a small video, given that I can't replicate it on my end, and explain what exactly you're doing at each step so we understand what inputs you're pressing to make whatever's happening on the screen happen, it would be great so that others can follow.
I think there are some settings there for audio now, that may hopefully help you route the audio through the right port - or maybe you need to change settings on the /boot/config.txt file for that.
I'm not sure, as I only use HDMI audio.
Just suggesting that these two issues might not be related, for the sake of clarity and adequate follow through.
-
@pjft , here is a video while using my usb xbox 360 and its dpad. if i use a usb buffalo classic gamepad it works fine.
https://streamable.com/ynr7v -
@ckp Thank you!
This is extremely helpful. Let me see if anything stands out in the code, then, as it's not related to controlling the actual slider then (which was what the previous comments seemed to suggest).
-
@pjft , the slider itself works for me. if i press up and down like mad along with right or left it will move the slider a couple numbers as it passes through the setting. it think all this worked with my xbox 360 right after i installed the 4.2 image, but stopped sometime after, like maybe after i ran the all-updates thing.
-
@ckp I see. It might be a driver thing, but I'm surprised then by the variety of controllers it seems to affect.
I just tried it out on my end and it doesn't seem to act that way, for better or for worse.
Browsing through the code didn't raise any immediate concerns so far either, so this will have to go on the "to look into at a later stage" thing.
I'll add it to my list, though it'll be hard to nail down as I can't obviously replicate it. I'll reach out to the group here for testing - unless someone who suffers from it would like to take a stab at trying to fix it, though.
-
also part of the issue in this thread is the volume slider going back to 0 after it was set higher. I saw that too when I was trying to use 3.5mm speaker connected, but since changing that to HDMI, it keeps the volume setting.
-
which config file and setting has the volume slider setting in case i ever want to change it and not have to plugin a different controller?
-
It only started to happen to me when I updated the build to 4.2.8, all previous builds were fine. Hope this helps.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.