Closed derkling closed 11 years ago
Are you currently running in 800x600 or is it only the nVidia Settings Panel which is showing that ? In the second case, you have to know that this panel can't set anything for display, as it doesn't handle the screen.
I use Bublebee to stat X-Plane... and it start at 800x600... it is not possible to switch to an higher resolution when the program is running without corrupting "the rendering". Thus I suppose that if the X server is able to start using an higher resolution everything should be fine. Isn't that possible? Thanks.
You may specify a resolution in you xorg.conf.nvidia. I dunno remember however how to set it correctly. But I think this information could be found elsewhere.
If you still need it, you may take a look at this : https://github.com/Bumblebee-Project/Bumblebee-old/issues/67#issuecomment-1917728
On Mon, Jul 30, 2012 at 4:49 PM, Bruno Pagani < reply@reply.github.com
wrote:
If you still need it, you may take a look at this : https://github.com/Bumblebee-Project/Bumblebee-old/issues/67#issuecomment-1917728
Already tested this solution, unfortunately without success... In my case I've configured just a couple of modelines based on the output of "xrandr --verbose" on my laptop, but still the xorg server discard the modeline I defined and use the default one.
That's an example of the xorg I've tested:
################# XOrg.conf ########################
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
Option "UseEDID" "true"
Option "ConnectedMonitor" "DFP"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
Section "Monitor"
# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Dell XP15z"
HorizSync 28.0 - 55.0
VertRefresh 43.0 - 72.0
Option "DPI" "96 x 96"
Modeline "1400x1050" 122.0 1400 1488 1640 1880 1050 1052 1064
1082 +hsync +vsync
Modeline "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028
1066 +hsync +vsync
Modeline "1360x768" 84.8 1360 1432 1568 1776 768 771 781
798 -hsync +vsync
Modeline "1024x768" 65.0 1024 1048 1184 1344 768 771 777
806 -hsync -vsync
Modeline "800x600" 40.0 800 840 968 1056 600 601 605
628 +hsync +vsync
EndSection
#########################################
And this is the interesting part of the Xorg logfile
################# XOrg Log ########################
[ 35853.164] (--) NVIDIA(0): Valid display device(s) on GeForce GT 525M at
PCI:1:0:0
[ 35853.164] (--) NVIDIA(0): DFP-0 (connected)
[ 35853.164] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[ 35853.164] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[ 35853.164] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the
EDID for display
[ 35853.164] (**) NVIDIA(0): device DFP-0 (Using EDID frequencies has
been enabled on
[ 35853.164] (**) NVIDIA(0): all display devices.)
[ 35853.164] (WW) NVIDIA(0): No valid modes for "DFP-0:1280x1024"; removing.
[ 35853.164] (WW) NVIDIA(0): No valid modes for "DFP-0:1024x768"; removing.
[ 35853.164] (WW) NVIDIA(0):
[ 35853.164] (WW) NVIDIA(0): Unable to validate any modes; falling back to
the default mode
[ 35853.164] (WW) NVIDIA(0): "nvidia-auto-select".
[ 35853.164] (WW) NVIDIA(0):
[ 35853.164] (II) NVIDIA(0): Validated modes:
[ 35853.164] (II) NVIDIA(0): "DFP-0:nvidia-auto-select"
[ 35853.164] (II) NVIDIA(0): Virtual screen size determined to be 800 x 600
################# XOrg Log ########################
The issue seem related to modelines specifications... but as I told before these comes from xrandr.
Ciao Patrick
Patrick Bellasi Post-Doc at Politecnico di Milano http://home.dei.polimi.it/bellasi
That's normal, modes are firstly grabbed from this line: Modes "1280x1024" "1024x768"
Also, you should use modes supported by your monitor, which is probably not the case of all the 4:3 format resolutions you gave. Could you paste the xrandr --verbose output ?
Here it is:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS1 connected 1920x1080+0+0 (0x45) normal (normal left inverted right x axis y axis) 344mm x 193mm
Identifier: 0x41
Timestamp: 17745
Subpixel: horizontal rgb
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff0006afed3000000000
001401049022137802d1159e59539b27
1e505400000001010101010101010101
010101010101b03680e0703808403064
310058c11000001a752480e070380840
3064310058c11000001a000000fe0030
3052344d804231353648573300000000
00004122960111000002010a20200030
BACKLIGHT: 15 (0x0000000f) range: (0,15)
Backlight: 15 (0x0000000f) range: (0,15)
scaling mode: Full aspect
supported: None Full Center Full aspect
1920x1080 (0x45) 140.0MHz +HSync -VSync *current +preferred
h: width 1920 start 1968 end 2068 total 2144 skew 0 clock 65.3KHz
v: height 1080 start 1083 end 1084 total 1088 clock 60.0Hz
1920x1080 (0x46) 138.5MHz +HSync -VSync
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 66.6KHz
v: height 1080 start 1083 end 1088 total 1111 clock 59.9Hz
1920x1080 (0x47) 93.3MHz +HSync -VSync
h: width 1920 start 1968 end 2068 total 2144 skew 0 clock 43.5KHz
v: height 1080 start 1083 end 1084 total 1088 clock 40.0Hz
1680x1050 (0x48) 146.2MHz -HSync +VSync
h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.3KHz
v: height 1050 start 1053 end 1059 total 1089 clock 60.0Hz
1680x1050 (0x49) 119.0MHz +HSync -VSync
h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.7KHz
v: height 1050 start 1053 end 1059 total 1080 clock 59.9Hz
1600x1024 (0x4a) 103.1MHz +HSync +VSync
h: width 1600 start 1600 end 1656 total 1664 skew 0 clock 62.0KHz
v: height 1024 start 1024 end 1029 total 1030 clock 60.2Hz
1400x1050 (0x4b) 122.0MHz +HSync +VSync
h: width 1400 start 1488 end 1640 total 1880 skew 0 clock 64.9KHz
v: height 1050 start 1052 end 1064 total 1082 clock 60.0Hz
1280x1024 (0x4c) 108.0MHz +HSync +VSync
h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz
v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz
1440x900 (0x4d) 106.5MHz -HSync +VSync
h: width 1440 start 1520 end 1672 total 1904 skew 0 clock 55.9KHz
v: height 900 start 903 end 909 total 934 clock 59.9Hz
1280x960 (0x4e) 108.0MHz +HSync +VSync
h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.0KHz
v: height 960 start 961 end 964 total 1000 clock 60.0Hz
1360x768 (0x4f) 84.8MHz -HSync +VSync
h: width 1360 start 1432 end 1568 total 1776 skew 0 clock 47.7KHz
v: height 768 start 771 end 781 total 798 clock 59.8Hz
1360x768 (0x50) 72.0MHz +HSync -VSync
h: width 1360 start 1408 end 1440 total 1520 skew 0 clock 47.4KHz
v: height 768 start 771 end 781 total 790 clock 60.0Hz
1152x864 (0x51) 81.6MHz -HSync +VSync
h: width 1152 start 1216 end 1336 total 1520 skew 0 clock 53.7KHz
v: height 864 start 865 end 868 total 895 clock 60.0Hz
1024x768 (0x52) 65.0MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz
v: height 768 start 771 end 777 total 806 clock 60.0Hz
800x600 (0x53) 40.0MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz
v: height 600 start 601 end 605 total 628 clock 60.3Hz
800x600 (0x54) 36.0MHz +HSync +VSync
h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz
v: height 600 start 601 end 603 total 625 clock 56.2Hz
640x480 (0x55) 25.2MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz
v: height 480 start 490 end 492 total 525 clock 59.9Hz
VGA1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x42
Timestamp: 17745
Subpixel: unknown
Clones:
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
HDMI1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x43
Timestamp: 17745
Subpixel: unknown
Clones:
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
Broadcast RGB: Full
supported: Full Limited 16:2
audio: auto
supported: off auto on
DP1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x44
Timestamp: 17745
Subpixel: unknown
Clones:
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
Broadcast RGB: Full
supported: Full Limited 16:2
audio: auto
supported: off auto on
Ok, then try this as xorg.conf.nvidia :
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "ConnectedMonitor" "CRT-0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "Monitor""
Option "DPMS"
Modeline "1920x1080" 140.0 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync
Modeline "1920x1080" 138.5 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
Modeline "1920x1080" 93.3 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync
Modeline "1680x1050" 146.2 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
Modeline "1680x1050" 119.0 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync
Modeline "1600x1024" 103.1 1600 1600 1656 1664 1024 1024 1029 1030 +hsync +vsync
Modeline "1400x1050" 122.0 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
Modeline "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
Modeline "1440x900" 106.5 1440 1520 1672 1904 900 903 909 934 -hsync +vsync
Modeline "1280x960" 108.0 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
Modeline "1360x768" 84.8 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
Modeline "1360x768" 72.0 1360 1408 1440 1520 768 771 781 790 +hsync -vsync
Modeline "1152x864" 81.6 1152 1216 1336 1520 864 865 868 895 -hsync +vsync
Modeline "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
Modeline "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
Modeline "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
Modeline "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
EndSection
That's quite similar to one I've already tested. Anyway, by just adding an "Identifier" string into "Monitor" section, and referring this identifier as "Monitor" within "Screen" section, still I've not success. In this case the problem is related to the "ConnectedMonitor" option, CRT-0 seem to be not valid for my system, this is the error reported into Xorg.8.log:
[ 50404.077] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 50404.077] (==) NVIDIA(0): RGB weight 888
[ 50404.077] (==) NVIDIA(0): Default visual is TrueColor
[ 50404.077] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 50404.077] (**) NVIDIA(0): Option "NoLogo" "true"
[ 50404.077] (**) NVIDIA(0): Option "UseEDID" "false"
[ 50404.077] (**) NVIDIA(0): Option "ConnectedMonitor" "CRT-0"
[ 50404.077] (**) NVIDIA(0): Enabling 2D acceleration
[ 50404.077] (**) NVIDIA(0): ConnectedMonitor string: "CRT-0"
[ 50404.077] (**) NVIDIA(0): Ignoring EDIDs
[ 50405.149] (II) NVIDIA(0): NVIDIA GPU GeForce GT 525M (GF108) at PCI:1:0:0 (GPU-0)
[ 50405.149] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 50405.149] (--) NVIDIA(0): VideoBIOS: 70.08.53.00.07
[ 50405.149] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 50405.149] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[ 50405.154] (--) NVIDIA(0): Valid display device(s) on GeForce GT 525M at PCI:1:0:0
[ 50405.154] (--) NVIDIA(0): DFP-0
[ 50405.154] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[ 50405.154] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[ 50405.154] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0
[ 50405.158] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 50405.173] (II) UnloadModule: "nvidia"
[ 50405.173] (II) Unloading nvidia
[ 50405.173] (II) UnloadModule: "wfb"
[ 50405.173] (II) Unloading wfb
[ 50405.173] (II) UnloadModule: "fb"
[ 50405.173] (II) Unloading fb
[ 50405.173] (EE) Screen(s) found, but none have a usable configuration.
[ 50405.173]
Fatal server error:
[ 50405.173] no screens found
[ 50405.173]
If I keep this configuration and change gust CRT-0 with DFP-0, I got the previous result, which is a default resolution of just 800x600:
[ 50764.505] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 50764.505] (==) NVIDIA(0): RGB weight 888
[ 50764.505] (==) NVIDIA(0): Default visual is TrueColor
[ 50764.505] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 50764.505] (**) NVIDIA(0): Option "NoLogo" "true"
[ 50764.505] (**) NVIDIA(0): Option "UseEDID" "false"
[ 50764.505] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP-0"
[ 50764.505] (**) NVIDIA(0): Enabling 2D acceleration
[ 50764.505] (**) NVIDIA(0): ConnectedMonitor string: "DFP-0"
[ 50764.505] (**) NVIDIA(0): Ignoring EDIDs
[ 50764.880] (**) NVIDIA(GPU-0): Using ConnectedMonitor string "DFP-0".
[ 50764.880] (II) NVIDIA(GPU-0): Not probing EDID on DFP-0.
[ 50764.882] (II) NVIDIA(0): NVIDIA GPU GeForce GT 525M (GF108) at PCI:1:0:0 (GPU-0)
[ 50764.882] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 50764.882] (--) NVIDIA(0): VideoBIOS: 70.08.53.00.07
[ 50764.882] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 50764.882] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[ 50764.888] (--) NVIDIA(0): Valid display device(s) on GeForce GT 525M at PCI:1:0:0
[ 50764.888] (--) NVIDIA(0): DFP-0 (connected)
[ 50764.888] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[ 50764.888] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[ 50764.888] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 50764.888] (**) NVIDIA(0): device DFP-0 (Using EDID frequencies has been enabled on
[ 50764.888] (**) NVIDIA(0): all display devices.)
[ 50764.889] (WW) NVIDIA(0): No valid modes for "DFP-0:1920x1080"; removing.
[ 50764.889] (WW) NVIDIA(0):
[ 50764.889] (WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
[ 50764.889] (WW) NVIDIA(0): "nvidia-auto-select".
[ 50764.889] (WW) NVIDIA(0):
[ 50764.889] (II) NVIDIA(0): Validated modes:
[ 50764.889] (II) NVIDIA(0): "DFP-0:nvidia-auto-select"
[ 50764.889] (II) NVIDIA(0): Virtual screen size determined to be 800 x 600
[ 50764.893] (WW) NVIDIA(0): Unable to get display device DFP-0's EDID; cannot compute DPI
[ 50764.893] (WW) NVIDIA(0): from DFP-0's EDID.
[ 50764.893] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
Hum indeed sorry for CRT instead of DFP, the file was based on mine. Dunno why it can't find a valid modes, could you try adding some modes, like 1440x900 ?
On Wed, Aug 1, 2012 at 6:34 PM, Bruno Pagani < reply@reply.github.com
wrote:
Hum indeed sorry for CRT instead of DFP, the file was based on mine. Dunno why it can't find a valid modes, could you try adding some modes, like 1440x900 ?
Whatever mode I add, selecting among the modelines defined in Monitor section, the result is always the same: all modes are considered not valid:
[127929.213] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[127929.213] (==) NVIDIA(0): RGB weight 888
[127929.213] (==) NVIDIA(0): Default visual is TrueColor
[127929.213] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[127929.213] (**) NVIDIA(0): Option "NoLogo" "true"
[127929.213] (**) NVIDIA(0): Option "UseEDID" "false"
[127929.213] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
[127929.213] (**) NVIDIA(0): Option "UseDisplayDevice" "DFP"
[127929.213] (**) NVIDIA(0): Enabling 2D acceleration
[127929.213] (**) NVIDIA(0): ConnectedMonitor string: "DFP"
[127929.213] (**) NVIDIA(0): Ignoring EDIDs
[127930.155] (**) NVIDIA(GPU-0): Using ConnectedMonitor string "DFP-0".
[127930.155] (II) NVIDIA(GPU-0): Not probing EDID on DFP-0.
[127930.156] (II) NVIDIA(0): NVIDIA GPU GeForce GT 525M (GF108) at
PCI:1:0:0 (GPU-0)
[127930.156] (--) NVIDIA(0): Memory: 2097152 kBytes
[127930.156] (--) NVIDIA(0): VideoBIOS: 70.08.53.00.07
[127930.156] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[127930.156] (--) NVIDIA(0): Interlaced video modes are supported on this
GPU
[127930.158] (--) NVIDIA(0): Valid display device(s) on GeForce GT 525M at
PCI:1:0:0
[127930.158] (--) NVIDIA(0): DFP-0 (connected)
[127930.158] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[127930.158] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[127930.158] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the
EDID for display
[127930.158] (**) NVIDIA(0): device DFP-0 (Using EDID frequencies has
been enabled on
[127930.158] (**) NVIDIA(0): all display devices.)
[127930.158] (WW) NVIDIA(0): No valid modes for "DFP-0:1680x1050"; removing.
[127930.158] (WW) NVIDIA(0): No valid modes for "DFP-0:1400x1050"; removing.
[127930.158] (WW) NVIDIA(0): No valid modes for "DFP-0:1360x768"; removing.
[127930.158] (WW) NVIDIA(0): No valid modes for "DFP-0:1280x960"; removing.
[127930.158] (WW) NVIDIA(0):
[127930.158] (WW) NVIDIA(0): Unable to validate any modes; falling back to
the default mode
[127930.158] (WW) NVIDIA(0): "nvidia-auto-select".
[127930.158] (WW) NVIDIA(0):
[127930.158] (II) NVIDIA(0): Validated modes:
[127930.158] (II) NVIDIA(0): "DFP-0:nvidia-auto-select"
[127930.158] (II) NVIDIA(0): Virtual screen size determined to be 800 x 600
The problem seem to be related to the definition of modelines in monitor section, for same reason these definitions are ignored or not seen by xorg... Maybe there is a specific syntax to associate the a certain Monitor section (e.g. Monitor0) to a specific display (e.g. DFP-0)?
Cheers Patrick
Patrick Bellasi Post-Doc at Politecnico di Milano http://home.dei.polimi.it/bellasi
Are you still facing this issue ?
I am facing this issue also.. all other opengl apps works fine in higher resolutions but not X-Plane.. If i open optirun nvidia-settings -c :8 it shows 800x600 as well.
On Fri, Feb 22, 2013 at 11:40 PM, Bo Simonsen notifications@github.comwrote:
I am facing this issue also.. all other opengl apps works fine in higher resolutions but not X-Plane.. If i open optirun nvidia-settings -c :8 it shows 800x600 as well.
I've solved only recently basically by:
Primusrun provides to me not only window scalability, i.e. it is possible to start X-Plane at 800x600 and than resize the window by simply dragging it, but it also provides better "performances" since it loads less the CPU to "interact" with the external GPU.
Hope this could help you to take off more confortably! Ciao Patrick
Patrick Bellasi Post-Doc at Politecnico di Milano http://home.dei.polimi.it/bellasi
Did the trick! Thank you so much Patrick!
Hi all!
Optirun is working find on my Dell XPS15z, I've just one small issue related to resolution. If a run:
I could verify that the only one supported resolution for monitor DFP-0 is 800x600. No other resolutions, even if this laptop supports up to 1920x1080.
The
xorg.conf.nvidia
configuration file is the default one which I got with Ubuntu 12.04:How I could get a bigger resolution? Thanks, Patrick