-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Set Device Index for User 1 Input #6724
Comments
Is it possible to test other gamepads or does RetroArch only have an issue with the WiiU Gamepad Pro? |
I also tested with a Saitek USB gamepad and had the same issue. |
Can you also test the current master? Here are some directions to build and run RetroArch without snap.
Does the issue persist? Maybe not related, but one issue I see in your log is.
|
In true "me" fashion, I've attempted to follow your instructions and created a new issue in the process. I cloned the latest master and did ./configure && make as instructed, and the make process actually does complete - so the code does compile. However, when calling I've included the cofig/compile logs just in case there's something useful there. As far as Wayland goes, Ubuntu moved back to XOrg in 18.04. |
Can you try this then.
After that sharing the log here could help understand why its not starting. |
The log is here. I'm uncertain how to fix this issue, as I can confirm the graphics driver is indeed present, since the snap works fine. Also, in this instance's retroarch.config, I set the video driver to xvideo, not the "ext" value offered.
|
I would suggest moving the your configuration file out of the way so the next time RetroArch starts it will generate a fresh configuration file with hopefully good defaults. You can later use |
In diff it's difficult to see the changes. Something like diffuse, diffmerge or vimdiff or even the git diff (though i don't know how to use that without a repository) where both files show side by side and the changes are color highlighted is better for humans. |
Same problem, essentially:
|
That is the wrong config file. Try.
|
The same (well, similar) problem. Command executed from home, so there was
no need for the $HOME call.
```
patches@mir:~$ mv .config/retroarch/retroarch.cfg
.config/retroarch/retroarch.cfg.bak
patches@mir:~$ cd RetroArch
patches@mir:~/RetroArch$ ./retroarch -v
[INFO] RetroArch 1.7.3 (Git 2771f8c)
[INFO] === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES
Built: May 5 2018
[INFO] Version: 1.7.3
[INFO] Git: 2771f8c
[INFO] =================================================
[ERROR] Couldn't find any video driver named "ext"
[INFO] Available video drivers are:
[INFO] null
[WARN] Going to default to first video driver...
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 29970.03 Hz.
[INFO] [Video]: Video @ 960x720
[ERROR] Couldn't find any video driver named "ext"
[INFO] Available video drivers are:
[INFO] null
[WARN] Going to default to first video driver...
[ERROR] Using the null video driver. RetroArch will not be visible.[INFO]
[Video]: Graphics driver did not initialize an input driver. Attempting to
pick a suitable driver.
[ERROR] [Video]: Cannot initialize input driver. Exiting ...
[ERROR] Fatal error received in: "video_driver_init_input()"
[ERROR] This core requires a content file, could not load content.
```
…On Sun, May 6, 2018 at 12:19 PM, orbea ***@***.***> wrote:
That is the wrong config file.
Try.
mv $HOME/.config/retroarch $HOME/.config/retroarch.bak
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6724 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZnbbTKWLp6ENF6jqtRFtEGTGXFqW0UUks5tvxSegaJpZM4TzcMF>
.
|
Alright, how about if you edit It should look like this.
|
This creates the similar result, shown below. It is interesting to note
that throughout this process my snap install of RetroArch has continued to
operate just fine, with the obvious exception that the original issue
persists. Also of note: the new config at `.config/retroarch/retroarch.cfg`
contains only two lines, shown beneath the log output.
```
patches@mir:~$ gedit ~/.config/retroarch/retroarch.cfg
patches@mir:~$ ./RetroArch/retroarch -v
[INFO] RetroArch 1.7.3 (Git 2771f8c)
[INFO] === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES
Built: May 5 2018
[INFO] Version: 1.7.3
[INFO] Git: 2771f8c
[INFO] =================================================
[ERROR] Couldn't find any video driver named "gl"
[INFO] Available video drivers are:
[INFO] null
[WARN] Going to default to first video driver...
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 29970.03 Hz.
[INFO] [Video]: Video @ 960x720
[ERROR] Couldn't find any video driver named "gl"
[INFO] Available video drivers are:
[INFO] null
[WARN] Going to default to first video driver...
[ERROR] Using the null video driver. RetroArch will not be visible.[INFO]
[Video]: Graphics driver did not initialize an input driver. Attempting to
pick a suitable driver.
[ERROR] [Video]: Cannot initialize input driver. Exiting ...
[ERROR] Fatal error received in: "video_driver_init_input()"
[ERROR] This core requires a content file, could not load content.
```
```
config_save_on_exit = "true"
video_driver = "gl"
```
|
Seems like something has completely screwed with the default RetroArch paths. Is there an |
I asked in the #retroarch irc channel and was told this may help your initial issue.
And I guess your real config file is in |
Yes, that is the location of the config file for the snap version of Retroarch. Just to be on the safe side I did mv it off for a backup. The latest master build you had me testing still does not boot. Not entirely sure what the issue is there. Connecting the snap plugs also did not resolve the issue. Is it possible there's another plug necessary when the controller in question is connected via bluetooth? |
I had exactly the same issue in Ubuntu 18.04 on my Mac. In the Ubuntu Software Store, I today switched from 'Stable' to 'Edge', and my PS4 controller was finally recognized via USB. I cannot tell although since when this has been fixed, but now it works - many thanks :-). |
@ZAdamMac do you still reproduce with the issue with latest snap ? Can you try this ? Thank you. P.S = It would have been better to open the issue to the dedicated repository. |
I can confirm that this is now mostly working. I'm still having an issue with axis passthrough (that is, my joystick inputs are getting eaten somewhere), but since that's a global problem with ALL apps at the moment I'm quite sure the fault is not in Retroarch. Thanks. |
Reported as fixed in the above comment so I am going to close this, please let us know if there are any other issues! |
Description
Latest Stable Snap on Ubuntu 18.04 LTS
When attempting to configure retroarch to make use of the WiiU Gamepad Pro as the player 1 input, the input device options do not allow this (or any other) device to be indexed, and retroarch accepts inputs only from the keyboard itself. (As you'll see from the logs below this behaviour is observed using the hid input driver, but it also occurs using x as the input driver.)
Expected behavior
The device index should be able to be set to the corresponding device, and Bind All should then bind correctly.
Actual behavior
No devices can be set through the device index menu option. Further, no keys are detected in binding.
In order to eliminate the possibility the device itself is not playing nice, I first used
xwiishow
from the xwiitools package to display the device outputs. After that I further confirmed it withjstest-gtk
. The gamepad Pro successfully maps to the /dev/input/js0 device.Below are the runtime logs. Note that neither the
hid
joystick driver (which actually has a gamepad pro retropad autoconfig associated with) nor thelinuxraw
driver (which supposedly calls the joystick directly) works. Setting the input driver to any value to the most-modernudev
breaks input until the config file is manually reverted to the old value - even the keyboard is ignored.Steps to reproduce the bug
retroarch -v
for a logged sessionBisect Results
Immediately from a fresh install of the latest snap. Previously a few games had been tested using the gambatte core, but after play testing it became clear I was going to need a controller, and here we are.
Version/Commit
You can find this information under Information/System Information
Environment information
The text was updated successfully, but these errors were encountered: