Kirjoittaja Aihe: NVIDIA Reoluutio asetukset consolin kautta+1366x768 resoluutio fx5500 kortilla  (Luettu 4262 kertaa)

PPH

  • Käyttäjä
  • Viestejä: 34
    • Profiili
Moi

Minulla on ubuntussa käytössä nvidian omat ajurit.
Onnistuin laittamaan asetuksista sellaiset resoluutiot päälle joita monitori ei tue.
No nyt näyttäisi siltä että nvidian ollessa kyseessä mitään resoluutio asetuksia ei ole tiedostossa /etc/X11/xorg.conf.
Näen asetukset siten että menen konsoliin ctrl-alt-f4 yhdistelmällä ja kirjoitan:
Koodia: [Valitse]
sudo DISPLAY=0.0 xrandr -qMutta jos yritän muuttaa resoluutiota komennolla:
Koodia: [Valitse]
sudo DISPLAY=0.0 xrandr -s 640x480
,saan vain jotain virheilmoituksia joita ei ehdi näkemään (jotain fatal erroria) ja sitten käyttöliittymä käynnistyy uusiksi. Voiko noita resoluutio asetuksia muuttaa suoraan johonkin fileen?

« Viimeksi muokattu: 19.07.09 - klo:15.01 kirjoittanut PPH »

PPH

  • Käyttäjä
  • Viestejä: 34
    • Profiili
Vs: NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #1 : 18.07.09 - klo:22.28 »
No nyt sain ne virheilmoitukset näkyviin:
XIO: fatal IO error 11 (resource temporarily unavailable) on X serve ":0.0
after 12 requests (9 know processed) with 0 events remaining.

PPH

  • Käyttäjä
  • Viestejä: 34
    • Profiili
Vs: NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #2 : 18.07.09 - klo:22.45 »
Katsoin tuon nvidian config filenkin:
~/.nvidia-settings-rc
Mutta tuossakaan ei ollut mitään resoluutioon viittaavaa, missähän filessä ne asetukset oikein on...

Tomin

  • Palvelimen ylläpitäjä
  • Käyttäjä / moderaattori+
  • Viestejä: 11443
    • Profiili
    • Tomin kotisivut
Vs: NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #3 : 18.07.09 - klo:22.46 »
Oletko kokeillut käynnistää uudelleen?
Automaattinen allekirjoitus:
Lisäisitkö [RATKAISTU] ketjun ensimmäisen viestin aiheeseen ongelman ratkettua, kiitos.

PPH

  • Käyttäjä
  • Viestejä: 34
    • Profiili
Vs: NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #4 : 18.07.09 - klo:22.49 »
Joo oon yrittänyt käynnistellä uudestaan, mutta ei se auta kun GUI käynnistyy aina resoluutiolla joka ei ole tunnistettava monitorissa. Pitäisi päästä jostain muuttamaan se resoluutio nyt.

Tomin

  • Palvelimen ylläpitäjä
  • Käyttäjä / moderaattori+
  • Viestejä: 11443
    • Profiili
    • Tomin kotisivut
Vs: NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #5 : 18.07.09 - klo:23.25 »
No sitten kokeile lisätä ne modet sinne xorg.conf:iin, vaikka tällä ohjeella: http://linux.fi/index.php/X.orgin_asetukset
Eli rivejä mitä pitäisi löytyä (screen-kohdasta):
Koodia: [Valitse]
   Subsection "Display"
       Depth       24
       Modes       "1024x768" "800x600" "640x480"
   EndSubsection
Ilmeisesti osaat sen verran (ja ehkä enemmän), että tämän perusteella osaat sinne niitä lisätä ja laittaa sopivia tietoja. :) Jatkan huomenna (jos tarvetta), koska menen nyt nukkumaan. :)
Automaattinen allekirjoitus:
Lisäisitkö [RATKAISTU] ketjun ensimmäisen viestin aiheeseen ongelman ratkettua, kiitos.

PPH

  • Käyttäjä
  • Viestejä: 34
    • Profiili
