[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GDM Não funciona (unable to open /dev/agpgart (No Such file or directory))



Não rolou :-(

Eu já tinha colocado esse xorg mais completo no /etc/X11. O que
intriga é esse erro que dá na inicialização do gdm (Unable to open
/dev/agpgart (no such file or directory)

abs

2009/9/16 Rodolfo <rof20004@gmail.com>:
> ok ...então ainda não edite o arquivo blacklist......parece que esse xorg ae
> ta mais completo que o outro certo ?
>
> então faça o seguinte....
>
> SubSection "Display"
>                Viewport   0 0
>                Depth     4
>        EndSubSection
>
> digite assim em baixo da palavra Depth
>
> Modes "1024x768" "800x600" "640x480"
>
> aconselho a fazer isso embaixo somente das palavras Depth 16 e Depth
> 24....são as mais usadas....e não esqueça...ainda não coloque o drm no
> blacklist
>
> as resoluções são entre aspas mesmo....faça isso pra cada Depth(quer dizer
> bits de cor do xorg....)
>
> depois salve o arquivo e faça aquele procedimento...../etc/init.d/gdm stop
> depois inicie novamente
>
> /etc/init.d/gdm start
>
> e não esqueça de substituir esse xorg mais completo pelo que está no
> /etc/X11...aguardo resultados
>
> 2009/9/16 Fernando Xavier <fernando.xavier@gmail.com>
>>
>> Olá,
>>
>> O arquivo tá mesmo no etc/modprobe.d como o Renato disse.
>>
>> segue o conf do xorg
>>
>> Abs
>> Fernando
>>
>> Section "ServerLayout"
>>        Identifier     "X.org Configured"
>>        Screen      0  "Screen0" 0 0
>>        InputDevice    "Mouse0" "CorePointer"
>>        InputDevice    "Keyboard0" "CoreKeyboard"
>> EndSection
>>
>> Section "Files"
>>        RgbPath      "/etc/X11/rgb"
>>        ModulePath   "/usr/lib/xorg/modules"
>>        FontPath     "/usr/share/fonts/X11/misc"
>>        FontPath     "/usr/share/fonts/X11/cyrillic"
>>        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
>>        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
>>        FontPath     "/usr/share/fonts/X11/Type1"
>>        FontPath     "/usr/share/fonts/X11/100dpi"
>>        FontPath     "/usr/share/fonts/X11/75dpi"
>>        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
>> EndSection
>>
>> Section "Module"
>>        Load  "extmod"
>>        Load  "glx"
>>        Load  "GLcore"
>>        Load  "dri"
>>        Load  "xtrap"
>>        Load  "record"
>>        Load  "dbe"
>> EndSection
>>
>> Section "InputDevice"
>>        Identifier  "Keyboard0"
>>        Driver      "kbd"
>> EndSection
>>
>> Section "InputDevice"
>>        Identifier  "Mouse0"
>>        Driver      "mouse"
>>        Option      "Protocol" "auto"
>>        Option      "Device" "/dev/input/mice"
>>        Option      "ZAxisMapping" "4 5 6 7"
>> EndSection
>>
>> Section "Monitor"
>>        #DisplaySize      330   240     # mm
>>        Identifier   "Monitor0"
>>        VendorName   "GSM"
>>        ModelName    ""
>>  ### Comment all HorizSync and VertRefresh values to use DDC:
>>        HorizSync    30.0 - 71.0
>>        VertRefresh  50.0 - 160.0
>>        Option      "DPMS"
>> EndSection
>>
>> Section "Device"
>>        ### Available Driver options are:-
>>        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
>>        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>>        ### [arg]: arg optional
>>        #Option     "NoAccel"                   # [<bool>]
>>        #Option     "SWcursor"                  # [<bool>]
>>        #Option     "ColorKey"                  # <i>
>>        #Option     "CacheLines"                # <i>
>>        #Option     "Dac6Bit"                   # [<bool>]
>>        #Option     "DRI"                       # [<bool>]
>>        #Option     "NoDDC"                     # [<bool>]
>>        #Option     "ShowCache"                 # [<bool>]
>>        #Option     "XvMCSurfaces"              # <i>
>>        #Option     "PageFlip"                  # [<bool>]
>>        Identifier  "Card0"
>>        Driver      "intel"
>>        VendorName  "Intel Corporation"
>>        BoardName   "Unknown Board"
>>        BusID       "PCI:0:2:0"
>> EndSection
>>
>> Section "Screen"
>>        Identifier "Screen0"
>>        Device     "Card0"
>>        Monitor    "Monitor0"
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     1
>>        EndSubSection
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     4
>>        EndSubSection
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     8
>>        EndSubSection
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     15
>>        EndSubSection
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     16
>>        EndSubSection
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     24
>>        EndSubSection
>> EndSection
>>
>>
>>
>> 2009/9/16 Rodolfo <rof20004@gmail.com>:
>> > é o seguinte....o arquivo "blacklist" não precisa ser criado.....digite
>> > como
>> > root
>> >
>> > "updatedb"
>> >
>> > espere alguns minutos....isso vai criar um DB de todos os arquivos
>> > existente
>> > em seu sistema......se funcionar digite depois
>> >
>> > "locate blacklist"
>> >
>> > daí vai mostrar onde está o arquivo blacklist.....se esses comandos não
>> > funcionarem...então faça
>> >
>> > esse
>> >
>> > "find /etc -name blacklist"
>> >
>> > apague esse blacklist que vc criou....se ele não existir mesmo...então
>> > crie
>> > ele dentro da pasta /etc/modules...
>> >
>> > e me mostre aqui o conteúdo do xorg.conf gerado por aquele comando que
>> > eu te
>> > mostrei la em cima...
>> >
>> > 2009/9/16 Fernando Xavier <fernando.xavier@gmail.com>
>> >>
>> >> Olá,
>> >>
>> >> O arquivo blacklist não tinha mesmo. Criei em /etc
>> >>
>> >> Sobre o xorg.conf eu executei a configuração (X - configure) e ele
>> >> gerou um arquivo modelo no diretório /root. Copiei-o como xorg.conf
>> >> para o dir /etc/X11
>> >>
>> >> Mas ainda dá  o mesmo erro. O que achei interessante é que não achei
>> >> essas linhas q vc mandou desabilitar no xorg.conf.
>> >>
>> >>
>> >> Abs
>> >> Fernando
>> >>
>> >> 2009/9/16 Rodolfo <rof20004@gmail.com>:
>> >> > ok....procure em /etc/modules ou em /etc algum arquivo chamado
>> >> > Blacklist....la vc coloca o que eu disse:
>> >> >
>> >> > "blacklist drm"
>> >> >
>> >> > depois reinicie sua máquina e veja se funciona
>> >> >
>> >> > e outra.....seu xorg.conf está sem configurção.....digite como root
>> >> > depois
>> >> > de reiniciar e não tiver funcinado o seguinte comando....
>> >> >
>> >> > "X -configure"
>> >> >
>> >> > aguardo resultado.
>> >> >
>> >> >
>> >> > 2009/9/16 Fernando Xavier <fernando.xavier@gmail.com>
>> >> >>
>> >> >> Olá,
>> >> >>
>> >> >> Desliguei o gdm e digitei o comando modprobe -r drm. A mensagem foi
>> >> >> que o módulo está em uso.
>> >> >>
>> >> >> Sobre o arquivo a única coisa que eu tenho no /etc é um arquivo
>> >> >> chamado modules. Eu coloquei o comando q vc disse e reiniciei o gdm,
>> >> >> persistindo o erro.
>> >> >>
>> >> >> A coisa que parece errada pra mim é o conteúdo do arquivo xorg.conf,
>> >> >> no caminho q vc indicou. eu posto aqui o conteúdo dele. As linhas q
>> >> >> vc
>> >> >> disse, por exemplo não aparecem pra mim. Eu posto o conteúdo no
>> >> >> final.
>> >> >>
>> >> >> Abs
>> >> >> Fernando
>> >> >>
>> >> >>
>> >> >> Section "InputDevice"
>> >> >>        Identifier      "Generic Keyboard"
>> >> >>        Driver          "kbd"
>> >> >>        Option          "XkbRules"      "xorg"
>> >> >>        Option          "XkbModel"      "abnt2"
>> >> >>        Option          "XkbLayout"     "br"
>> >> >>        Option          "XkbVariant"    "abnt2"
>> >> >> EndSection
>> >> >>
>> >> >> Section "InputDevice"
>> >> >>        Identifier      "Configured Mouse"
>> >> >>        Driver          "mouse"
>> >> >> EndSection
>> >> >>
>> >> >> Section "Device"
>> >> >>        Identifier      "Configured Video Device"
>> >> >> EndSection
>> >> >>
>> >> >> Section "Monitor"
>> >> >>        Identifier      "Configured Monitor"
>> >> >> EndSection
>> >> >>
>> >> >> Section "Screen"
>> >> >>        Identifier      "Default Screen"
>> >> >>        Monitor         "Configured Monitor"
>> >> >> EndSection
>> >> >>
>> >> >>
>> >> >> 2009/9/16 Rodolfo <rof20004@gmail.com>:
>> >> >> > amigo....pode ser que o driver de video da sua placa nao esteja
>> >> >> > instalado....então talvez o dri não esteja funcionando....como ai
>> >> >> > diz
>> >> >> > que
>> >> >> > ele esta inicializando deve ta dando esse erro.....faça o
>> >> >> > seguinte...ligue
>> >> >> > sua máquina......depois entre em qualquer terminal e logue como
>> >> >> > root...e
>> >> >> > digite as seguintes frases sem aspas.
>> >> >> >
>> >> >> > 1. "/etc/init.d/gdm stop"
>> >> >> >
>> >> >> > 2. "modprobe -r drm"
>> >> >> >
>> >> >> > 3. edite o arquivo /etc/modules/blacklist e acrescente no fim do
>> >> >> > arquivo
>> >> >> > o
>> >> >> > seguinte:
>> >> >> > "blacklist drm"
>> >> >> >
>> >> >> > Module Loader present
>> >> >> > Markers: (--) probed, (**) from config file, (==) default setting,
>> >> >> >        (++) from command line, (!!) notice, (II) informational,
>> >> >> >        (WW) warning, (EE) error, (NI) not implemented, (??)
>> >> >> > unknown.
>> >> >> > (==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 16 09:32:17
>> >> >> > 2009
>> >> >> > (==) Using config file: "/etc/X11/xorg.conf"
>> >> >> > (II) Module "ddc" already built-in
>> >> >> > (II) Module "i2c" already built-in
>> >> >> > (II) Module "ramdac" already built-in
>> >> >> > (EE) GARTInit: Unable to open /dev/agpgart (No such file or
>> >> >> > directory)
>> >> >> > (EE) [drm] drmOpen failed.
>> >> >> > (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
>> >> >> > (EE) intel(0): Couldn't allocate video memory
>> >> >> >
>> >> >> > sobre essa mensagem acima edite o arquivo xorg.conf que fica em
>> >> >> > /etc/X11/xorg.conf e comente ou apague as linhas onde vc encontra
>> >> >> > isso:
>> >> >> >
>> >> >> > "ddc"
>> >> >> > "i2c"
>> >> >> > "ramdac"
>> >> >> >
>> >> >> > geralmente fica na seção "Modules".
>> >> >> >
>> >> >> > depois de feito tudo isso, ative o GDM novamente e veja se
>> >> >> > funciona.
>> >> >> >
>> >> >> > "/etc/init.d/gdm start"
>> >> >> >
>> >> >> > CTRL+ALT+F7
>> >> >> >
>> >> >> > e veja se aparece a interface gráfica....
>> >> >> >
>> >> >> > aguardo resultados
>> >> >> >
>> >> >> > 2009/9/16 Fernando Xavier <fernando.xavier@gmail.com>
>> >> >> >>
>> >> >> >> Esses aqui?
>> >> >> >>
>> >> >> >> # modprobe intel_agp
>> >> >> >>
>> >> >> >> e
>> >> >> >>
>> >> >> >> # /etc/init.d/gdm restart
>> >> >> >>
>> >> >> >> se funcionar,
>> >> >> >>
>> >> >> >> # echo 'intel_agp' >> /etc/modules
>> >> >> >>
>> >> >> >> Eu executei. Deu a mesma coisa..
>> >> >> >>
>> >> >> >> Abs
>> >> >> >>
>> >> >> >> 2009/9/16 Gunther Furtado <gunfurtado@gmail.com>:
>> >> >> >> > Olá,
>> >> >> >> >
>> >> >> >> > 2009/9/16 Fernando Xavier <fernando.xavier@gmail.com>:
>> >> >> >> >> Olá,
>> >> >> >> >>
>> >> >> >> >> Obrigado pela resposta. Executei o comando e deu isso:
>> >> >> >> >>
>> >> >> >> >>>
>> >> >> >> >>> # lsmod | grep agp
>> >> >> >> >>
>> >> >> >> >> agpgart 28776 1drm
>> >> >> >> >>
>> >> >> >> >> Quando tento reiniciar o gdm dá a mesma coisa.  Coloco a saída
>> >> >> >> >> completa do erro abaixo
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> > O comando acima serve somente para determinar os módulos que já
>> >> >> >> > estejam carregados, não para corrigir qualquer erro, minha
>> >> >> >> > mensagem
>> >> >> >> > anterior pode ter dado outra impressão, desculpe. Tente
>> >> >> >> > executar
>> >> >> >> > os
>> >> >> >> > outros comandos e nos avise do resultado.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > [corte]
>> >> >> >> >
>> >> >> >> >>> # modprobe intel_agp
>> >> >> >> >>>
>> >> >> >> >>> e
>> >> >> >> >>>
>> >> >> >> >>> # /etc/init.d/gdm restart
>> >> >> >> >>>
>> >> >> >> >
>> >> >> >> > Abraço,
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > Gunther Furtado
>> >> >> >> > Curitiba - Paraná - Brasil
>> >> >> >> > gunfurtado@gmail.com
>> >> >> >> >
>> >> >> >> > "...agora, só nos sobrou o futuro...", visto em
>> >> >> >> > www.manuchao.net
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > To UNSUBSCRIBE, email to
>> >> >> >> > debian-user-portuguese-REQUEST@lists.debian.org
>> >> >> >> > with a subject of "unsubscribe". Trouble? Contact
>> >> >> >> > listmaster@lists.debian.org
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> To UNSUBSCRIBE, email to
>> >> >> >> debian-user-portuguese-REQUEST@lists.debian.org
>> >> >> >> with a subject of "unsubscribe". Trouble? Contact
>> >> >> >> listmaster@lists.debian.org
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> --
>> >> >> To UNSUBSCRIBE, email to
>> >> >> debian-user-portuguese-REQUEST@lists.debian.org
>> >> >> with a subject of "unsubscribe". Trouble? Contact
>> >> >> listmaster@lists.debian.org
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> To UNSUBSCRIBE, email to
>> >> debian-user-portuguese-REQUEST@lists.debian.org
>> >> with a subject of "unsubscribe". Trouble? Contact
>> >> listmaster@lists.debian.org
>> >>
>> >
>> >
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmaster@lists.debian.org
>>
>
>


Reply to: