Driver Support for VIA VT1632A Video Card

Non release banter
User avatar
Hamza
Warlord
Warlord
Posts: 1908
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Driver Support for VIA VT1632A Video Card

Post#16 by Hamza » 01 Jun 2011, 13:33

You can make your own module from xrandr slackware package.

That will be easy for other users to use 2/3/4 desktops on Porteus.
NjVFQzY2Rg==

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Driver Support for VIA VT1632A Video Card

Post#17 by fanthom » 01 Jun 2011, 21:10

@MasterSplinter, Hamza
xrandr and lxrandr are included by default (002 and 003). please check before posting as your solutions may confuse one.

@MasterSplinter
does it help you to get dual screen?
Please add [Solved] to your thread title if the solution was found.

User avatar
MasterSplinter
White ninja
White ninja
Posts: 21
Joined: 13 May 2011, 17:25
Location: Portland, Maine, US&A

Re: Driver Support for VIA VT1632A Video Card

Post#18 by MasterSplinter » 02 Jun 2011, 16:08

fanthom wrote:@MasterSplinter, Hamza
xrandr and lxrandr are included by default (002 and 003). please check before posting as your solutions may confuse one.

@MasterSplinter
does it help you to get dual screen?
I downgraded back to RC1 to test this out (using Chrome Drivers for mirrored screens), installed xrandr, and this is what I get:

Code: Select all

bash-4.1# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024       0.0*
   1152x864        0.0
   1024x768        0.0
   800x600         0.0
   640x480         0.0
Running the GUI lxrandr in LXDE mode, it still only sees one display.

I was reading about an arandr GUI...which I am not sure will help me... I suspect some tweaking in the xorg.conf and and another file to get a virtual (extended or spanning) desktop going.

Posted after 10 minutes 7 seconds:
I did try to install arandr:

Code: Select all

bash-4.1# wget http://cloud.github.com/downloads/PhantomX/slackbuilds/arandr-0.1.4.tar.bz2
--2011-06-02 10:43:44--  http://cloud.github.com/downloads/PhantomX/slackbuilds/arandr-0.1.4.tar.bz2
Resolving cloud.github.com (cloud.github.com)... 204.246.169.195, 204.246.169.33, 204.246.169.26, ...
Connecting to cloud.github.com (cloud.github.com)|204.246.169.195|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3154 (3.1K) [application/octet-stream]
Saving to: `arandr-0.1.4.tar.bz2'

100%[======================================>] 3,154       --.-K/s   in 0.02s

2011-06-02 10:43:44 (148 KB/s) - `arandr-0.1.4.tar.bz2' saved [3154/3154]

bash-4.1# tar xjf arandr-0.1.4.tar.bz2
bash-4.1# cd arandr
bash-4.1# ./arandr.SlackBuild 2>&1 | tee build.log
--2011-06-02 10:44:17--  http://christian.amsuess.com/tools/arandr/files/arandr-0.1.4.tar.gz
Resolving christian.amsuess.com (christian.amsuess.com)... 78.46.51.111, 2a01:4f8:101:10a6::2
Connecting to christian.amsuess.com (christian.amsuess.com)|78.46.51.111|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 63928 (62K) [application/x-gzip]
Saving to: `arandr-0.1.4.tar.gz'

     0K .......... .......... .......... .......... .......... 80%  148K 0s
    50K .......... ..                                         100%  117K=0.4s

2011-06-02 10:44:18 (141 KB/s) - `arandr-0.1.4.tar.gz' saved [63928/63928]

arandr-0.1.4/
arandr-0.1.4/.tx/
arandr-0.1.4/.tx/config
arandr-0.1.4/COPYING
arandr-0.1.4/ChangeLog
arandr-0.1.4/NEWS
arandr-0.1.4/README
arandr-0.1.4/TODO
arandr-0.1.4/arandr
arandr-0.1.4/data/
arandr-0.1.4/data/arandr.1.txt
arandr-0.1.4/data/arandr.desktop
arandr-0.1.4/data/po/
arandr-0.1.4/data/po/ar.po
arandr-0.1.4/data/po/ca.po
arandr-0.1.4/data/po/da.po
arandr-0.1.4/data/po/de.po
arandr-0.1.4/data/po/es.po
arandr-0.1.4/data/po/fr.po
arandr-0.1.4/data/po/it.po
arandr-0.1.4/data/po/kn.po
arandr-0.1.4/data/po/messages.pot
arandr-0.1.4/data/po/pl.po
arandr-0.1.4/data/po/pt_BR.po
arandr-0.1.4/data/po/ru.po
arandr-0.1.4/data/po/tr.po
arandr-0.1.4/data/po/zh_CN.po
arandr-0.1.4/screenlayout/
arandr-0.1.4/screenlayout/__init__.py
arandr-0.1.4/screenlayout/auxiliary.py
arandr-0.1.4/screenlayout/data/
arandr-0.1.4/screenlayout/data/gpl-3.txt
arandr-0.1.4/screenlayout/demo.py
arandr-0.1.4/screenlayout/gui.py
arandr-0.1.4/screenlayout/meta.py
arandr-0.1.4/screenlayout/metacity.py
arandr-0.1.4/screenlayout/snap.py
arandr-0.1.4/screenlayout/widget.py
arandr-0.1.4/screenlayout/xrandr.py
arandr-0.1.4/setup.py
Traceback (most recent call last):
  File "setup.py", line 9, in <module>
    import docutils.core
