Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Een driver manueel installeren  (gelezen 1938 keer)

Een driver manueel installeren
« Gepost op: 2007/04/15, 14:15:01 »
Hoi,

Ik heb een Trident Cyberblade grafische kaart. Deze wordt niet goed ondersteund. Daarom heb ik op google zitten zoeken naar een driver. Ik heb er één gevonden. Nu is mijn vraag hoe ga ik verder? Ik heb de driver gedownload en ik heb nu een bestand "XF86_SVGA". Hoe moet ik die nu installeren?

Alvast bedankt,

Dominique

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Een driver manueel installeren
« Reactie #1 Gepost op: 2007/04/15, 14:31:22 »
Er zit al een driver in Ubuntu.
Je hoeft dus niets te downloaden als het goed is.

Welk type videokaart is het precies? En hoeveel geheugen zit er op die kaart?
Je kan informatie krijgen door lspci in te voeren in een terminalvenster.

Plaats ook het /etc/X11/xorg.conf bestand even hier.

Een driver manueel installeren
« Reactie #2 Gepost op: 2007/04/15, 16:22:06 »
Hoi Johanvd,

Hier volgen de gevraagde gegevens:

dominique@Satellite:~$ lspci
00:00.0 Host bridge: ALi Corporation M1672 Northbridge [CyberALADDiN-P4]
00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller
00:04.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:07.0 ISA bridge: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+]
00:08.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:09.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
00:0c.0 USB Controller: NEC Corporation USB (rev 43)
00:0c.1 USB Controller: NEC Corporation USB (rev 43)
00:0c.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
00:11.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 33)
00:12.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 05)
01:00.0 VGA compatible controller: Trident Microsystems CyberBlade XPAi1 (rev 82)
02:00.0 Network controller: Texas Instruments ACX 100 22Mbps Wireless Interface
dominique@Satellite:~$

# /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 "Files"
   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"
   # path to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load   "bitmap"
   Load   "dbe"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "record"
   Load   "v4l"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "be"
   Option      "XkbOptions"   "lv3:ralt_switch"
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"
   Identifier   "Synaptics Touchpad"
   Driver      "synaptics"
   Option      "SendCoreEvents"   "true"
   Option      "Device"      "/dev/psaux"
   Option      "Protocol"      "auto-dev"
EndSection

Section "InputDevice"
   Driver      "wacom"
   Identifier   "stylus"
   Option      "Device"   "/dev/wacom"   # Change to
                     # /dev/input/event
                     # for USB
   Option      "Type"      "stylus"
   Option      "ForceDevice"   "ISDV4"      # Tablet PC ONLY
EndSection

Section "InputDevice"
   Driver      "wacom"
   Identifier   "eraser"
   Option      "Device"   "/dev/wacom"   # Change to
                     # /dev/input/event
                     # for USB
   Option      "Type"      "eraser"
   Option      "ForceDevice"   "ISDV4"      # Tablet PC ONLY
EndSection

Section "InputDevice"
   Driver      "wacom"
   Identifier   "cursor"
   Option      "Device"   "/dev/wacom"   # Change to
                     # /dev/input/event
                     # for USB
   Option      "Type"      "cursor"
   Option      "ForceDevice"   "ISDV4"      # Tablet PC ONLY
EndSection

Section "Device"
   Identifier   "Generieke videokaart"
   Driver      "trident"
   BusID      "PCI:1:0:0"
 #   Option "TVOutFormat" "SVIDEO" #or  Composite etc
 #   Option "TVStandard" "PAL-B" #or NTSC etc
EndSection

Section "Monitor"
   Identifier   "Generieke beeldscherm"
   Option      "DPMS"
   HorizSync   30-70
   VertRefresh   50-160
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Generieke videokaart"
   Monitor      "Generieke beeldscherm"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
   InputDevice     "stylus"   "SendCoreEvents"
   InputDevice     "cursor"   "SendCoreEvents"
   InputDevice     "eraser"   "SendCoreEvents"
   InputDevice   "Synaptics Touchpad"
EndSection

Section "DRI"
   Mode   0666
EndSection

ps: De driver werkt wel maar er is geen 3D-ondersteuning. Ik heb de vergelijking gemaakt tussen google-earth op mijne windows en op de ubuntu fiesty. Op ubuntu zijn de prestaties echt zielig. Ik denk dat dit komt omdat direct rendering niet actief is in ubuntu.

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Een driver manueel installeren
« Reactie #3 Gepost op: 2007/04/15, 17:39:57 »
Pas dit stuk in xorg.conf aan:

Citaat
Section "Device"
    Identifier    "Generieke videokaart"
    Driver        "trident"
    BusID        "PCI:1:0:0"
#    Option "TVOutFormat" "SVIDEO" #or  Composite etc
#    Option "TVStandard" "PAL-B" #or NTSC etc
EndSection
Dit moet dit worden:
Citaat
Section "Device"
    Identifier    "Generieke videokaart"
    Driver        "trident"
   Option       "CyberShadow" "false"
   Option       "ShadowFB" "true"
   Option       "accel"
   Option       "BackingStore" "on"
   Option      "SaveUnders"   "on"
    BusID        "PCI:1:0:0"
#    Option "TVOutFormat" "SVIDEO" #or  Composite etc
#    Option "TVStandard" "PAL-B" #or NTSC etc
EndSection
Maak eerst een backup van de oude xorg.conf:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

Daarna kan je het bestand openen:
sudo gedit /etc/X11/xorg.conf

De info komt hiervandaan:
http://tuxmobil.org/toshiba_tecra_m1.html

Het is wel een oude videokaart volgens mij dus ik weet niet in hoeverre 3d gaat werken.

Een driver manueel installeren
« Reactie #4 Gepost op: 2007/04/15, 18:22:29 »
Cool, bedankt...
Ik ga het straks of morgen proberen, ik ben momenteel niet thuis :)

Een driver manueel installeren
« Reactie #5 Gepost op: 2007/04/15, 22:14:08 »
Citaat van: Johanvd
Pas dit stuk in xorg.conf aan:

Citaat
Section "Device"
    Identifier    "Generieke videokaart"
    Driver        "trident"
    BusID        "PCI:1:0:0"
#    Option "TVOutFormat" "SVIDEO" #or  Composite etc
#    Option "TVStandard" "PAL-B" #or NTSC etc
EndSection
Dit moet dit worden:
Citaat
Section "Device"
    Identifier    "Generieke videokaart"
    Driver        "trident"
   Option       "CyberShadow" "false"
   Option       "ShadowFB" "true"
   Option       "accel"
   Option       "BackingStore" "on"
   Option      "SaveUnders"   "on"
    BusID        "PCI:1:0:0"
#    Option "TVOutFormat" "SVIDEO" #or  Composite etc
#    Option "TVStandard" "PAL-B" #or NTSC etc
EndSection
Maak eerst een backup van de oude xorg.conf:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

Daarna kan je het bestand openen:
sudo gedit /etc/X11/xorg.conf

De info komt hiervandaan:
http://tuxmobil.org/toshiba_tecra_m1.html

Het is wel een oude videokaart volgens mij dus ik weet niet in hoeverre 3d gaat werken.
Helaas... Deze instelling werkt niet. Dan start de x-server niet meer op. Ik heb wat zitten proberen en als ik de ShadowFB op false zet, dan start de x-server terug op maar nog altijd geen direct rendering en ook geen goede prestaties.

Back to the drawing bord :(

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Een driver manueel installeren
« Reactie #6 Gepost op: 2007/04/15, 22:17:19 »
Dan wordt het lastig denk ik.
Met google kwam ik niet heel veel linkjes tegen die over jouw videokaart en direct rendering gingen.

Een driver manueel installeren
« Reactie #7 Gepost op: 2007/04/16, 19:01:19 »
Klopt, ik ook niet. Toch zou er een oplossing moeten zijn, niet? Zou er geen mogelijkheid zijn om het direct-renderen te forceren? Daarom wilde ik een driver van het internet proberen in de plaats van die die bij ubuntu gelevert wordt.
Op de site waar ik de driver vandaan heb gehaald staat duidelijk bij dat die voor mijn videokaart is met 3D-ondersteuning.
Alleen weet ik niet wat doen met dit bestand.

Offline Dave

  • Lid
Een driver manueel installeren
« Reactie #8 Gepost op: 2007/04/16, 19:35:22 »
Ubuntu is zo compleet dat niemand weet hoe een losse driver te installeren hihi

Een driver manueel installeren
« Reactie #9 Gepost op: 2007/04/16, 20:27:30 »
Citaat van: Dave
Ubuntu is zo compleet dat niemand weet hoe een losse driver te installeren hihi
Dat was ik ook net aan het denken. We zijn gewoon verwende nesten :)