Jūs neprisijungęs
Aukštyn Tema Programinė įranga / GNU/Linux, bei Unix Operacinės Sistemos / Padėkit del fluxbox
- koldunas Data 2007-11-08 11:00
Turiu Debian 4.0 su gnomu ir nusprendžiau pereiti prie lengvesnės aplinkos. Taigi susimečiau fluxbox. Pirmiausia ką norėčiau padaryti, tai susitvarkyt normaliai ekrano rezoliuciją ir dažnį. Ctrl-Alt-+ kažkas nesamoningo vyksta: jeigu pasididinu iki normalaus šrfto dydžio, tai langai tampa milžiniški  ir reiktų kokių keturių monitorių, kad tilptų visas desktopas.
xorg.conf nieko neredagavau (o ir nelebai žinau ką ten redaguot) bijau, kad paskui ir gnomas susipartolins. Vaizdo korta ATI Radeon, gnomas rodo 1024x768  85Hz, kaip tokią rezoliuciją išspaust iš fluxbox?

P.S. Pabandžiau ir icewm, ta pati problema.
Pagrindinė - Meisteris Data 2007-11-08 11:33
Pirmiausia patariu pasidaryti atsarginę xorg.conf kopiją (dėl viso pikto):

cp -v /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

Taip galėsi eksperimentuoti nebijodamas prarasti originalaus failo (jeigu kas, tai komanda cp -v /etc/X11/xorg.conf.backup /etc/X11/xorg.conf gražins originalų xorg.conf).
Dabar gerai būtų pamatyti tavo xorg.conf, kad galima būtų kažkuom pagelbėti.
Pagrindinė - koldunas Data 2007-11-08 11:58
Štai:

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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.
#
# 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 "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "aticonfig-Screen[0]" 0 0
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
EndSection

Section "Files"

        # path to defoma fonts
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath     "/usr/share/fonts/X11/100dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath     "/usr/share/fonts/X11/75dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load  "i2c"
        Load  "bitmap"
        Load  "ddc"
        Load  "dri"
        Load  "extmod"
        Load  "freetype"
        Load  "glx"
        Load  "int10"
        Load  "vbe"
EndSection

Section "InputDevice"
        Identifier  "Generic Keyboard"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc104"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
        Driver      "mouse"
        Option      "CorePointer"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "ImPS/2"
        Option      "Emulate3Buttons" "true"
EndSection

Section "Monitor"
        Identifier   "SyncMaster"
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "ATI Technologies Inc RV350 AS [Radeon 9550]"
        Driver      "ati"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
        Option      "VideoOverlay" "on"
        Option      "OpenGLOverlay" "off"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device     "ATI Technologies Inc RV350 AS [Radeon 9550]"
        Monitor    "SyncMaster"
        DefaultDepth     24
        SubSection "Display"
                Depth     1
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection
Pagrindinė - Meisteris Data 2007-11-08 12:10
Manau, kad problema yra netvarkingame xorg.conf (nebent realiai turi dvi vaizdo plokštes, du monitorius), mat:

> Section "Monitor"
>        Identifier   "SyncMaster"
>        Option      "DPMS"
> EndSection


> Section "Monitor"
>        Identifier   "aticonfig-Monitor[0]"
>        Option      "VendorName" "ATI Proprietary Driver"
>        Option      "ModelName" "Generic Autodetecting Monitor"
>        Option      "DPMS" "true"
> EndSection


Kuris iš jų yra teisingas?
ir video plokštės:

> Section "Device"
>        Identifier  "ATI Technologies Inc RV350 AS [Radeon 9550]"
>        Driver      "ati"
>        BusID       "PCI:1:0:0"
> EndSection


> Section "Device"
>        Identifier  "aticonfig-Device[0]"
>        Driver      "fglrx"
>        Option      "VideoOverlay" "on"
>        Option      "OpenGLOverlay" "off"
>EndSection


Kuri iš šių yra teisinga?
Ir dar yra du "screen'ai"... hmm kaip tau išvis grafinės aplinkos pasileidžia, aš nesuprantu :lol:

> Section "Screen"
>        Identifier "Default Screen"
>        Device     "ATI Technologies Inc RV350 AS [Radeon 9550]"
>        Monitor    "SyncMaster"


ir

> Section "Screen"
>        Identifier "aticonfig-Screen[0]"
>        Device     "aticonfig-Device[0]"
>        Monitor    "aticonfig-Monitor[0]"


