MagnusB Posted June 17, 2008 Report Share Posted June 17, 2008 I have just installed Mandriva on a desktop with a nVidia card: 03:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 LE] (rev a1) And today I was messing about with the fonts, as they are a bit blurry, and checking nVidia Display Settings I saw the resolution was set to 1280x720, same with System - Preferences - Screen Resolution, but drakconf showed the resolution to be 1366x768 (the correct one). Just to be sure, I took a screenshot and checked, it was 1280x720. I found that strange, so I thought I had to change xorg.conf, but cat /etc/X11/xorg.conf | grep Mode gave me this: ModeLine "1366x768" 85.5 1366 1435 1578 1790 768 771 781 798 +hsync -vsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 ModeLine "1368x768_120" 185.67 1368 1472 1624 1880 768 769 772 823 -HSync +Vsync ModeLine "1368x768_100" 151.73 1368 1464 1616 1864 768 769 772 814 -HSync +Vsync ModeLine "1368x768_85" 125.67 1368 1456 1600 1832 768 769 772 807 -HSync +Vsync ModeLine "1368x768_75" 110.19 1368 1456 1600 1832 768 769 772 802 -HSync +Vsync ModeLine "1368x768_60" 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync ModeLine "1368x768_50" 69.92 1368 1424 1568 1768 768 769 772 791 -HSync +Vsync ModeLine "1360x765_120" 182.63 1360 1456 1608 1856 765 766 769 820 -HSync +Vsync ModeLine "1360x765_100" 149.22 1360 1456 1600 1840 765 766 769 811 -HSync +Vsync ModeLine "1360x765_85" 124.65 1360 1448 1592 1824 765 766 769 804 -HSync +Vsync ModeLine "1360x765_75" 108.34 1360 1440 1584 1808 765 766 769 799 -HSync +Vsync ModeLine "1360x765_60" 84.40 1360 1424 1568 1776 765 766 769 792 -HSync +Vsync ModeLine "1360x765_50" 69.34 1360 1416 1560 1760 765 766 769 788 -HSync +Vsync ModeLine "1280x720_120" 161.56 1280 1376 1512 1744 720 721 724 772 -HSync +Vsync ModeLine "1280x720_100" 131.85 1280 1368 1504 1728 720 721 724 763 -HSync +Vsync ModeLine "1280x720_85" 110.01 1280 1360 1496 1712 720 721 724 756 -HSync +Vsync ModeLine "1280x720_75" 95.65 1280 1352 1488 1696 720 721 724 752 -HSync +Vsync ModeLine "1280x720_60" 74.48 1280 1336 1472 1664 720 721 724 746 -HSync +Vsync ModeLine "1280x720_50" 60.47 1280 1328 1456 1632 720 721 724 741 -HSync +Vsync Modes "1366x768" "1360x765" "1280x720" Modes "1366x768" "1360x765" "1280x720" Modes "1366x768" "1360x765" "1280x720" Modes "1366x768" "1360x765" "1280x720" So clearly xorg.conf is correct, but the Screen Resolution utility does not allow me to increase the resolution above 1280x720. Could it be limitation in with hardware? If so, strange, I ran the max resolution on this screen with a much older Intel card. And I seem to remember that this same card allowed me to run it at 1366x769 in Windooze. Running Mandriva 2008 Spring (Powerpack), currently in GNOME but I have KDE installed as well, and running Compiz. Will check if I get the correct resolution in KDE, but I would prefer it to be correct in GNOME as well... Quote Link to comment Share on other sites More sharing options...
Greg2 Posted June 18, 2008 Report Share Posted June 18, 2008 Please attach your complete /etc/X11/xorg.conf file here for us to see? You can attach it as a .txt file if you like. Quote Link to comment Share on other sites More sharing options...
MagnusB Posted June 18, 2008 Author Report Share Posted June 18, 2008 # File generated by XFdrake (rev 234840) Section "Extensions" Option "Composite" EndSection # ********************************************************************** # Refer to the xorg.conf man page for details about the format of # this file. # ********************************************************************** Section "ServerFlags" #DontZap # disable <Ctrl><Alt><BS> (server abort) AllowMouseOpenFail # allows the server to start up even if the mouse does not work #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching) EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "glx" # 3D layer EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "no" Option "XkbOptions" "compose:rwin" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" EndSection Section "Monitor" Identifier "monitor1" VendorName "Plug'n Play" ModelName "VA1616wSERIES" HorizSync 24-82 VertRefresh 50-75 # Monitor preferred modeline (59.9 Hz vsync, 47.8 kHz hsync, ratio 16/9) ModeLine "1366x768" 85.5 1366 1435 1578 1790 768 771 781 798 +hsync -vsync # TV fullscreen mode or DVD fullscreen output. # 768x576 @ 79 Hz, 50 kHz hsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1368x768_120" 185.67 1368 1472 1624 1880 768 769 772 823 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1368x768_100" 151.73 1368 1464 1616 1864 768 769 772 814 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1368x768_85" 125.67 1368 1456 1600 1832 768 769 772 807 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1368x768_75" 110.19 1368 1456 1600 1832 768 769 772 802 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1368x768_60" 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1368x768_50" 69.92 1368 1424 1568 1768 768 769 772 791 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1360x765_120" 182.63 1360 1456 1608 1856 765 766 769 820 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1360x765_100" 149.22 1360 1456 1600 1840 765 766 769 811 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1360x765_85" 124.65 1360 1448 1592 1824 765 766 769 804 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1360x765_75" 108.34 1360 1440 1584 1808 765 766 769 799 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1360x765_60" 84.40 1360 1424 1568 1776 765 766 769 792 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1360x765_50" 69.34 1360 1416 1560 1760 765 766 769 788 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1280x720_120" 161.56 1280 1376 1512 1744 720 721 724 772 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1280x720_100" 131.85 1280 1368 1504 1728 720 721 724 763 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1280x720_85" 110.01 1280 1360 1496 1712 720 721 724 756 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1280x720_75" 95.65 1280 1352 1488 1696 720 721 724 752 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1280x720_60" 74.48 1280 1336 1472 1664 720 721 724 746 -HSync +Vsync # modeline generated by gtf(1) [handled by XFdrake] ModeLine "1280x720_50" 60.47 1280 1328 1456 1632 720 721 724 741 -HSync +Vsync EndSection Section "Device" Identifier "device1" VendorName "nVidia Corporation" BoardName "NVIDIA GeForce FX to GeForce 8800" Driver "nvidia" Option "DPMS" Option "DynamicTwinView" "false" Option "AddARGBGLXVisuals" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1366x768" "1360x765" "1280x720" EndSubsection Subsection "Display" Depth 15 Modes "1366x768" "1360x765" "1280x720" EndSubsection Subsection "Display" Depth 16 Modes "1366x768" "1360x765" "1280x720" EndSubsection Subsection "Display" Depth 24 Modes "1366x768" "1360x765" "1280x720" EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" EndSection Funny thing is that nVidia settings display it as CRT-0, doubt that it matters though. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted June 18, 2008 Report Share Posted June 18, 2008 Try logging into kde and using the KRandRTray tool(Menu>Tools>System Tools>KRandRTray). That will put the KRandRTray icon in your kicker on the right hand side. Right clicking on that icon will give you a list of the screen resolutions and refresh rates available. Quote Link to comment Share on other sites More sharing options...
medo3891 Posted June 19, 2008 Report Share Posted June 19, 2008 but the Screen Resolution utility does not allow me to increase the resolution above 1280x720 Open the Mandriva control centre>hardware>set up the graphical server>resolution. From the drop down list choose other, this should give you a much bigger list of resolutions. Does that solve the problem? Quote Link to comment Share on other sites More sharing options...
MagnusB Posted June 19, 2008 Author Report Share Posted June 19, 2008 (edited) Open the Mandriva control centre>hardware>set up the graphical server>resolution. From the drop down list choose other, this should give you a much bigger list of resolutions. Does that solve the problem? The Mandriva Control Center is set to 1366x768, but the actual resolution is 1280x720. That is why I find it so weird.. EDIT: Same issue in KDE, KRandR won't go above 1280x720. Edited June 19, 2008 by MagnusB Quote Link to comment Share on other sites More sharing options...
adamw Posted June 19, 2008 Report Share Posted June 19, 2008 Post your /var/log/Xorg.0.log . There's probably an error preventing 1366x768 from working. drakx11 is prescriptive not descriptive: that is, the resolution it shows is the one you tell it to try and set via xorg.conf . It doesn't detect what resolution is actually being *used* and tell you what that is - it just shows what you're *trying* to use. :) Quote Link to comment Share on other sites More sharing options...
MagnusB Posted June 19, 2008 Author Report Share Posted June 19, 2008 Post your /var/log/Xorg.0.log . It said: "(WW) NVIDIA(0): No valid modes for "1366x768"; removing." Complete log attached, the only thing I notice is that it calls my screen CRT-0, while it isn't a CRT screen. But since it is just a name, that shouldn't matter? Xorg.txt Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted June 20, 2008 Report Share Posted June 20, 2008 In kde, open a console and run: $ kdesu XFdrake enter the root password when prompted and the mandriva graphics configuration utility, XFdrake, should come up. Tick the "Monitor" button, then select Generic Flat Panel 1360x768. Go back and hit the Test button in XFdrake and see if it works. I also think there is something not right in the monitor detection which may be screwing things up. I'm hoping by manually setting it to Generic Flat Panel 1360x768, the problem might go away. Quote Link to comment Share on other sites More sharing options...
MagnusB Posted June 20, 2008 Author Report Share Posted June 20, 2008 Didn't work, don't think it is a issue with the screen detection, I think it has something to do with the nVidia driver. I tried nvidia-xconfig as well, but no change. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted June 20, 2008 Report Share Posted June 20, 2008 Just to make sure I'm on the same page, you have this ViewSonic lcd: http://www.pcwb.com/catalogue/item/A0419279?cidp=Ciao If that's the case, nothing jumps out at me in your xorg.conf file that looks wrong. I think the nvidia driver is the likely cluprit. I would check the nvidia ReadMe or errata file if one is installed on your system. There may be something you can do in xorg.conf to work around this problem. Quote Link to comment Share on other sites More sharing options...
MagnusB Posted June 20, 2008 Author Report Share Posted June 20, 2008 (edited) It looks like it, but it is actually 15.something, I guess they have just rounded it off. I am pretty sure it has something to do with the nVidia driver, and I just noticed it was a newer version available in the repository (I use 169.12 I think). But when I installed it, urpmi did not remove the old one, will this matter? I am used to debian based distributions, I feel a bit lost in Mandriva at times, but I can't help loving it :) EDIT: That was not a good idea, no X after the "update". Changed to vesa, got actually 1280x1024, I think, which more or less confirmed it to be a driver issue.... Edited June 20, 2008 by MagnusB Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 20, 2008 Report Share Posted June 20, 2008 I'd hazard a guess that you had the wrong driver. If the newer one didn't work, this could be that your kernel source isn't installed, or that not all of the dkms packages are installed. Or that the newer one didn't support your card. Do you have all repos enabled? Including the plf-free and nonfree repos? Also, please post output of: rpm -qa | grep -i kernel rpm -qa | grep -i dkms uname -r so that we can see what you've got available. Quote Link to comment Share on other sites More sharing options...
MagnusB Posted June 21, 2008 Author Report Share Posted June 21, 2008 This is after removing the newer version of the driver: kernel-desktop-latest-2.6.24.5-2mnb1nvidia-current-kernel-2.6.24.4-desktop-1mnb-169.12-4mdv2008.1 kernel-desktop-2.6.24.5-2mnb-1-1mnb1 nvidia-current-kernel-desktop-latest-169.12-1.20080612.4mdv2008.1 kernel-desktop-2.6.24.4-1mnb-1-1mnb1 kernel-headers-2.6.24-6mnb1 kernel-desktop-devel-2.6.24.4-1mnb-1-1mnb1 nvidia-current-kernel-2.6.24.5-desktop-2mnb-169.12-4mdv2008.1 dkms-2.0.19-4.3mdv2008.1dkms-minimal-2.0.19-4.3mdv2008.1 dkms-nvidia-current-169.12-4mdv2008.1 2.6.24.5-desktop-2mnb I also compared those nvidia packages to the one available for the newer driver, and found that the nvidia-currrent-kernel was missing. I also ran a test last night, using the Linux Mint 5 live CD, where I could run at 1366x768 using the nv driver (I think, xorg.conf is not complete under a live session, it seems). The newest version in the repositories is 173.14.09, just checked with the nVidia site, the newest available from them is 177.13 And I have all repositories enabled, even PLF, was one of the first things I did, using Easy-Urpmi here. I don't have any of the backports or testing repositories enabled, though. Quote Link to comment Share on other sites More sharing options...
MagnusB Posted June 24, 2008 Author Report Share Posted June 24, 2008 Well, it is pretty much a driver issue. I get the correct resolution if I use nv in both Mint and OpenSuSE 11, but the second I install the nVidia driver, I am thrown back to 1280x1024. This is the case with both 169.12 and the one available through Envy NG, and the one available in OpenSuSE. Seems like I have a choice between accelerated graphics and correct resolution. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.