WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: WYSE V50LE dual screen setup  (Read 18552 times)

Offline jqcore

  • Newbie
  • *
  • Posts: 22
WYSE V50LE dual screen setup
« on: April 10, 2013, 10:05:52 PM »
I have been trying to setup dual screen on this puppy and was not able to.

I know it works because the WYSE Linux OS works with dual screen.

I tried using xf86-video-openchrome, it loads and X starts but all I get is a black screen on the second screen.

Here is the output of lspci:

01:00.0 VGA compatible controller: VIA Technologies, Inc. CN700/P4M800 Pro/P4M800 CE/VN800 [S3 UniChrome Pro] (rev 01)

Here is the output of lsmod: (I cant see openchrome here)
tc@box:~$ lsmod
Module                  Size  Used by    Tainted: P
cpufreq_userspace      12288  0
cpufreq_powersave      12288  0
cpufreq_stats          12288  0
cpufreq_conservative    12288  0
squashfs               24576 37
ppdev                  12288  0
scsi_wait_scan         12288  0
pcspkr                 12288  0
parport_pc             24576  0
parport                24576  2 ppdev,parport_pc
via_rhine              20480  0
zcache                 12288  0
zram                   12288  1
loop                   16384 74
tc@box:~$

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: WYSE V50LE dual screen setup
« Reply #1 on: April 10, 2013, 11:00:36 PM »
Here is the output of lsmod: (I cant see openchrome here)

As expected, it's a userland driver and according to your Xorg.0.log gets loaded.

However:
Code: [Select]
[drm] failed to load kernel module "via"
Do you have graphics-3.0.21-tinycore.tcz loaded?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline jqcore

  • Newbie
  • *
  • Posts: 22
Re: WYSE V50LE dual screen setup
« Reply #2 on: April 10, 2013, 11:37:37 PM »
Yes, I just removed it and tried again  with the same result.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: WYSE V50LE dual screen setup
« Reply #3 on: April 11, 2013, 05:17:05 AM »
What happens if you try to set it up dynamically, with xrandr commands?
The only barriers that can stop you are the ones you create yourself.

Offline jqcore

  • Newbie
  • *
  • Posts: 22
Re: WYSE V50LE dual screen setup
« Reply #4 on: April 11, 2013, 09:34:53 AM »
I get below when running xrandr -q

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
     1280x1024 75.0*

Offline jqcore

  • Newbie
  • *
  • Posts: 22
Re: WYSE V50LE dual screen setup
« Reply #5 on: April 11, 2013, 10:46:13 PM »
I read from openchrome and unichrome site that dual head is not supported.  :(

I tried compiling the driver from VIA's site but getting Fatal error: xf86Resources.h No such file or directory,
Read it somewhere that this has been removed in version xorg 1.7.

I think using Xorg-7.4.tcz should work but I do'nt know how to proceed because i do not see Xorg-7.4-dev.tcz..

Can anyone share how to build (Xorg-7.4-dev / lib /bin)? so I can try compiling VIA's official driver...

Thanks


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: WYSE V50LE dual screen setup
« Reply #6 on: April 11, 2013, 11:18:07 PM »
Hi jqcore
Xorg-7.4-dev.tcz is available in the 3.x repository and is the same version as Xorg-7.4.tcz in the 4.x repository.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: WYSE V50LE dual screen setup
« Reply #7 on: April 11, 2013, 11:22:10 PM »
Hi jqcore
By the way, Xorg-7.4-dev.tcz does contain xf86Resources.h.

Offline jqcore

  • Newbie
  • *
  • Posts: 22
Re: WYSE V50LE dual screen setup
« Reply #8 on: April 11, 2013, 11:34:34 PM »
where can I download Xorg-7.4-dev.tcz, cant seem to find it.

Thanks

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: WYSE V50LE dual screen setup
« Reply #9 on: April 11, 2013, 11:40:47 PM »
Hi jqcore
Try:
Code: [Select]
wget http://tinycorelinux.net/3.x/tcz/Xorg-7.4-dev.tczYou might also need the dependency file:
Code: [Select]
wget http://tinycorelinux.net/3.x/tcz/Xorg-7.4-dev.tcz.dep

Offline jqcore

  • Newbie
  • *
  • Posts: 22
Re: WYSE V50LE dual screen setup
« Reply #10 on: April 12, 2013, 01:19:12 PM »
Now I get panoramiXproto.h no such file or directory, the file is there when I search it..

I'm lost..

Thanks

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: WYSE V50LE dual screen setup
« Reply #11 on: April 12, 2013, 01:29:46 PM »
Hi jqcore
It might be helpful if you paste the error message and some of the lines preceding it in your next post. Use the mouse
with the left button held down to highlight the text in the terminal. Then paste it in the browser by middle clicking.
Please use code tags.

Offline jqcore

  • Newbie
  • *
  • Posts: 22
Re: WYSE V50LE dual screen setup
« Reply #12 on: April 13, 2013, 12:39:55 PM »
Code: [Select]
[tc@box:~/via-xserver-86a-50283_src/XServer$ make
make  all-recursive
make[1]: Entering directory `/home/tc/via-xserver-86a-50283_src/XServer'
Making all in src
make[2]: Entering directory `/home/tc/via-xserver-86a-50283_src/XServer/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include   -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri   -I/usr/include/X11  -I/usr/include/X11/extensions -I.. -I.  -O2 -MT via_common.lo -MD -MP -MF .deps/via_common.Tpo -c -o via_common.lo via_common.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DXFree86LOADER -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include/X11/dri -I/usr/include/X11 -I/usr/include/X11/extensions -I.. -I. -O2 -MT via_common.lo -MD -MP -MF .deps/via_common.Tpo -c via_common.c  -fPIC -DPIC -o .libs/via_common.o

In file included from via_driver.h:66:0,
                 from via_common.h:29,
                 from via_common.c:32:
via_bios.h:32:45: fatal error: panoramiXproto.h: No such file or directory
compilation terminated.
make[2]: *** [via_common.lo] Error 1
make[2]: Leaving directory `/home/tc/via-xserver-86a-50283_src/XServer/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tc/via-xserver-86a-50283_src/XServer'
make: *** [all] Error 2
tc@box:~/via-xserver-86a-50283_src/XServer$
/code]

[code]tc@box:~/via-xserver-86a-50283_src/XServer$ sudo find / -name panoramiXproto.h
/tmp/tcloop/Xorg-7.4-dev/usr/local/include/X11/extensions/panoramiXproto.h
/usr/local/include/X11/extensions/panoramiXproto.h
tc@box:~/via-xserver-86a-50283_src/XServer$

Offline jqcore

  • Newbie
  • *
  • Posts: 22
Re: WYSE V50LE dual screen setup
« Reply #13 on: April 13, 2013, 12:42:36 PM »
and here's the autogen.sh output.

Code: [Select]
tc@box:~/via-xserver-86a-50283_src/XServer$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
autoreconf: running: /usr/local/bin/autoconf
autoreconf: running: /usr/local/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking for fgrep... /usr/local/bin/grep -F
checking for ld used by gcc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/local/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/local/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if XINERAMA is defined... yes
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XF86DRI is defined... yes
checking if DPM.tension is defined... yes
checking if XV is defined... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking for DRI... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config_via.h
config.status: config_via.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
tc@box:~/via-xserver-86a-50283_src/XServer$

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: WYSE V50LE dual screen setup
« Reply #14 on: April 13, 2013, 01:16:14 PM »
Hi jqcore
I don't see anything wrong, but I'm no expert. What does the include line for  panoramiXproto.h  look like in the
via_bios.h  file on line 32?