Driver Support for VIA VT1632A Video Card

Non release banter
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#11 by MasterSplinter » 25 May 2011, 20:52

Blaze wrote:MasterSplinter, hm... damn :wall:
You can try to convert two deb packages with driver for via from debian repo in xzm format:
xserver-xorg-video-via_0.2.904+svn842-2_i386.deb
xserver-xorg-video-openchrome_0.2.904+svn842-2_i386.deb
and then try to copy these modules to /porteus/modules/
The very first thing I tried was to stop xconf from executing at startup (/boot/porteus.cfg editing KDE only), that way I can observe step-by-step the results of each change. That was successful. The next thing I did was re-do Blaze's steps 1 - 4 (just in-case xorg.conf got modified during that process)...which it apparently didn't. I placed a copy of xorg.conf in the appropriate rootcopy sub-folder. At least now, I am satisfied that I have more control.

With some help, I was able to convert those two .deb files into .xzm files. I had been accustomed to right-clicking on non-porteus packages and left-clicking on "Convert deb to porteus...". The error I got was: "Could not find the program '(/opt/porteus-scripts/deb2sq4'".

I was then instructed to try:

Code: Select all

deb2xzm xserver-xorg-video-openchrome_0.2.904+svn842-2_i386.deb
...which worked like a charm.

I placed both modules in /porteus/modules/ right next to the other ones and rebooted:

/porteus/modules/:
crippled_sources-porteus-v1.0_rc1-x86.xzm
kernel_headers-porteus-v1_rc1-x86.xzm
apr 1.4.2 i486 2.xzm
apr util 1.3.10 i486 1.xzm
subversion 1.6.16 i486 1.xzm
xserver-xorg-video-openchrome_0.2.904+svn842-2_i386.xzm
xserver-xorg-video-via_0.2.904+svn842-2_i386.zxm

Choosing KDE, it booted into a text mode. Startx wouldn't work, so I did a xconf. Startx worked then. I was pleased to see that both monitors were now enabled, but, mirrored, and the display configuration didn't detect multi-displays.

(changed permissions on all .xzm files to -rwxrwxrwx) The earlier 5 modules were already -rwx.

I then tried to remove all modules except (below) and rebooted:
xserver-xorg-video-openchrome_0.2.904+svn842-2_i386.xzm
xserver-xorg-video-via_0.2.904+svn842-2_i386.zxm

Same results. I then renamed my porteus/changes to changes.old2 and rebooted.

Same results. I did discover, however, that I had an issue deleting any of my previous "changes" folders with the error: Could not make folder //.Trash-0/files/changes.old/.wh..wh.plnk.

Posted after 2 hours 18 minutes 20 seconds:
___________________________________
A Note:

Before I looked into Porteus RC1, I was using Slax 6.1.2... I noticed that Slax detected that there was more than one display in the Display Configuration (an extra tab called Multiple Monitors) ... although it failed to utilize them... among other things, it would only let me have a refresh rate of 60Hz. @ 1600x1050... I think Slax just needed to use some of the drivers you guys have been suggesting.

I am booted into Slax 6.1.2 (at this moment)... I am wondering if the Display Configuration application is different from what Porteus us currently using, how to compare, and use... if possible.

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#12 by Hamza » 26 May 2011, 17:11

I am booted into Slax 6.1.2 (at this moment)... I am wondering if the Display Configuration application is different from what Porteus us currently using, how to compare, and use... if possible.
Porteus x32 using the KDE 3.5.12 Trinity , and Slax 6.1.2 using KDE 3.5.10 , it is not the same version and not the same config "synthax".
NjVFQzY2Rg==

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#13 by MasterSplinter » 01 Jun 2011, 12:57

Blaze gave me these links to look at to aid me in dual monitors:

http://www.x.org/releases/X11R7.0/doc/html/via.4.html

http://ubuntuforums.org/showthread.php?t=269052

Posted after 5 days 16 hours 2 minutes 21 second:
__________________________

I would also like to add these links to my thread for xrandr... a possible alternative to getting dual monitors setup.

Hamza provided links:

64bit:
http://pkgs.org/slackware-13.37/slackwa ... 1.txz.html

32bit:
http://pkgs.org/slackware-13.37/slackwa ... 1.txz.html

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#14 by Hamza » 01 Jun 2011, 13:20

These files are only compatible with Porteus v1.0 (32&64).

64bit :
xrandr-1.3.4-x86_64-1

32bit :
xrandr-1.3.4-i486-1
NjVFQzY2Rg==

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#15 by MasterSplinter » 01 Jun 2011, 13:31

Hamza wrote:These files are only compatible with Porteus v1.0 (32&64).

64bit :
xrandr-1.3.4-x86_64-1

32bit :
xrandr-1.3.4-i486-1
Thank you :D

I also want to post this link, which may or may not work in Porteus....lxrandr: it is a small gui for controlling xrandr.

http://intellinuxgraphics.org/dualhead.html

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: 5667
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