Vs: NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #6 : 19.07.09 - klo:00.36 »
Yritin lisäillä tuon Modes rivinkin mutta se ei auttanut, jotenkin noita xorg.confin resoluutioita ei käytetä silloin kun on nvidian ajurit päällä.
Mutta sitten laitoin että:
Koodia: [Valitse]
rm ~/.config/monitors.xmlja käynnistin uudelleen niin sain taas resoluution 1280x720 takaisin ja GUI toimii.
Nyt pitäisi vain saada vaihdettua tuo 1280x720 resoluutio jotenkin 1366x768 resoluutioksi, mutta en tiedä mistä se tehdään.
NVIDIA-SETTINGs valikossa ei moista resoa löydy ja xconfistakaan tuo ei niitä hae...
« Viimeksi muokattu: 19.07.09 - klo:00.38 kirjoittanut PPH »

PPH

  • Käyttäjä
  • Viestejä: 34
    • Profiili
Vs: NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #7 : 19.07.09 - klo:01.42 »
Tälläistä olen nyt kokeillun tuon resoluution saamiseksi oikeaksi:
Koodia: [Valitse]
cvt 1366 768 60Joka antaa jostain kumman syystä tälläisen tuloksen:
Koodia: [Valitse]
# 1368x768 59.88 Hz (CVT) hsync: 47.79 kHz; pclk: 85.25 MHz
Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
Jossa siis tuo vaakaresoluutio on kaksi pikseliä väärä, no päätin jatkaa:
Koodia: [Valitse]
xrandr --newmode "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync
xrandr --addmode default 1368x768_60.00
xrandr --output default --mode 1368x768_60.0
Josta tuloksena on vain:
Koodia: [Valitse]
0
xrandr: Configure crtc 0 failed
Sama tulos jos käyttää cvt:n tilalla gft:tä.

PPH

  • Käyttäjä
  • Viestejä: 34
    • Profiili
Vs: NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #8 : 19.07.09 - klo:03.58 »
Kyllä se sitten lopulta vain toimi xorg.conf:ia säätämällä, vaikka yhdessä vaiheessa vaikutti siltä ettei niillä asetuksilla ole vaikutusta-
Eli tälläiset rivit laitoin sinne jos joku painii saman ongelman kanssa:
Koodia: [Valitse]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildd@palmer)  Thu Jun 26 06:22:40 UTC 2008
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@palmer)  Mon Nov  3 08:46:46 UTC 2008
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
Identifier     "Configured Monitor"
EndSection

Section "Monitor"
Identifier     "Monitor0"
VendorName     "Unknown"
ModelName      "BenQ E900HD"
HorizSync       31.0 - 83.0
VertRefresh     55.0 - 76.0
[b]Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync[/b]
EndSection

Section "Screen"
Identifier     "Default Screen"
Device         "Configured Video Device"
Monitor        "Configured Monitor"
DefaultDepth 24
EndSection

Section "Screen"
Identifier     "Screen0"
Device         "Device0"
Monitor        "Monitor0"
Option         "TwinView" "0"
Option         "TwinViewXineramaInfoOrder" "CRT-0"

DefaultDepth 24
SubSection "Display"
Depth       24
                [b]Modes       "1368x768_60.00"[/b]
EndSubSection
EndSection

Section "Module"
Load           "glx"
EndSection

Section "InputDevice"
Identifier     "Keyboard0"
Driver         "keyboard"
EndSection

Section "InputDevice"
Identifier     "Mouse0"
Driver         "mouse"
Option         "Protocol" "auto"
Option         "Device" "/dev/psaux"
Option         "Emulate3Buttons" "no"
Option         "ZAxisMapping" "4 5"
EndSection

Section "ServerLayout"
Identifier     "Layout0"
Screen      0  "Screen0" 0 0
InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Device"
Identifier     "Configured Video Device"
Option         "NoLogo" "True"
Driver "nvidia"
EndSection

Section "Device"
Identifier     "Device0"
VendorName     "NVIDIA Corporation"
BoardName      "GeForce FX 5500"
Option "NoLogo" "True"
Driver "nvidia"
EndSection

