Segui skydiamond.org anche su Twitter
 
You are here: Sky ForumSoftwareSistemi operativi e programmiLinuxProblema con xorg.conf nvidia driver compiz
Pagine: [1] 2 3 4
Problema con xorg.conf nvidia driver compiz
0 Utenti e 1 Visitatore stanno guardando questo topic.
  • Reloweb
  • tester
  • *
  • Offline Offline
  • Posts: 155
  • reloweb 
  • Guarda Profilo WWW
Problema con xorg.conf nvidia driver compiz
« il: Luglio 16, 2008, 07:31:28 »

Salve,
avrei un problema con nvidia xorg e compiz. Praticamente quando attivo compiz il menu del titolo delle finestre scompare e non solo, scompaiono anche un paio di effetti.
Il problema si presenta da quello che ho potuto capire quando vado a riscrivere lo xorg.conf con l'utility nvidia-settings. I drivers gli ho installati dai repo di ubuntu 8.04.
Questo è il mio xorg.conf:
Codice:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@vernadsky)  Tue Mar  4 20:24:34 UTC 2008

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

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

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

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

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

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Daewoo PnP Monitor"
    HorizSync       30.0 - 54.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce4 MX 420"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1024x768 +0+0; 1024x768_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
« Ultima modifica: Luglio 18, 2008, 11:59:06 da Antonio »
Loggato

  • skydiamond
  • Amministratore
  • bot
  • *
  • Offline Offline
  • Posts: 1044
  • skydiamond 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #1 il: Luglio 16, 2008, 07:34:59 »

Da quello che vedo intanto il driver che carica è quello corretto. Il driver inoltre sembra funzionare anche perché hai il direct rendering.

Prova a dare un
Codice:
$ compiz-check

Loggato
  • Reloweb
  • tester
  • *
  • Offline Offline
  • Posts: 155
  • reloweb 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #2 il: Luglio 16, 2008, 07:37:20 »

Mi da "Command not found"... :w00t:
  • skydiamond
  • Amministratore
  • bot
  • *
  • Offline Offline
  • Posts: 1044
  • skydiamond 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #3 il: Luglio 16, 2008, 07:40:41 »

Mi da "Command not found"... :w00t:
Hai una versione un pò più vecchia della mia, ma io sono su Debian Sid. Allora prova
Codice:
$ compiz --version
e poi
Codice:
$ compiz -v
Loggato
  • Reloweb
  • tester
  • *
  • Offline Offline
  • Posts: 155
  • reloweb 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #4 il: Luglio 16, 2008, 07:43:27 »

Codice:
compiz --version
Codice:
Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:0172 (rev a3) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1024x768) to maximum 3D texture size (2048): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
compiz 0.7.4

al compiz -v mi sono sparite le decorazioni delle finestre in alto. Ecco il log:
Codice:
Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:0172 (rev a3) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1024x768) to maximum 3D texture size (2048): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (core) - Warn: Unknown option '-v'

/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (wall) - Error: Couldn't create cairo context for switcher
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (wall) - Error: Couldn't create cairo context for switcher
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (wall) - Error: Couldn't create cairo context for switcher
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (wall) - Error: Couldn't create cairo context for switcher
GConf backend: There is an unsupported value at path /apps/compiz/plugins/scale/allscreens/options/initiate_edge. Settings from this path won't be read. Try to remove that value so that operation can continue properly.
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (resizeinfo) - Warn: Bind Pixmap to Texture failure
/usr/bin/compiz.real (core) - Warn: No GLXFBConfig for depth 32
/usr/bin/compiz.real (resizeinfo) - Warn: Bind Pixmap to Texture failure
  • skydiamond
  • Amministratore
  • bot
  • *
  • Offline Offline
  • Posts: 1044
  • skydiamond 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #5 il: Luglio 16, 2008, 07:54:09 »

Dovresti fare la cosa seguente per vedere se è la profondità di colore che non va. Prima di tutto dai un

Codice:
$ gedit /etc/X11/xorg.conf

Qui modifica il pezzo di codice

Codice:
Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1024x768 +0+0; 1024x768_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Cambiando i due 24 in 32. Poi dai un CTRL-ALT-F1 e passi in testuale e dai un

Codice:
$ sudo invoke-rc.d gdm restart
Loggato
  • Reloweb
  • tester
  • *
  • Offline Offline
  • Posts: 155
  • reloweb 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #6 il: Luglio 16, 2008, 08:03:54 »

Mi si è sballato tutto, Ubuntu è entrato in modalità grafica minima... cry
  • skydiamond
  • Amministratore
  • bot
  • *
  • Offline Offline
  • Posts: 1044
  • skydiamond 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #7 il: Luglio 16, 2008, 09:00:32 »