Iš esmės, jeigu atsakytum man, kuri iš aprašytų video kortų teisinga, manau, galėčiau pagelbėti :)
Pagrindinė - koldunas Data 2007-11-08 12:39
Oba! Nu geras tikrai. Net nežinau kodel čia pas mane taip :(  O negali būt todel, kad buvau  sumetęs kelias grafines aplinkas? Prieš tai patyrinėjau xfce, pakui icewm, dabar fluxbox? Nu žinoma prieš instaliuodamas išmesdavau prieš tai buvusią, tik gnomas dar yra.
Dabar del vaizduškės: pas mane ATI Radeon 9550, tvarkykles instaliavau pagal šitą receptą   http://mczim-debian.blogspot.com/2007/05/debian-etch-atixorg.html   Gal Šitas howto netinkamas? Čia man pirmas veiksmas nelabai aiškus, kur rašo kad atjungiam "fglrx" ir jei nėra tokio failo /etc/default/linux-restricted-modules-common , tai sukuriam. Pas mane jo nėra, bet ir nėra skirtumo ar aš jį sukuriu ir įrašau DISABLED_MODULES=”fglrx” ar šitą veiksmą išvis praleidžiu, susiinstaliuoja taippačiai.
Pagrindinė Meisteris Data 2007-11-08 12:42
Tokiu atveju aišku, čia ati-installer pasidarbavo, mėgsta jis sujaukti xorg.conf :) tai pasitvarkyk pagal žemiau pateiktą xorg ir turi būti gerai tada.
Pagrindinė Meisteris Data 2007-11-08 12:30 Redaguota: 2007-11-08 13:17
Gerai, jeigu bandei įrašyti oficialias ati tvarkykles, tai pasitvarkyk savo xorg.conf, kad atrodytų šitaip:

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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.
#
# 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 "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "aticonfig-Screen[0]" 0 0
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
EndSection

Section "Files"

        # path to defoma fonts
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath     "/usr/share/fonts/X11/100dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath     "/usr/share/fonts/X11/75dpi"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load  "i2c"
        Load  "bitmap"
        Load  "ddc"
        Load  "dri"
        Load  "extmod"
        Load  "freetype"
        Load  "glx"
        Load  "int10"
        Load  "vbe"
EndSection

Section "InputDevice"
        Identifier  "Generic Keyboard"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc104"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
        Driver      "mouse"
        Option      "CorePointer"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "ImPS/2"
        Option      "Emulate3Buttons" "true"
EndSection

Section "Monitor"
        Identifier   "SyncMaster"
        Option      "DPMS"
        DisplaySize 270.0 202.5
EndSection

Section "Device"
        Identifier  "ati Radeon 9550"
        Driver      "fglrx"
        Option      "VideoOverlay" "on"
        Option      "OpenGLOverlay" "off"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device     "ati Radeon 9550"
        Monitor    "SyncMaster"
        DefaultDepth     24
        SubSection "Display"
                Depth     1
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection
Pagrindinė - Meisteris Data 2007-11-08 12:35
Ar gerai veikia, pasitikrinti gali dviem būdais:
1. komanda fglrxinfo
Trėtų parodyti kažką panašaus į:
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9200 Series DDR Generic
OpenGL version string: 1.3.1072 (X4.3.0-8.25.18)
2. glxinfo | grep direct
Tūrėtų rodyti:
direct rendering: Yes
Pats esu privargęs su ati tvarkyklėmis, jeigu kas, tai šioje senoje temoje yra šiokios tokios informacijos, kaip man pavyko sustivarkyti.
P.S.
Nepamiršk pasidalinti informacija, kaip sekėsi tvarkytis, ar pagelbėjo čia esanti infa ar ne :)
Pagrindinė - koldunas Data 2007-11-08 12:43
simas:/home/simas# fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon 9550 / X1050 Series
OpenGL version string: 2.0.6747

simas:/home/simas# glxinfo | grep direct
bash: glxinfo: command not found
simas:/home/simas#

Gal čia šuo pakastas? Dabar turiu išlėkt valandėlei, gryžęs pabandysiu išsinagrinėt tavo nuorodą.
Pagrindinė Meisteris Data 2007-11-08 12:58

> simas:/home/simas#
> Gal čia šuo pakastas?


Gal, pabandyk prieš tai cd / ir tada glxinfo | grep rendering, jei vėl command not found, tai reiškia, nepilnas x11 pas tave, o jei "direct rendering: no", tada sudo aticonfig --overlay-type=Xv turi pagelbėti, žinoma po jos, reikia perkrauti arba kompiuterį arba xorg (ctr+alt+backspace).
Pagrindinė - Meisteris Data 2007-11-08 13:15 Redaguota: 2007-11-08 13:18
Dėl font'ų, tai įrašyk tinkamą dpi reikšmę, nes xorg nevisada, ją teisingai nuspėja, jei naudoji 1024x768 raišką, tai atrodytų taip:


Section "Monitor"
        Identifier   "SyncMaster"
        Option      "DPMS"
        DisplaySize 270.0 202.5
EndSection

