Pagina 2 di 4

Re: da ubuntu 8.10 a 9.04

Inviato: lunedì 25 maggio 2009, 15:01
da badìl
Prova a modificarlo come descritto qui
http://streetcross.wordpress.com/2008/0 ... o/#more-71

Re: da ubuntu 8.10 a 9.04

Inviato: lunedì 25 maggio 2009, 15:24
da omaka
il comando sudo preso dal sito streetcross mi da questa risposta:


ubuntu@ubuntu:~$ sudo cp /etc/X11/xorg.conf/etc/X11/xorg.conf.backup
cp: missing destination file operand after `/etc/X11/xorg.conf/etc/X11/xorg.conf.backup'
Try `cp --help' for more information.
ubuntu@ubuntu:~$ sudo cp /etc/X11/xorg.conf/etc/X11/xorg.conf.backup
cp: missing destination file operand after `/etc/X11/xorg.conf/etc/X11/xorg.conf.backup'
Try `cp --help' for more information.
ubuntu@ubuntu:~$ cp --help
Usage: cp [OPTION]... [-T] SOURCE DEST
  or:  cp [OPTION]... SOURCE... DIRECTORY
  or:  cp [OPTION]... -t DIRECTORY SOURCE...
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.

Mandatory arguments to long options are mandatory for short options too.
  -a, --archive                same as -dpR
      --backup[=CONTROL]       make a backup of each existing destination file
  -b                           like --backup but does not accept an argument
      --copy-contents          copy contents of special files when recursive
  -d                           same as --no-dereference --preserve=links
  -f, --force                  if an existing destination file cannot be
                                 opened, remove it and try again
  -i, --interactive            prompt before overwrite
  -H                           follow command-line symbolic links in SOURCE
  -l, --link                   link files instead of copying
  -L, --dereference            always follow symbolic links in SOURCE
  -P, --no-dereference         never follow symbolic links in SOURCE
  -p                           same as --preserve=mode,ownership,timestamps
      --preserve[=ATTR_LIST]   preserve the specified attributes (default:
                                 mode,ownership,timestamps), if possible
                                 additional attributes: context, links, all
      --no-preserve=ATTR_LIST  don't preserve the specified attributes
      --parents                use full source file name under DIRECTORY
  -R, -r, --recursive          copy directories recursively
      --remove-destination     remove each existing destination file before
                                 attempting to open it (contrast with --force)
      --sparse=WHEN            control creation of sparse files
      --strip-trailing-slashes  remove any trailing slashes from each SOURCE
                                 argument
  -s, --symbolic-link          make symbolic links instead of copying
  -S, --suffix=SUFFIX          override the usual backup suffix
  -t, --target-directory=DIRECTORY  copy all SOURCE arguments into DIRECTORY
  -T, --no-target-directory    treat DEST as a normal file
  -u, --update                 copy only when the SOURCE file is newer
                                 than the destination file or when the
                                 destination file is missing
  -v, --verbose                explain what is being done
  -x, --one-file-system        stay on this file system
      --help     display this help and exit
      --version  output version information and exit

By default, sparse SOURCE files are detected by a crude heuristic and the
corresponding DEST file is made sparse as well.  That is the behavior
selected by --sparse=auto.  Specify --sparse=always to create a sparse DEST
file whenever the SOURCE file contains a long enough sequence of zero bytes.
Use --sparse=never to inhibit creation of sparse files.

