Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Laitealue => Aiheen aloitti: Akseli007 - 15.06.08 - klo:15.31
-
Mitä teen? Kone ei pyöritä supertux2, koska ei oo OpenGL Mistä sen saa. saako? Voisitteko auttaa?
-
mikä näytön ohjain sulla on
-
En tiiä mut kyllä sen pitäisi super tux:ia pyörittää
-
mitä antaa komento
glxinfo | grep direct
-
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect Tollee se sano!
-
seuraavaksi voisit kopsata tänne xorg.conf tiedoston kokonaisuudessaan
sudo gedit /etc/X11/xorg.conf
-
mikä näytön ohjain sulla on
komento lspci on hyvä komento laitteiston listaamisessa.
Tai lshw -C display tässä tapauksessa, näytön suhteen.
mitä antaa komento
glxinfo | grep direct
Tuolla komennolla saadaan tietää onko 3d kiihdytys päällä.
seuraavaksi voisit kopsata tänne xorg.conf tiedoston kokonaisuudessaan
sudo gedit /etc/X11/xorg.conf
Miksi ylläpitäjän oikeuksilla yksinkertainen tiedoston tulostus, vielä tekstieditoriin?
cat /etc/X11/xorg.conf
cat komento on tiedoston katsomiseen soveltuva komento.
-
Miksi ylläpitäjän oikeuksilla yksinkertainen tiedoston tulostus, vielä tekstieditoriin?
miksi ei ??? ihme nipottajia
-
Miksi ylläpitäjän oikeuksilla yksinkertainen tiedoston tulostus, vielä tekstieditoriin?
miksi ei ??? ihme nipottajia
Varmaankin sen takia kun ei ole tarvetta!
Ja jos sattuu vaikka näppäilemään sinne tiedostoon uusia merkkejä, niin sitten ihmetellään urakalla miksi jotkut asiat tökkii!
Tottakai sitä järjestelmää saa ajaa "root(ylläpitäjän)" oikeuksin.
Uudelleenasennukset ja järjestelmän pelastaminen on mukavaa puuhaa. Varsinkin jos ei tiedä mitä tekee(aloittelijat).
sudo on sitä varten tehty, että tilapäisesti sitä vaativissa tehtävissä voidaan tehdä ylläpito-tehtäviä.
-
Yleensä riittää kun asentaa näytönohjaimen rajoitetun ajurin, ei yleensä tarvita näitä 'mitä sanoo komento sejase' -litanioita. Siihen ei tarvitse edes tietää mikä näytönohjain koneessa on. Jos tulee herja 'et tarvitse rajoitettua ajuria' niin siinä vaiheessa ehkä vasta kannattaa alkaa tarkempaan selvittelyyn. Tyvestä puuhun, please.
-
Yleensä riittää kun asentaa näytönohjaimen rajoitetun ajurin, ei yleensä tarvita näitä 'mitä sanoo komento sejase' -litanioita. Siihen ei tarvitse edes tietää mikä näytönohjain koneessa on. Jos tulee herja 'et tarvitse rajoitettua ajuria' niin siinä vaiheessa ehkä vasta kannattaa alkaa tarkempaan selvittelyyn. Tyvestä puuhun, please.
näinhän se on, mutta nykyään kun nämä rajoitetut ajurit toimii miten toimii niin olisi hyvä tietää onko kyseessä ati vai nvidia, itsellä ati ja kokemuskesta tiedän miten paljon kivempaa on kun ei ole rajoitetut ajurit asennettu ubuntun valikoista
-
Tällee sanoo ku käyttää LSHW koodia
akseli007@kansala:~$ lshw
WARNING: you should run this program as super-user.
kansala
description: Computer
width: 32 bits
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 254MiB
*-cpu
product: Pentium III (Coppermine)
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
version: 6.8.6
size: 800MHz
width: 32 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse up
*-cache:0
description: L1 cache
physical id: 0
size: 32KiB
*-cache:1
description: L2 cache
physical id: 1
size: 256KiB
*-pci
description: Host bridge
product: 82810E DC-133 (GMCH) Graphics Memory Controller Hub
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 03
width: 32 bits
clock: 33MHz
configuration: driver=agpgart-intel module=intel_agp
*-display
description: VGA compatible controller
product: 82810E DC-133 (CGC) Chipset Graphics Controller
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:00:01.0
version: 03
width: 32 bits
clock: 66MHz
capabilities: vga_controller bus_master cap_list
configuration: driver=i810_smbus latency=0 module=i2c_i810
*-pci
description: PCI bridge
product: 82801AA PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master
*-multimedia
description: Multimedia audio controller
product: ES1371 [AudioPCI-97]
vendor: Ensoniq
physical id: 9
bus info: pci@0000:01:09.0
version: 09
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=ENS1371 latency=64 maxlatency=128 mingnt=12 module=snd_ens1371
*-network
description: Ethernet interface
product: 3c905C-TX/TX-M [Tornado]
vendor: 3Com Corporation
physical id: c
bus info: pci@0000:01:0c.0
logical name: eth0
version: 78
serial: 00:b0:d0:8b:34:53
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=3c59x ip=85.157.242.98 latency=64 maxlatency=10 mingnt=10 module=3c59x multicast=yes
*-isa
description: ISA bridge
product: 82801AA ISA Bridge (LPC)
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration: latency=0
*-ide
description: IDE interface
product: 82801AA IDE Controller
vendor: Intel Corporation
physical id: 1f.1
bus info: pci@0000:00:1f.1
version: 02
width: 32 bits
clock: 33MHz
capabilities: ide bus_master
configuration: driver=ata_piix latency=0 module=ata_piix
*-usb
description: USB Controller
product: 82801AA USB Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 02
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-serial UNCLAIMED
description: SMBus
product: 82801AA SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 02
width: 32 bits
clock: 33MHz
configuration: latency=0
-
ja kun käytin koodia cat /etc/X11/xorg.conf se pisti tään!
akseli007@kansala:~$ cat /etc/X11/xorg.conf
# 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 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.
#
# 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 "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fi"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Device"
Identifier "Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
Boardname "intel"
Busid "PCI:0:1:0"
Driver "intel"
Screen 0
EndSection
Section "Monitor"
Identifier "Plug & Play"
Vendorname "Plug 'n' Play"
Modelname "Plug 'n' Play"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync
modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
Gamma 1.0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
Monitor "Plug & Play"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1400 1050
Modes "1280x1024@60" "1400x1050@60" "1280x960@60" "1152x864@75" "1024x768@43" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "v4l"
EndSection
Section "ServerFlags"
EndSection
akseli007@kansala:~$
-
...
*-pci
description: Host bridge
product: 82810E DC-133 (GMCH) Graphics Memory Controller Hub
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 03
width: 32 bits
clock: 33MHz
configuration: driver=agpgart-intel module=intel_agp
*-display
description: VGA compatible controller
product: 82810E DC-133 (CGC) Chipset Graphics Controller
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:00:01.0
version: 03
width: 32 bits
clock: 66MHz
capabilities: vga_controller bus_master cap_list
configuration: driver=i810_smbus latency=0 module=i2c_i810
...
Intelin integroitu i810 on kyllä hyvin tuettu, ajureiden man -sivujen mukaan 3D(dri) toimii vain 16-bittisenä. Joten koetappa vaihtaa default asetukseksi 16 bittiset värit eli:
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
Monitor "Plug & Play"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1400 1050
Modes "1280x1024@60" "1400x1050@60" "1280x960@60" "1152x864@75" "1024x768@43" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection
->
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
Monitor "Plug & Play"
Defaultdepth 16
SubSection "Display"
Depth 16
Virtual 1400 1050
Modes "1280x1024@60" "1400x1050@60" "1280x960@60" "1152x864@75" "1024x768@43" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection
-
En tajunnu? Eikä tainnu toimia? :(
-
koitin pistää /etc/X11/Xorg.conf tiedostoon defaultdepth riville 16 mutta se sano että
Tiedoston "/etc/X11/xorg.conf" tallentaminen epäonnistui.
Oikeutesi eivät riitä tiedoston tallentamiseen. Tarkista, että annoit sijainnin oikein ja yritä uudelleen.
Vaikka mulla pitäisi olla kaikki oikeudet!
-
En tajunnu? Eikä tainnu toimia? :(
komenna
sudo gedit /etc/X11/xorg.conf
etsi kohta
Intelin integroitu i810 on kyllä hyvin tuettu, ajureiden man -sivujen mukaan 3D(dri) toimii vain 16-bittisenä. Joten koetappa vaihtaa default asetukseksi 16 bittiset värit eli:
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
Monitor "Plug & Play"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1400 1050
Modes "1280x1024@60" "1400x1050@60" "1280x960@60" "1152x864@75" "1024x768@43" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection
ja muuta sielta tuo 24 -> 16:ksi
kuten tässä alla
->
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
Monitor "Plug & Play"
Defaultdepth 16
SubSection "Display"
Depth 16
Virtual 1400 1050
Modes "1280x1024@60" "1400x1050@60" "1280x960@60" "1152x864@75" "1024x768@43" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection
tallenna ja käynnistä kone uudestaan...
-
koitin pistää /etc/X11/Xorg.conf tiedostoon defaultdepth riville 16 mutta se sano että
Tiedoston "/etc/X11/xorg.conf" tallentaminen epäonnistui.
Oikeutesi eivät riitä tiedoston tallentamiseen. Tarkista, että annoit sijainnin oikein ja yritä uudelleen.
Vaikka mulla pitäisi olla kaikki oikeudet!
Jos et muokannut tuota tiedostoa sudon kanssa, sinulla ei ole tarvittavia oikeuksia.
sudo:lla saat aina hetkeksi käyttöösi pääkäyttäjän oikeudet, mutta kannattaa aina miettiä tarkkaan, mitä niillä oikeuksilla tekee. Niillä kun voi tehdä mitä tahansa, esimerkiksi tyhjentää koko kovalevyn tai vielä paljon pahempaa.
Normaalisti ilman sudoa sinulla ei ole kirjoitusoikeuksia käytännössä juuri muualle kuin omaan kotihakemistoosi, joka on mahdollisesti /home/akseli007
Siis:
sudo gedit /etc/X11/xorg.conf
-
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82810E DC-133 CGC [Chipset Graphics Controller]"
Monitor "Plug & Play"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1400 1050
Modes "1280x1024@60" "1400x1050@60" "1280x960@60" "1152x864@75" "1024x768@43" "1024x768@60" "1024x768@70" "1024x768@75" "1024x768@85" "832x624@75" "800x600@60" "800x600@85" "800x600@75" "800x600@72" "800x600@56" "640x480@85" "640x480@75" "640x480@72" "640x480@60"
EndSubSection
EndSection
jos näin väreillä vois korostaa ne kohdat mitkä halutaan vaihtaa 8) 8) 8)