ir dar vienas dalykas, kurį pamiršau paminėti, tai raiškos nustatymas, screen sektoriuje, palik tą raišką, kurią naudoji, 1024x768 atveju, tai atrodys taip:

Section "Screen"
        Identifier "Default Screen"
        Device     "ati Radeon 9550"
        Monitor    "SyncMaster"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection


P.S.
Katik atitinkamai paredagavau savo aukščiau pateiktą xorg.conf
Pagrindinė - koldunas Data 2007-11-08 23:51
# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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.
#
# 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 "ServerLayout"
  Identifier     "Default Layout"
  Screen      0  "aticonfig-Screen[0]" 0 0
  InputDevice    "Generic Keyboard"
  InputDevice    "Configured Mouse"
EndSection

Section "Files"

  # path to defoma fonts
  FontPath     "/usr/share/fonts/X11/misc"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc"
  FontPath     "/usr/share/fonts/X11/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  FontPath     "/usr/share/fonts/X11/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/share/fonts/X11/100dpi"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
  FontPath     "/usr/share/fonts/X11/75dpi"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
  FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
  Load  "i2c"
  Load  "bitmap"
  Load  "ddc"
  Load  "dri"
  Load  "extmod"
  Load  "freetype"
  Load  "glx"
  Load  "int10"
  Load  "vbe"
EndSection

Section "InputDevice"
  Identifier  "Generic Keyboard"
  Driver      "kbd"
  Option      "CoreKeyboard"
  Option      "XkbRules" "xorg"
  Option      "XkbModel" "pc104"
  Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
  Identifier  "Configured Mouse"
  Driver      "mouse"
  Option      "CorePointer"
  Option      "Device" "/dev/input/mice"
  Option      "Protocol" "ImPS/2"
  Option      "Emulate3Buttons" "true"
EndSection

Section "Monitor"
  Identifier   "SyncMaster"
  Option      "DPMS"
  DisplaySize 270.0 202.5
EndSection

Section "Device"
  Identifier  "ati Radeon 9550"
  Driver      "fglrx"
  Option      "VideoOverlay" "on"
  Option      "OpenGLOverlay" "off"
EndSection

Section "Screen"
  Identifier "Default Screen"
  Device     "ati Radeon 9550"
  Monitor    "SyncMaster"
  DefaultDepth     24
  SubSection "Display" 
    Depth     24
    Modes    "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
  EndSubSection
EndSection

Section "DRI"
  Mode         0666
EndSection

Su šituo xorg.conf gavau "Failed to start the X server" :)  Gerai kad parodei kaip pasidaryt originalo kopija ir kaip paskui atkurt iš jos. Taigi, atsidūrėm ten nuo ko pradėjom :)
Pagrindinė - Meisteris Data 2007-11-08 23:56
o gal gali pasidalinti klaidos pranešimu, kurį gavai, kai nepavyko paleisti x'ų?
Pagrindinė koldunas Data 2007-11-09 09:28
Gaila, bet dabar nepasakysiu kokią tiksliai klaidą rodė, nes xorgą atstačiau. O gal yra koks failas, kur registruoja prisijungimus ar klaidas? Arba galiu vėl supartolint, ir tada nurašysiu, tik užims laiko, nes gan nemažai buvo prirašyta.
Pagrindinė - Virginijus Data 2007-11-08 23:47 Redaguota: 2007-11-08 23:50
pabandyk
http://atviras.lt/forumas/mwf/topic_show.pl?pid=3174#pid3174

prieš keisdamas pasižiek, kad tiktų:
BusID       "PCI:1:5:0"

įsimesk foobillard per synaptic, pamatysi ar openGL dirba. (arba armagetron)
Pagrindinė - koldunas Data 2007-11-09 10:01
Nu openGLas turbūt veikia, nes Tremulous žaidimas sukasi su vėjeliu
Pagrindinė - Virginijus Data 2007-11-09 17:30
tada veikia
Pagrindinė koldunas Data 2007-11-10 09:43

>prieš keisdamas pasižiek, kad tiktų:


BusID       "PCI:1:5:0"

Jei gali paaiškink plačiau, kas čia ir ar man būtent taip darašyt, ar kažkokią kitą reikšmę?
Bandžiau žaist su tuo xorgu, bet vis X-sai užsilenkia ir dar " glxinfo | grep rendering " nėra tokios komandos. Dabar noriu pabandyt sumest ati tvarkykles pagal šitą aprašymą http://atviras.lt/forumas/mwf/topic_show.pl?tid=224 , bet vėlgi reikia išinstaliuot seną, o kaip tai padaryt tvarkingai?
Aukštyn Tema Programinė įranga / GNU/Linux, bei Unix Operacinės Sistemos / Padėkit del fluxbox

Powered by mwForum 2.29.6 © 1999-2015 Markus Wichitill