Section "ServerFlags"
Option         "Xinerama" "0"
EndSection
Monitori sanoo että vaakaresoluutio on 1366 vaikka tuolla se on 1368, jännää...
Edit.
Mutta jotenkin tuo kuva on vieläkin sellainen että vaikuttaa ettei näyttö ole ns. natiiviresoluutiossaan. Teksti on lihavampaa paikoin, sekottaisko tuo 1366 vs 1368 sitten vielä tuota? Miten sen sais korjattua?
« Viimeksi muokattu: 19.07.09 - klo:04.03 kirjoittanut PPH »

Urmas

  • Käyttäjä
  • Viestejä: 253
    • Profiili
Vs: [ratkaistu]NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #9 : 19.07.09 - klo:11.39 »
Luehan tämä ketju (sama resoluutio ja sama Nvidian kortti): http://www.nvnews.net/vbulletin/showthread.php?t=131408

Eli lyhyesti:

1. "1366x768" 85.5 1360 1440 1552 1792 768 771 777 795 +hsync +vsync

2. Lisää Section "Screeniin" tämä rivi: Option "METAMODES" "DFP: 1360x765"

Veikkaan, että tuo kortti ei osaa muita kuin kahdeksalla jaollisia resoja (1360, 1368).
« Viimeksi muokattu: 19.07.09 - klo:11.50 kirjoittanut Urmas »
Registered Linux User # 423160 ... Registered Insane Linux User # 003 ... Registered Ubuntu User # 4219

PPH

  • Käyttäjä
  • Viestejä: 34
    • Profiili
Vs: [ratkaistu]NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #10 : 19.07.09 - klo:14.11 »
Luehan tämä ketju (sama resoluutio ja sama Nvidian kortti): http://www.nvnews.net/vbulletin/showthread.php?t=131408

Eli lyhyesti:

1. "1366x768" 85.5 1360 1440 1552 1792 768 771 777 795 +hsync +vsync

2. Lisää Section "Screeniin" tämä rivi: Option "METAMODES" "DFP: 1360x765"

Veikkaan, että tuo kortti ei osaa muita kuin kahdeksalla jaollisia resoja (1360, 1368).
Noilla asetuksilla tuli monitoriin vain "No signal detected" ilmoitus, ei tullut edes out of range.


Koodia: [Valitse]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildd@palmer)  Thu Jun 26 06:22:40 UTC 2008
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@palmer)  Mon Nov  3 08:46:46 UTC 2008
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
Identifier     "Configured Monitor"
EndSection

Section "Monitor"
Identifier     "Monitor0"
VendorName     "Unknown"
ModelName      "BenQ E900HD"
HorizSync       31.0 - 83.0
VertRefresh     55.0 - 76.0
Modeline "1366x768" 85.5 1360 1440 1552 1792 768 771 777 795 +hsync +vsync
EndSection

Section "Screen"
Identifier     "Default Screen"
Device         "Configured Video Device"
Monitor        "Configured Monitor"
DefaultDepth 24
EndSection

Section "Screen"
Identifier     "Screen0"
Device         "Device0"
Monitor        "Monitor0"
Option         "TwinView" "0"
Option         "TwinViewXineramaInfoOrder" "CRT-0"
Option "METAMODES" "DFP: 1360x765"
DefaultDepth 24
SubSection "Display"
Depth       24
                Modes       "1366x768"
EndSubSection
EndSection

Section "Module"
Load           "glx"
EndSection

Section "InputDevice"
Identifier     "Keyboard0"
Driver         "keyboard"
EndSection

Section "InputDevice"
Identifier     "Mouse0"
Driver         "mouse"
Option         "Protocol" "auto"
Option         "Device" "/dev/psaux"
Option         "Emulate3Buttons" "no"
Option         "ZAxisMapping" "4 5"
EndSection

Section "ServerLayout"
Identifier     "Layout0"
Screen      0  "Screen0" 0 0
InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Device"
Identifier     "Configured Video Device"
Option         "NoLogo" "True"
Driver "nvidia"
EndSection

