Project

General

Profile

Actions

Emulator Issues #4119

closed

OpenGL: No resolution found (Linux)

Added by paolo.palmieri about 13 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
Category:
GFX
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
Yes
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

In the Display configuration dialog, the "Fullscreen Display Resolution" option only shows the text "No resolutions found" (yes, the typo too). This way it's impossible to select any resolution, and the one currently used by the system is used.

I first encountered the bug at revision r7151 (but of course I do not try each and any of them...). Last revision I checked (r7189) still had the problem. Last build I tried that did work was r7085. However, if I reinstall that build and then upgrade to a new one, the resolution option will work until I restart X. A new X session will bring back the bug.

System Info:
Linux 64-bit (Archlinux)
NVIDIA 8200 (driver ver. 260.19.36)

Actions #1

Updated by danialhorton about 13 years ago

eww, release 260 drivers were bad.

Actions #2

Updated by glennricster about 13 years ago

What is the typo? "No resolutions found" is spelled correctly.

It sounds like you have something wrong with your system configuration. If you run dolphin-emu from a terminal what messages do you get? Have you tried using xrandr from the command line? What happens with that?

Actions #3

Updated by glennricster about 13 years ago

If you don't respond soon, I am going to mark this issue as invalid. I can't replicate it on any of the three computers that I have tested.

Actions #4

Updated by paolo.palmieri about 13 years ago

Sorry for the delay, but I couldn't post anything for a few days.

I tried again today with r7239. Same result: in the Display dialog I get only the "" option for "Fullscreen Display Resolution". Same in my Dolphin.ini:

[Display]
FullscreenResolution =

I tried to manually edit it (putting "1280x720"), but when I run dolphin-emu everything is back as it was. Below you can find the output when I run dolphin-emu form the shell, and the output for xrandr (both seem OK).

I can't see why it would be my system configuration, since if I downgrade to r7085 it works again...

Actions #5

Updated by glennricster about 13 years ago

Can you build dolphin by adding -DFASTLOG=ON to the cmake command line? Then set the log verbosity to debug in the log configuration window, and restart dolphin from a terminal. Then give me the terminal output you get from that.

Editing the ini file won't help if xrandr doesn't detect your screen resolutions.

Actions #6

Updated by glennricster about 13 years ago

Also, can you run "xrandr --version" and tell me what version of xrandr you have?

Actions #7

Updated by paolo.palmieri about 13 years ago

I recompiled dolhin with te flag you suggested (r7339). The debug output is attached (dolphin-emu.commandline-debug).

At some point in the file I noticed the sentence: "Failed to obtain fullscreen size. Using current desktop resolution for fullscreen." But it doesn't give any explanation...

On the other note, here my xrandr --version output:
xrandr program version 1.3.4
Server reports RandR version 1.3

Actions #8

Updated by glennricster about 13 years ago

Ok, that helps very little. I know that your xrandr program and server version should work with the code in dolphin. Your nvidia driver should be fine also. Have you made any modifications to your xorg.conf (or equivalent) file? For example, have you set specific mode lines in the file?

Actions #9

Updated by thomas.lindroth almost 13 years ago

I take it that randr is needed for switching to fullscreen? Is that the normal way of doing it? I'm using an nvidia twinview setup so no randr support for me but plenty of apps can switch the display mode.

Actions #10

Updated by glennricster almost 13 years ago

Yes, randr is used to switch fullscreen. This is a perfectly normal way of doing it. Are you sure that you don't have randr on your system? It is by default on most linux systems. Even if you are using nvidia with twinview. There is a good chance that many of those apps you are referring to are using randr to do change display modes.

Actions #11

Updated by thomas.lindroth almost 13 years ago

I was wrong. I'm not using twinview, I'm using old school xinerama and that disables randr. I don't get any vsync using xvideo on the 2:nd monitor unless I use xinerama.

The apps I'm referring to are any SDL based game.

Actions #12

Updated by glennricster almost 13 years ago

SDL uses xf86vm mode switching. We used to use that, but Xrandr is better. Also, Xinerama doesn't disable Xrandr either.

Actions #13

Updated by webgeek1234 almost 13 years ago

I use Xinerama and have the same problem. When Xinerama is used to span monitors on multiple video cards, it currently disables RandR. I don't know if it works on one card or not, I don't have time to test that on my system right now.

$ xrandr --version
xrandr program version 1.3.4
RandR extension missing

Actions #14

Updated by glennricster almost 13 years ago

The conflict between Xinerama and Xrandr should only be a problem when you are using multiple GPUs, and in if you have such a setup you will have to disable Xinerama to use the fullscreen settings with dolphin. This conflict between Xinerama and Xrandr is not a bug in dolphin, but in Xinerama and Xrandr. Xinerama and Xrandr integration is being worked on by the developers of those extensions. Until they fix this problem you will have to find another way around the issue.

Actions #15

Updated by andreik7 about 12 years ago

I have the same issue running with a radeon hd graphics card using the 12.3 catalyst drivers and version 11.4 xorg.

Actions #16

Updated by Billiard26 over 11 years ago

  • Status changed from New to Won't fix
  • Category set to gfx
  • Relates to usability set to Yes
  • Operating system N/A added

Apparently caused by Xinerama/Xrandr conflict.

Actions

Also available in: Atom PDF