The backup suffix is `~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX.
The version control method may be selected via the --backup option or through
the VERSION_CONTROL environment variable.  Here are the values:

  none, off       never make backups (even if --backup is given)
  numbered, t     make numbered backups
  existing, nil   numbered if numbered backups exist, simple otherwise
  simple, never   always make simple backups

As a special case, cp makes a backup of SOURCE when the force and backup
options are given and SOURCE and DEST are the same name for an existing,
regular file.

Report bugs to .
ubuntu@ubuntu:~$

Ora sudo veramente

Re: da ubuntu 8.10 a 9.04

Inviato: lunedì 25 maggio 2009, 15:32
da badìl
Quello è per fare una copia del file ma tu sei in leve e non puoi scrivere sul CD.  :)
Salta il passaggio, parti da qui

Codice: Seleziona tutto

sudo gedit /etc/X11/xorg.conf
poi modifica mettendo questi parametri

Codice: Seleziona tutto

Section “Screen”
Identifier “Default Screen”
Device “Scheda video”
Monitor “Generic Monitor”
DefaultDepth 24
SubSection “Display”
Modes “1024x768″
EndSubSection
EndSection
Ti ho messo 1024x768 come risoluzione.
Mi sono appena ricordata che sulla 9.04 non si riesce più a riavviare x con CTRL + ALT + BACKSPACE quindi fai come per spegnere e scegli termina sessione.

Re: da ubuntu 8.10 a 9.04

Inviato: lunedì 25 maggio 2009, 15:51
da omaka
La risoluzione che mi hai dato è quella giusta! :D
Ho bisogno di una tua conferma quando apporto le modifiche devo cancellare i paramentri prcedenti Section "Device"  Identifier "Configured Video Device" End Section  Section "Monitor" Identifier "Configured  Monitor" EndSection ?

Re: da ubuntu 8.10 a 9.04

Inviato: lunedì 25 maggio 2009, 15:55
da badìl
Fai così: elimina questo

Codice: Seleziona tutto

Section "Screen"
   Identifier   "Default Screen"
   Monitor      "Configured Monitor"
   Device      "Configured Video Device"
EndSection
e metti qiesto

Codice: Seleziona tutto

Section “Screen”
Identifier “Default Screen”
Device “Scheda video”
Monitor “Generic Monitor”
DefaultDepth 24
SubSection “Display”
Modes “1024x768″
EndSubSection
EndSection
alla riga

Codice: Seleziona tutto

Device “Scheda video”
dovresti mettere la tua scheda video.  Credo che basti mettere

Codice: Seleziona tutto

Device “Intel”

Re: da ubuntu 8.10 a 9.04

Inviato: lunedì 25 maggio 2009, 16:34
da omaka
ho rifatto più volte, seguendo pedissequamente (rotfl)  (rotfl)le istruzioni, ma non sono riuscito ad impostare lo schermo, anche se come  hai ben intuito,  è proprio un 1024x768.
Ho un dubbio: se  mi trovo in live, dov'è che vengono slavate le modifiche (sudo gedit /etc/X11/xorg.conf) che faccio nel terminale?

Sarebbe il caso di installare e modificare successivamente? :-[

Re: da ubuntu 8.10 a 9.04

Inviato: lunedì 25 maggio 2009, 16:42
da badìl
:o Dubbio legittimo a cui non so rispondere.... Forse il file è caricato in ram e viene modificato lì. Di certo quello sul CD resta intatto.

OK, installa. poi per prima cosa fatti una copia del file xorg.conf con questo comando

Codice: Seleziona tutto

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

Re: da ubuntu 8.10 a 9.04

Inviato: martedì 26 maggio 2009, 17:19
da omaka
ciao a tutti,
ho sovrascritto jaunty su ibex, ho poi risolto i disturbi grafici con l'opzione nessun effetto grafico.
Dopo aver fatto sudo cp /etc ...conf.backup  ho dunque digitato sudo gedit /etc/X11/org.conf e mi si è aperto un percorso nuovo, che dico, un'autostrada:

barra superiore con org.conf (/etc/X11) - gedit
poi i comandi File Modifica, varie icone sul tipo windows, veramente notevole,

ed infine un foglio  bianco da riempire sul quale io che ho a mala pena digerito il terminale di ibex non so cosa scrivere.
Il mio sudo dove è andato a finire??

Re: da ubuntu 8.10 a 9.04

Inviato: martedì 26 maggio 2009, 17:38
da badìl
Se hai digitato
sudo gedit /etc/X11/org.conf
ti credo che si è aperto un foglio bianco. Chiudilo. Manca una x. Hai creato un file nuovo.

Prima di continuare postami il risultato di questo

Codice: Seleziona tutto

ls /etc/X11
voglio essere sicura che ci sia una copia di backup.  ;)

Il video va ancora male quindi?

Re: da ubuntu 8.10 a 9.04

Inviato: martedì 26 maggio 2009, 17:41
da badìl
Posta anche questo

Codice: Seleziona tutto

cat /proc/mtrr | grep combining
Stavo guardando questa guida per risolvere i problemi delle intel su jaunty.
Hardware/Video/Intel/Jaunty

Re: da ubuntu 8.10 a 9.04

Inviato: martedì 26 maggio 2009, 17:45
da omaka
stavolta a colori:
zita@zita-laptop:~$ ls /etc/X11
app-defaults            org.conf  xorg.conf        Xsession.d
cursors                  X        xorg.conf.backup  Xsession.options
default-display-manager  xinit    Xresources        XvMCConfig
fonts                    xkb      Xsession          Xwrapper.config
zita@zita-laptop:~$

(almeno sul terminale era a colori)

Con l'opzione grafica indispensabile direi che va bene, certo il cubo non gira ;D

Re: da ubuntu 8.10 a 9.04

Inviato: martedì 26 maggio 2009, 17:51
da omaka
e questo che intendevi? pero la risoluzione dello schermo non è cambiata.
# 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 "Screen"
Identifier "Default Screen"
Monitor "Generic Monitor"
Device "Intel 82815"
DefaultDepth 24
SubSection "Display"
Modes "1024x768"
EndSubSection
EndSection


Ho visitato la guida intel/jaunty ma con questo microdisplay perderò la vista prima di finire di leggere il titolo in grassetto

Re: da ubuntu 8.10 a 9.04

Inviato: martedì 26 maggio 2009, 17:56
da badìl
No, volevo postassi il risultato di questo

Codice: Seleziona tutto

cat /proc/mtrr | grep combining
Hai riavviato X (termina sessione) dopo aver modificato lo xorg.conf?
Poi io al posto di Intel 82815 metterei solo Intel.

Re: da ubuntu 8.10 a 9.04

Inviato: martedì 26 maggio 2009, 18:22
da omaka
strano ma il terminale non reagisce all'ultimo comando

zita@zita-laptop:~$ cat /proc/mtrr | grep combining
zita@zita-laptop:~$

Re: da ubuntu 8.10 a 9.04

Inviato: martedì 26 maggio 2009, 18:49
da badìl
Questo significa che per colpa di un bug la tua scheda non riconosce la memoria condivisa (sto seguendo la guida). Ora posta

Codice: Seleziona tutto

lspci -v

Re: da ubuntu 8.10 a 9.04

Inviato: martedì 26 maggio 2009, 18:59
da omaka
To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

lbob@zita-laptop:~$ lspci -v
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 11)
Subsystem: Sony Corporation Device 80df
Flags: bus master, fast devsel, latency 0
Capabilities:
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation 82815 Chipset Graphics Controller (CGC) (rev 11)
Subsystem: Sony Corporation Device 80df
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 9
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Memory at f4000000 (32-bit, non-prefetchable) [size=512K]
Capabilities:

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 03)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=09, sec-latency=64
I/O behind bridge: 00003000-00003fff
Memory behind bridge: f4100000-f41fffff
Badìl, apprezzo molto la tua disponibilità ma ora devo chiudere, ci rileggiamo domani se avrai tempo. Ciao e grazie

Re: da ubuntu 8.10 a 9.04

Inviato: martedì 26 maggio 2009, 20:14
da badìl
OK. ora dai questo comando per creare un file di nome insertmtrr

Codice: Seleziona tutto

gedit insertmtrr
ti si aprirà un foglio bianco (stavolta è giusto così  ;D ); copiaci dentro questo

Codice: Seleziona tutto

echo "base=0xf8000000 size=0x04000000 type=write-combining" >| /proc/mtrr
salva e chiudi.

Ora digita questo per dare i permessi

Codice: Seleziona tutto

chmod a+x ~/insertmtrr
Quando hai fatto questo posta che proseguiamo.
Ci sono ancora due file da modificare.

Re: da ubuntu 8.10 a 9.04

Inviato: mercoledì 27 maggio 2009, 13:32
da omaka
buon giorno badìl,
acc...... come si fa la tilde  ? :-[

Re: da ubuntu 8.10 a 9.04

Inviato: mercoledì 27 maggio 2009, 13:36
da badìl
omaka ha scritto: buon giorno badìl,
acc...... come si fa la tilde  ? :-[
Alt Gr + ì

Puoi anche fare copia/incolla dei comandi se sei connesso con quel PC.

Re: da ubuntu 8.10 a 9.04

Inviato: mercoledì 27 maggio 2009, 13:41
da omaka
fatto  echo "base=0xf8000000 size=0x04000000 type=write-combining" >| /proc/mtrr

risposta:  /proc/mtrr:  permesso  negato

Ho però un dubbio che potrebbe spiegare molte cose: mi sono accorto (ho aperto unaltro argomento sul forum " jaunty - grub troppo affollato" o qualcosa del genere.)
..... di aver ancora tutte le versioni kernel della 8.10