ImportError: No module named docutils.core
bash-4.1# ./arandr
bash: ./arandr: No such file or directory
I am guessing it needs to be placed in a module form, and missing some dependencies:
Python
PyGTK
docutils

User avatar
MasterSplinter
White ninja
White ninja
Posts: 21
Joined: 13 May 2011, 17:25
Location: Portland, Maine, US&A

Re: Driver Support for VIA VT1632A Video Card

Post#19 by MasterSplinter » 27 Jun 2011, 14:28

I took a break from this subject, and now I'm coming back to dabble with it.

I am now using Porteus v1.0 (freshly installed) coming from RC3. The VIA drivers I am using are:

xserver-xorg-video-openchrome_0.2.904+svn842-2_i386.xzm
xserver-xorg-video-via_0.2.904+svn842-2_i386.xzm

These give me mirroring screens.

I am not using xrandr at the moment... just trying to use a modified xorg.conf placed in /porteus/rootcopy/etc/X11. I am booting up from "Text Mode", logging in as root, and executing the startx command. It can't launch startx because of an error about not able to detect the screens. The xconf command allows me to use stratx, but, I have a feeling it is no longer referring to my custom xorg.conf.

This is the modified xorg.conf I am using:

Code: Select all

    Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection

    Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/local"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/OTF"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/CID"
    FontPath     "/usr/share/fonts/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/cyrillic"
    EndSection

    Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "dri2"
    Load  "extmod"
    Load  "glx"
    Load  "record"
    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"
  Identifier     "Monitor0"
  # Preferred resolution for the monitor
  Option         "PreferredMode"  "1280x1024"
  Option         "Primary"    "True"
EndSection
 

Section "Monitor"
  Identifier     "Monitor1"
  Option         "PreferredMode"  "1280x1024"
  Option         "RightOf" "Monitor0"
  Option         "Primary"    "False"
EndSection

Section "Device"
Identifier  "Card0"
Driver      "openchrome"
BusID       "PCI:1:0:0"
#assigns the output DVI-I-0 to Monitor0
Option  "monitor-DVI-I-0" "Monitor0"
#assigns the output DVI-I-1 to Monitor1
Option         "monitor-DVI-I-1" "Monitor1"
EndSection

Section "Screen"
  Identifier          "screen0"
  Device              "Device0"
  Monitor             "Monitor0"
  DefaultDepth       24
  SubSection "Display"
    Depth           24
    Modes           "1280x1024"
    # See the paragraph on gentoo-wiki for calculating the virtual screen resolution.
    # In this example, X == 1280+1280 and Y == 1024
    Virtual          2560 1024
    EndSubSection
EndSection



Is there an obvious syntax issue in my xorg.conf? :oops:

When running xconf, it makes this xorg.conf...which doesn't help me in my goal of extended or spanning desktop (just mirroring):

Code: Select all

Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/local"
FontPath     "/usr/share/fonts/TTF"
FontPath     "/usr/share/fonts/OTF"
FontPath     "/usr/share/fonts/Type1"
FontPath     "/usr/share/fonts/misc"
FontPath     "/usr/share/fonts/CID"
FontPath     "/usr/share/fonts/75dpi/:unscaled"
FontPath     "/usr/share/fonts/100dpi/:unscaled"
FontPath     "/usr/share/fonts/75dpi"
FontPath     "/usr/share/fonts/100dpi"
FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
Load  "dbe"
Load  "dri"
Load  "dri2"
Load  "extmod"
Load  "glx"
Load  "record"
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"

  Identifier     "Monitor0"

  # Preferred resolution for the monitor

  Option         "PreferredMode"  "1280x1024"

  Option         "Primary"    "True"

EndSection

 

Section "Monitor"

  Identifier     "Monitor1"

  Option         "PreferredMode"  "1280x1024"

  Option         "RightOf" "Monitor0"

  Option         "Primary"    "False"

EndSection



Section "Device"
Identifier  "Card0"
Driver      "openchrome"
BusID       "PCI:1:0:0"

#assigns the output DVI-I-0 to Monitor0

Option  "monitor-DVI-I-0" "Monitor0"

#assigns the output DVI-I-1 to Monitor1

Option         "monitor-DVI-I-1" "Monitor1"
EndSection

Section "Screen"

  Identifier          "screen0"

  Device              "Device0"

  Monitor             "Monitor0"

  DefaultDepth       24

  SubSection "Display"

    Depth           24

    Modes           "1280x1024"

    # See the paragraph on gentoo-wiki for calculating the virtual screen resolution.

    # In this example, X == 1280+1280 and Y == 1024

    Virtual          2560 1024

    EndSubSection

EndSection 


Post Reply