View previous topic :: View next topic |
Author |
Message |
skorefish Apprentice
Joined: 21 Jun 2015 Posts: 285
|
Posted: Mon Aug 24, 2015 6:43 pm Post subject: [solved]startx doesn't work |
|
|
Hello,
I'm trying to install fluxbox
So first I have to install X I 'm following this https://wiki.gentoo.org/wiki/Xorg/Guide
but I get some errors: https://bpaste.net/show/8258243f6de3
What's going wrong ?
my vga
Code: |
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10) (prog-if 00 [VGA controller])
Subsystem: Elitegroup Computer Systems 771/671 PCIE VGA Display Adapter
Flags: 66MHz, medium devsel, IRQ 16
BIST result: 00
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Memory at b0000000 (32-bit, non-prefetchable) [size=128K]
I/O ports at 9000 [size=128]
Expansion ROM at <unassigned> [disabled]
Capabilities: [40] Power Management version 2
Capabilities: [50] AGP version 3.0
|
dmesg https://bpaste.net/show/029911849382
Last edited by skorefish on Tue Aug 25, 2015 2:15 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Aug 24, 2015 6:52 pm Post subject: |
|
|
skorefish,
You didn't build any video drivers for Xorg.
Xorg tried all the ones that work with your hardware, found none of them, then gave up.
You have done this successfully before so is that hint enough? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Mon Aug 24, 2015 6:57 pm Post subject: |
|
|
Code: | [ 757.634] (II) LoadModule: "fbdev"
[ 757.634] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[ 757.634] (II) Module fbdev: vendor="X.Org Foundation"
[ 757.634] compiled for 1.16.4, module version = 0.4.4
[ 757.634] Module class: X.Org Video Driver
[ 757.634] ABI class: X.Org Video Driver, version 18.0
[ 757.634] (II) LoadModule: "vesa"
[ 757.634] (WW) Warning, couldn't open module vesa
[ 757.634] (II) UnloadModule: "vesa"
[ 757.634] (II) Unloading vesa
[ 757.634] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 757.634] (II) FBDEV: driver for framebuffer: fbdev
[ 757.634] (--) using VT number 7
[ 757.636] (II) Loading sub module "fbdevhw"
[ 757.636] (II) LoadModule: "fbdevhw"
[ 757.636] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[ 757.636] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 757.636] compiled for 1.16.4, module version = 0.0.2
[ 757.636] ABI class: X.Org Video Driver, version 18.0
[ 757.636] (EE) open /dev/fb0: No such file or directory
[ 757.636] (WW) Falling back to old probe method for fbdev
[ 757.636] (II) Loading sub module "fbdevhw"
[ 757.636] (II) LoadModule: "fbdevhw"
[ 757.636] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[ 757.636] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 757.636] compiled for 1.16.4, module version = 0.0.2
[ 757.636] ABI class: X.Org Video Driver, version 18.0
[ 757.636] (EE) open /dev/fb0: No such file or directory |
Actually, the fbdev seems to exist. There is no framebuffer enabled in the kernel, so it won't work. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Aug 24, 2015 7:01 pm Post subject: |
|
|
Buffoon,
I was glossing over that in my attempt to teach skorefish to fish as its not the driver that should be used for that video card. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Mon Aug 24, 2015 7:03 pm Post subject: |
|
|
Right, but I tried
Code: | ~ $ emerge -pv xorg-drivers
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-base/xorg-drivers-1.17::gentoo INPUT_DEVICES="evdev -acecad -aiptek -elographics -fpit -hyperpen -joystick -keyboard (-libinput) -mouse -mutouch -penmount -synaptics -tslib -vmmouse -void -wacom" VIDEO_CARDS="nvidia -apm -ast -chips -cirrus -dummy -epson -fbdev -fglrx (-freedreno) (-geode) -glint -i128 (-i740) -intel -mach64 -mga -neomagic -nouveau -nv (-omap) (-omapfb) -qxl -r128 -radeon -radeonsi -rendition -s3 -s3virge -savage -siliconmotion -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx (-tegra) -tga -trident -tseng -vesa -via -virtualbox -vmware (-voodoo)" 0 KiB
|
and it seems sis is not listed, fbdev may be the only viable option. |
|
Back to top |
|
|
skorefish Apprentice
Joined: 21 Jun 2015 Posts: 285
|
Posted: Mon Aug 24, 2015 7:17 pm Post subject: |
|
|
..
Last edited by skorefish on Mon Aug 24, 2015 7:19 pm; edited 1 time in total |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Mon Aug 24, 2015 7:18 pm Post subject: |
|
|
I see my posts are ignored ... splitting.
Last edited by Buffoon on Mon Aug 24, 2015 7:18 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Aug 24, 2015 7:18 pm Post subject: |
|
|
Buffoon,
Ouch. Its been a while since I had SiS graphics. I admit I didn't look.
Code: | [ 757.633] (==) Matched sis as autoconfigured driver 0
[ 757.633] (==) Matched sis as autoconfigured driver 1
[ 757.633] (==) Matched modesetting as autoconfigured driver 2
[ 757.633] (==) Matched fbdev as autoconfigured driver 3
[ 757.633] (==) Matched vesa as autoconfigured driver 4 | is the order of preference.
I'm surprised to see fdev listed before vesa.
Poking about in the ebuilds shows that xorg-drivers-1.13 is that last one that supports sis.
On the face of it, the solution is to use xorg-1.13 or ask google if there is a patch for the Sis driver. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Mon Aug 24, 2015 7:22 pm Post subject: |
|
|
NeddySeagoon
I had a T23 with s3, despite it is still supported I experienced all kind of troubles with it. It was patched so it did build. Yet, it had artifacts and sometimes half of screen turned green and X reload was needed. I tried vesa and fbdev and found fbdev did the job better. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Aug 24, 2015 7:28 pm Post subject: |
|
|
skorefish,
The Freedesktop page shows thet the driver is still being maintained but 0.10.7 is the latest release.
If you want to try it, you will need to fetch it from git. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
skorefish Apprentice
Joined: 21 Jun 2015 Posts: 285
|
Posted: Mon Aug 24, 2015 7:28 pm Post subject: |
|
|
i'm confused, do I have to change the kernel or is it a conf file. I 've never installed X-11 before
ok, so I have to figure out how to get the source code from the git, then compile it and install it as firmware in the kernel right ??? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Aug 24, 2015 7:46 pm Post subject: |
|
|
skorefish,
Sorry, I thought you had installed Xorg and made it work before.
The root of the problem is the age of your hardware.
The last version of Xorg to support the released sis video driver is Xorg 1.13.
One choice is to downgrade Xorg and use that driver.
The next choice is to add framebuffer support to your kernel. As Buffoon said, Xorg is set up for this but kernel support is missinge
Next choice is to use the vesa driver, this needs no special preparation.
The git sources will be the hardest to make work. Some of the recent patches are a bit scary.
As SiS video cards are getting rare, the git sources may not even be tested. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
skorefish Apprentice
Joined: 21 Jun 2015 Posts: 285
|
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Mon Aug 24, 2015 8:41 pm Post subject: |
|
|
No you didn't.
Code: | [ 259.661] (EE) Failed to load module "vesa" (module does not exist, 0) |
What is your VIDEO_CARDS variable set to? |
|
Back to top |
|
|
skorefish Apprentice
Joined: 21 Jun 2015 Posts: 285
|
Posted: Mon Aug 24, 2015 8:49 pm Post subject: |
|
|
Quote: | What is your VIDEO_CARDS variable set to? |
I forgot to change my /etc/portage/make.conf
I am re- emerging now
https://bpaste.net/show/7b6f372a9fa5
VIDEO_CARDS="vesa" ok I did compile it in the kernel -> I 'll compile it as a module now |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Aug 24, 2015 9:18 pm Post subject: |
|
|
skorefish,
What do you want to do with Xorg on this system?
That will determine how much effort you should expend on making it better once it works.
Hmm. Its an AGP version 3.0 card. These came in two sorts. Built into the motherboard and in an AGP slot.
Some motherboards with built in SiS VGA also had an AGP slot.
Almost any other AGP card is better than a SiS. Graphics card upgrades have always been popular.
Lots of people will still have old AGP cards gathering dust. Ask around, you can probably get one in exchange for a beer or two.
Thats only useful if you have an AGP slot though.
Wild thought for the day. You only need an X-Server if you want to display the output of X org graphics on this system.
You can run X programs on this system and have them display the output on another system.
Xorg does that for free - its network transparent. Its also horribly insecure. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
skorefish Apprentice
Joined: 21 Jun 2015 Posts: 285
|
Posted: Mon Aug 24, 2015 9:38 pm Post subject: |
|
|
Quote: | What do you want to do with Xorg on this system? |
I want to use it for surfing the web, writing , no fancy graphical stuff, ... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Aug 24, 2015 10:02 pm Post subject: |
|
|
skorefish,
Lets see how it goes. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
skorefish Apprentice
Joined: 21 Jun 2015 Posts: 285
|
|
Back to top |
|
|
skorefish Apprentice
Joined: 21 Jun 2015 Posts: 285
|
Posted: Tue Aug 25, 2015 1:15 pm Post subject: |
|
|
Code: |
[ 480.896] (II) LoadModule: "sis671"
[ 480.896] (II) Loading /usr/lib64/xorg/modules/drivers/sis671_drv.so
[ 480.907] (EE) Failed to load /usr/lib64/xorg/modules/drivers/sis671_drv.so: /usr/lib64/xorg/modules/drivers/sis671_drv.so: [color=red]wrong ELF class: ELFCLASS32[/color]
[ 480.907] (II) UnloadModule: "sis671"
[ 480.907] (II) Unloading sis671
[ 480.907] (EE) Failed to load module "sis671" (loader failed, 7)
[ 480.907] (EE) No drivers available.
[ 480.907] (EE)
|
so the debian driver is for 32bit
emerge -1 xf86-video-vesa
now I get a black screen for a µ sec then X stops
my x-log https://bpaste.net/show/6daff9f39383
X -retro gives a screen with an X so it works (google is my friend !!!)
Xterm starts up, lets say solved
Last edited by skorefish on Tue Aug 25, 2015 2:14 pm; edited 1 time in total |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Tue Aug 25, 2015 1:54 pm Post subject: |
|
|
Vesa seems the way to go.
Is there an option to add a more recent gpu to that system by chance?
No idea if enabling those 32bit support in the kenrel with 32 bit userland in 64bit solves that elfcalls 32bit issue for you.. |
|
Back to top |
|
|
|