Section "Device"
Identifier     "Device0"
VendorName     "NVIDIA Corporation"
BoardName      "GeForce FX 5500"
Option "NoLogo" "True"
Driver "nvidia"
EndSection

Section "ServerFlags"
Option         "Xinerama" "0"
EndSection

EDIT:
Joo, eli tuo DFP piti tietysti korvata CRT:llä koska tämä näyttä on VGA liitännällä.
Mutta sen jälkeen resoluutioksi tuli jostain syystä 1280x720, muuten siis sama xorg.conf kuin yllä.
Olisi se kyllä hienoa saada tuo kuva näkymään oikein. Windowsia kokeilin sen verran käynnistellä että siellä sai kyllä 1366x768 tilan käyttöön samalla näytönohjaimella.
« Viimeksi muokattu: 19.07.09 - klo:14.47 kirjoittanut PPH »

Urmas

  • Käyttäjä
  • Viestejä: 253
    • Profiili
No... tämä?

Lainaus
Everything works as expected in Jaunty. Well, the usplash thing is still up in the air as I admittedly screwed that up and am unwilling to test it again. But these directions pretty much still hold.

Found out something odd about my TV's purported 1366x768. If I send it either a 1360x768 or 1368x768 signal, the TV will report 1366x768. However, the TV can't auto-adjust 1360x768 well enough and the picture is left "hanging" off to the right. The 1368x768 resolution is auto-adjusted properly.

As promised, here's a copy of my xorg.conf file. While a configuration for 1368x768 has been included, the corresponding lines have been commented out. You can switch between 1280x720 and 1368x768 by adjusting the commenting accordingly. Again, this is only needed if your HDTV lies about the resolutions it supports. Otherwise, I recommend using nVidia's config utility, discussed earlier in the thread..

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "glx"
EndSection

Section "Monitor"
Identifier "Monitor0"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Modeline "1280x720@60" 74.48 1280 1336 1472 1664 720 721 724 746 -HSync +Vsync
# Modeline "1368x768@60" 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "UseEDID" "False"
Option "ModeValidation" "NoEdidModes, NoMaxPClkCheck, NoVertRefreshCheck, NoHorizSyncCheck, NoEdidMaxPClkCheck"
Option "NoLogo" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x720@60"
# Modes "1368x768@60"
EndSubSection
EndSection
http://forum.boxee.tv/archive/index.php/t-2046.html
Registered Linux User # 423160 ... Registered Insane Linux User # 003 ... Registered Ubuntu User # 4219

timbba

  • Käyttäjä
  • Viestejä: 1413
    • Profiili
Vs: [ratkaistu]NVIDIA Reoluutio asetukset consolin kautta
« Vastaus #12 : 19.07.09 - klo:19.49 »
Veikkaan, että tuo kortti ei osaa muita kuin kahdeksalla jaollisia resoja (1360, 1368).

Veikkaat ihan oikein. 1366 vaakareso on sellainen jota ei norminäytönohjaimista yksinkertaisesti saa. Siksi 1:1 pixelmapping on tärkeä ominaisuus telkassa, ainakin kun käytetään dvi:tä.

Nvidian readme:sta:

Lainaus
"NoWidthAlignmentCheck": the alignment of a mode's visible width is validated against the capabilities of the GPU; normally, a mode's visible width must be a multiple of 8. This argument disables this stage of the mode validation pipeline.

Eli tuon kun lisäilet sinne ModeValidation -listaan ja teet vaikka gtf:llä 1366x768@60 resoluution, niin mitäpä sanoopi?

PPH

  • Käyttäjä
  • Viestejä: 34
    • Profiili
No nyt kävi niin tämän näytön kanssa että kävin vaihtaan sellaiseen joka toimii suoraan kun ajattelin ettei tuo 1366 reso toimi (se ei toiminut muuten kunnolla windowssissakaan) Nyt on 1680x1050 joka toimi sitten suoraan nvidian asetuksista.