Mi si è sballato tutto, Ubuntu è entrato in modalità grafica minima... cry
Riporta a 24 e quello che hai impostato a 32 e rivai con

Codice:
$ sudo invoke-rc.d gdm restart

da terminale testuale.

Comunque la versione di Compiz che hai non è l'ultima e bisognerebbe capire se il driver della tua scheda video sia o meno aggiornato.

Hai provato a cercare su google se c'è qualcuno che abbia avuto il tuo problema con la tua stessa scheda video?
« Ultima modifica: Luglio 16, 2008, 09:03:52 da skydiamond »
Loggato
  • Reloweb
  • tester
  • *
  • Offline Offline
  • Posts: 155
  • reloweb 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #8 il: Luglio 16, 2008, 09:08:58 »

E' una scheda vecchissima (nvidia geforce mx420 da 256mb). Il bello è che prima di formattare tutto funzionava alla grande...
Comunque dai log di compiz sembra che manchi xgl...
  • Reloweb
  • tester
  • *
  • Offline Offline
  • Posts: 155
  • reloweb 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #9 il: Luglio 16, 2008, 09:17:25 »

Ok c'è l'ho fatta con una googlata...
A titolo informativo bisogna installare xserver-xgl dai repository...
E un problema è andato...
Shine on you skydiamond! grin
  • Lebby
  • developer
  • *
  • Offline Offline
  • Posts: 258
  • Venite a me ... il lato oscuro vi aspetta
  •  
  • Guarda Profilo
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #10 il: Luglio 17, 2008, 10:58:58 »

ma nvidia non andava ad aixgl? ... xgl non era per l'emulazione software/ATI?
io avevo lo stesso problema .... dove scomparivano la barra dei menu ... e scopri che era una quesione di "decorator" ...
non so' se il tuo problema si sia risolto o si sia spostato, ovvero, io ebbi lo stesso problema e mi ritrovai l'accelerazione software anzicche' hardware ( matrox mx 440 invece di 420 cheesy )
prova a vedere se hai come driver ora mesa o il driver nvidia ...
mi pare fosse fglrx o glrx o na cosa del genere ... okkio ke la differenza si vede
Loggato
  • Reloweb
  • tester
  • *
  • Offline Offline
  • Posts: 155
  • reloweb 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #11 il: Luglio 17, 2008, 04:10:43 »

Non so proprio, su ubuntu-it un utente aveva lo stesso problema e poi ha risolto cosi. Ora noto però che quando carica gnome, lo schermo diventa tutto scuro e il puntatore ad X, però poi si carica senza problemi. Ah ho notato un'altra cosa, la lucina del bloc num sulla tastiera non si accende, anche se questo è in funzione!
  • skydiamond
  • Amministratore
  • bot
  • *
  • Offline Offline
  • Posts: 1044
  • skydiamond 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #12 il: Luglio 17, 2008, 04:22:16 »

Non so proprio, su ubuntu-it un utente aveva lo stesso problema e poi ha risolto cosi. Ora noto però che quando carica gnome, lo schermo diventa tutto scuro e il puntatore ad X, però poi si carica senza problemi. Ah ho notato un'altra cosa, la lucina del bloc num sulla tastiera non si accende, anche se questo è in funzione!
Il fatto è che adesso sei sul server XGL. Ne parlavo tempo fa qui http://skydiamond.org/index.php?mod=06_Linux/02_Ubuntu&file=xgl_compiz.html
Loggato
  • Reloweb
  • tester
  • *
  • Offline Offline
  • Posts: 155
  • reloweb 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #13 il: Luglio 17, 2008, 04:45:02 »

Mi pare di aver capito che non sono più da xorg ma da server xgl...
Come faccio per ovviare il problema e ritornare su gnome?
  • skydiamond
  • Amministratore
  • bot
  • *
  • Offline Offline
  • Posts: 1044
  • skydiamond 
  • Guarda Profilo WWW
Re: Problema con xorg.conf nvidia driver compiz
« Risposta #14 il: Luglio 17, 2008, 05:20:34 »

Mi pare di aver capito che non sono più da xorg ma da server xgl...
Come faccio per ovviare il problema e ritornare su gnome?
Gnome è il Desktop Environment e non il server grafico. In questo caso utilizzi il server XGL, comunque puoi scegliere di usare Gnome sul server X Xorg, direttamente da gdm. Se fai sessione dovresti vederlo.

La tua scheda grafica è un caso particolare perché con le Nvidia questo genere di problemi non c'è mai.
Loggato
Pagine: [1] 2 3 4
You are here: Sky ForumSoftwareSistemi operativi e programmiLinuxProblema con xorg.conf nvidia driver compiz
Salta a: