-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Qt interface did not work under Linux #737
Comments
did you read the log? You must have ui_atlas.zim in /assets under the directory you run PPSSPP from. |
@hrydgard Now I got the following output: Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated. Core file of blocked state (dumped with SIGQUIT) |
See this: Move the setting of coreState into the win32 ifdef and try if that works. (Core/Core.cpp) |
@hrydgard Used gdb to analyze the blocked state, here are back trace messages: It seems that the problem is in the qtmobility's qtmedia module, as I haven't installed pulseaudio sever and the qtmedia module was trying to connect to it to play sudio, and eventually as a result it blocks at that point. I'll test with pulseaudio server installed tomorrow. Also suggesting that if pulseaudio was the problem, we might also have to add a fallback option in the application to not use pulseaudio for audio output while it is not reachable, because a lot of Linux users especially Arch Linux users following the KISS principle would not like to install pulseaudio server. |
Oh, yes, I hit the same problem. I had to comment out the audio code in QtMain.cpp and I think QtHost.cpp to make it run. Also, Qt should probably have the VFS reader look in more places for the assets/ dir, e.g. .. or something. -[Unknown] |
@unknownbrackets |
Both the new and delete here: And then I made NativeMix do nothing (wasn't sure if mattered): I assume this disables sound, of course... -[Unknown] |
Rebuild the application with the latest sources from git, confirmed that this bug was repaired. |
This bug appeared again in the latest source code from git The application behavior is exactly the same as what has been discussed in this issue. Here is back trace information: I still thinks that this is an issue with auto-switching to alsa direct output while pulseaudio is not available. But as pulseaudio met with serious problem on my laptop due to hardware issues, I cannot test to confirm whether this bug was indeed about pulse... Can anyone do that? Also, @unknownbrackets 's little hack of disabling the audio part would also make the application work. |
Application was built with qmake.
While executing the application, a window shows up like below:
Then the application blocks, even not responding to the close action of the window.
The application blocks with following output:
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
I: ../native/file/zip_read.cpp:203: I: Registered VFS for prefix : assets/
I: ../native/file/zip_read.cpp:203: I: Registered VFS for prefix : ./
QMetaObject::connectSlotsByName: No matching signal for on_MainWindow_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_language_changed(QAction*)
05:48:238 ../Qt/QtHost.cpp:222 I[BOOT]: NativeInitGraphics - should only be called once!
Unable to create a connection to the pulseaudio context
I: ../native/file/zip_read.cpp:220: I: Prefix match: (ui_atlas.zim) -> ui_atlas.zim
I: ../native/file/zip_read.cpp:220: I: Prefix match: (ui_atlas.zim) -> ui_atlas.zim
E: ../native/file/zip_read.cpp:229: E: Missing filesystem for ui_atlas.zim
Failed to load texture
05:48:284 ../Qt/EmuThread.cpp:162 I[BOOT]: Starting up hardware.
Environment Information:
Distribution: Arch Linux
Kernel: Linux 3.7.2 with pf patch
DE: KDE 4.10.0-1
SDL Version: 1.2.15-3
Qt Version: 4.8.4-3
Locale: zh_CN.UTF8
The text was updated successfully, but these errors were encountered: