Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Integrated Graphics. starx returns no screen. ?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Tue Jun 02, 2015 4:14 pm    Post subject: Integrated Graphics. starx returns no screen. ? Reply with quote

I'm having trouble with xorg drivers.
Code:
startx

returns: no screens found.
I issued the command:
Code:
lspci - vnn

and, it showed my integrated video:
Code:

VGA compatible controller Silicon Integrated Systems [sis] 661/741/760
PCI/AGP or 662/761Gx PCIE VGA display adapter (prog-if 00 [VGA controller])
subsystem: hewlett-Packard Company Device 2a06
flags: 66MHz, medium devsel, IRQ 12
BIST result: 00
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Memory at ed000000 (32-bit, non-prefetchable) [size=128M]
I/O ports at 9000 [size=128]
Expansion ROM at <unassigned> [disabled]
Capabilities: [40] Power Management version 2
Capibilities [50] AGP version 3.0

There's no kernel drivers or modules listed below it.
I tried installed the x11 drivers. It doesn't seem to be apart of the package. I tried:
Code:
 genkernel --menuconfig all

I configured it the best I could. I did read there could be possible conflicts in the kernel.
My hands are in the air. Anyone have a solution or a direction with this?

I'm also getting this error:
Code:

INIT: Id "s0" respawning too fast: disabled for 5 minutes
INIT: Id "s1" respawning too fast: disabled for 5 minutes

Which I read was just a bus port listening with no response. I doubt the two are related, but I figured I would post. I've been reading up on a solution for both for sometime.
I tried messing with /etc/inittab by commenting out the two lines. I still receive the error.
Thanks all
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Tue Jun 02, 2015 4:44 pm    Post subject: Reply with quote

make and model of the machine?
https://wiki.gentoo.org/wiki/Xorg/Guide
information needed, boot to the command line, login as root, run:
Code:
emerge wgetpaste
lspci -k | wgetpaste
emerge --info | wgetpaste
wgetpaste /usr/src/linux/.config
startx
wgetpaste /var/log/Xorg.0.log
post the url's returned
_________________
Defund the FCC.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42563
Location: 56N 3W

PostPosted: Tue Jun 02, 2015 4:47 pm    Post subject: Reply with quote

jwm224,

startx will have left behind a log file called /var/log/Xorg.0.log.
Make friends with wgetpaste and put it on the web.
Tell us the link.

The log will tell what Xorg actually did when it tried to start.

heh DONAHUE beat me to it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Tue Jun 02, 2015 9:45 pm    Post subject: Reply with quote

Code:
 lspci -k

https://bpaste.net/show/3abd1e4dfa78

Code:
 wgetpaste /usr/src/linux/.config

https://bpaste.net/show/3a9d521d5e5c

I ran
Code:
startx

I ran startx as user.

Code:
wgetpaste /var/log/Xorg.0.log

https://bpaste.net/show/efb2567abc50

I hope this helps. What a handy tool. Thanks a lot for all the help too.
It's greatly appreciated,
Jay
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42563
Location: 56N 3W

PostPosted: Tue Jun 02, 2015 10:08 pm    Post subject: Reply with quote

jwm224,

The log lists all the drivers that suit your graphics chip,
Code:
[ 15071.340] (==) Matched sis as autoconfigured driver 0
[ 15071.340] (==) Matched modesetting as autoconfigured driver 1
[ 15071.340] (==) Matched fbdev as autoconfigured driver 2
[ 15071.340] (==) Matched vesa as autoconfigured driver 3
[ 15071.340] (==) Assigned the driver to the xf86ConfigLayout
[ 15071.340] (II) LoadModule: "sis"
then tries to load them one at a time and finds that they are all missing.

I suspect that your VIDEO_CARDS= entry in make.conf is incorrect or not set.
It needs to include sis. Check and fix that then
Code:
emerge -1 xf86-video-sis
This will patch things up without rebuilding Xorg.

Your lspci paste returns a 404 error but you log shows that you have a SiS661FX/M661FX/741/M741/760/M760 PCI/AGP VGA Display Adapter
Your kernel looks OK for that.

Do startx again and post the log if it fails again.
Failing differently will be progress.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Tue Jun 02, 2015 10:20 pm    Post subject: Reply with quote

I won't emerge. It says it's an ebuild scheduled for merge, a blocked package by xorg-drivers-1.16.
I think I tried that earlier.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Tue Jun 02, 2015 10:28 pm    Post subject: Reply with quote

Code:
--buildpkgonly --nodeps

I added this extension. I just looked it up.
It's compiling now.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Tue Jun 02, 2015 10:29 pm    Post subject: Reply with quote

no good.
failed compile phase.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42563
Location: 56N 3W

PostPosted: Tue Jun 02, 2015 10:37 pm    Post subject: Reply with quote

jwm224,

What does
Code:
emerge -pv xorg-drivers
tell you.
It should be offering to build xf86-video-sis too.

--buildpkgonly isn't useful to you. Had it succeeded, you would have had a binary package in /usr/portage/packages but it would not be installed on your system.
--nodeps builds the packages but not anything it depends on. This can get you out a a hole sometimes but not during a new install, unless you already have all the packages that xf86-video-sis depends on.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Wed Jun 03, 2015 1:14 am    Post subject: Reply with quote

It shows all the flags (which I could add in manually, if you think that would help.) Sis isn't on the list. They're all depicted as drivers I don't need from what I understand, aside from the three in red text (evdev, keyboard and mouse.) Everything listed under VIDEO_CARDS is blue text with a negative dash as a prefix.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Wed Jun 03, 2015 3:50 am    Post subject: Reply with quote

the ebuild for xorg-drivers includes the line PDEPEND="!<=x11-drivers/xf86-video-sis-0.10.7 . The most recent version is x11-drivers/xf86-video-sis-0.10.7 Thus there is no version of x11-drivers/xf86-video-sis-0.10.7 which can be emerged without a block. Except emerge --nodeps xf86-video-sis-0.10.7 will bypass the block; but compile will fail with /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7/src/sis_driver.c:60:22: fatal error: mibstore.h: No such file or directory
#include "mibstore.h" . https://bugs.gentoo.org/show_bug.cgi?id=444442 and its comments note various problems with the sis driver. last gentoo maintenance was 07/2012? last xf86 maintenance was 11/2014. patch work needed on the sis driver and the xorg-driver ebuild unless the sis driver gets a version bump as well as patches. Could be fun but I have no sis card.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Wed Jun 03, 2015 6:32 am    Post subject: Reply with quote

Boot to the command line
login as root
Code:
eselect kernel list
if needed, run eselect kernel set <desired kernel version>
Code:
nano /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.16.ebuild
edit last line !<=x11-drivers/xf86-video-sis-0.10.7 to read !<x11-drivers/xf86-video-sis-0.10.7
Code:
ebuild /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.16.ebuild digest
Code:
nano /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.17.ebuild
edit next to last line !<=x11-drivers/xf86-video-sis-0.10.7 to read !<x11-drivers/xf86-video-sis-0.10.7
Code:
ebuild /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.17.ebuild digest
These changes should remove the block as long as either ebuild is effective.
Proceed to create and install patches:
Code:
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild clean
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild fetch
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild unpack
mkdir /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7-2
cp -aR /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7* /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7-2
wget -o /root/Downloads/xf86-video-sis-stable-master.zip https://github.com/gununu/xf86-video-sis-stable/archive/master.zip
unzip /root/Downloads/xf86-video-sis-stable-master.zip
cp -aR /root/Downloads/xf86-video-sis-stable-master/src/* /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7-2/src
cd /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work
diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > triennial_update.patch
mkdir --parents /etc/portage/patches/x11-drivers/xf86-video-sis-0.10.7
cp -a triennial_update.patch /etc/portage/patches/x11-drivers/xf86-video-sis-0.10.7
patch -Np1 -d xf86-video-sis-0.10.7 < triennial_update.patch
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild install
cd
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild qmerge
reboot
startxfce4
emerge xf86-video-sis
reboot
startxfce4
If carefully followed these steps will eliminate the xorg-driver block and allow the sis driver to compile. Whether the driver will run, I do not know. No sis card here. Setting VIDEO_CARDS=sis has no effect.

Edit to add rebuilding the digests for xorg-drivers
_________________
Defund the FCC.


Last edited by DONAHUE on Thu Jun 04, 2015 11:22 pm; edited 2 times in total
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Wed Jun 03, 2015 9:24 am    Post subject: Reply with quote

I was playing around with the drivers before I saw these last two posts. I downloaded and compiled "vesa", as I saw in the xorg.0.log file as a missing module. With vesa loaded, the screen goes black, flashes like, it wants to start, and then I get: "caught signal 4 illegal instruction". I tried messing with the xorg.conf file to set the monitor's resolution, thinking that might fix the error. I wasn't sure if the results I got were from a bad driver, or a poorly mapped out xorg.conf file, or both.

I'll give this patch a play in a bit. Although, I looked at those two locations, and didn't see either ebuild listed.

Thanks for all the feedback.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Wed Jun 03, 2015 12:35 pm    Post subject: Reply with quote

"caught signal 4 illegal instruction" in most cases means you've set wrong C{XX}FLAGS for your machine.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10156
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Jun 03, 2015 12:38 pm    Post subject: Reply with quote

Yep he did. Already told him on another thread that he needed to recompile everything.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Wed Jun 03, 2015 1:02 pm    Post subject: Reply with quote

I apologize there, John. I thinking, this guy never told me that. I just now seen the tail end of your June 1st post. I'm giving it a go. We'll see what happens.

Quote:
Keep in mind that you may have produced code paths with invalid instructions in them that just haven't crashed yet merely by accident. At some point, I'd recommend recompiling everything, starting with the toolchain
Code:
emerge -1v linux-headers glibc gcc
then proceeding to the @system set
Code:
emerge -ev @system
and finishing up with what you've installed
Code:
emerge -ev @selected   
Note that set math deficiencies in Portage mean that the latter two groups cannot be expressed without causing a fair amount of redundant recompilation, but then CPU cycles are cheap. ;)

- John


Thanks again,
I'll post the outcome,
Jay
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Wed Jun 03, 2015 1:27 pm    Post subject: Reply with quote

edited the patching post above to add rebuilding the digests for xorg-drivers.

https://bugs.gentoo.org/show_bug.cgi?id=551042 submits a patch for xf86-video-sis-0.10.7
_________________
Defund the FCC.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Thu Jun 04, 2015 5:03 pm    Post subject: Reply with quote

I recompiled everything.

I think my networking is still fudged. I'm half afraid to mess with the settings, because it took me 4 days to get it working, and I'm still unsure what I had done. But, I'm at the step for wget. I run wget and it gives me an ascii text file that reads failed network is unreachable.

I ran
Code:
route

and it only shows my loopback address. I can ping google, but trying:
Code:
ping -c1 4.2.2.6
for instance gives: "connect: network unreachable".

trying this:
Code:
route add default gw <routerip>

tells me:
SIOCADDRT: network is unreachable

My etc/resolv.conf file has ipv6 nameservers in place. Before to get my network to work, which (to what extent I'm unsure) I'd have to put namesservers in manually and they were ipv4. I tried putting in the ipv4 alternatives in place of the ipv6. It didn't like that; I had no functionality what so ever. I couldn't ping google.

I'm using dhcp to start the connection, and wpa_supplicant is in place as well.

when I run
Code:
iwconfig
it shows:
wlan0 no wirless extentions
enp0s4 no wirless extentions
lo no wirless extentions

I'm going to end up dangling in my room over this network.


Last edited by jwm224 on Thu Jun 04, 2015 5:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Thu Jun 04, 2015 5:22 pm    Post subject: Reply with quote

I had wgetpaste backwards. I was walking downstairs and it hit me.

https://bpaste.net/show/265c00324c50
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Thu Jun 04, 2015 7:06 pm    Post subject: Reply with quote

I'm in the process of doing a make menuconfig with the protocol ipv6 unchecked. I hope this resolves the issue. What a pain!
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Thu Jun 04, 2015 10:12 pm    Post subject: Reply with quote

@ Donahue
Should this step:
Code:
diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > kernel-4.1.0-rc3.patch

say:
Code:
diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > triennial_update.patch


I got errors both ways saying "Failed Patch: ${patchname}!".

https://bpaste.net/show/39164083de04

I finally got the Internet working with ipv4 protocol.

Thanks,
Jay
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Thu Jun 04, 2015 11:16 pm    Post subject: Reply with quote

diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > triennial_update.patch is correct
diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > kernel-4.1.0-rc3.patch is not
very sorry
_________________
Defund the FCC.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Thu Jun 04, 2015 11:30 pm    Post subject: Reply with quote

That's fine.
I think I finally got the patch installed properly.
the code rolled by with the patch installing...
no errors.[/code]
I ran:
Code:
emerge xf86-video-sis

And, it still showed blocked packages.

Anything I should try?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Thu Jun 04, 2015 11:51 pm    Post subject: Reply with quote

if it is still the xorg-drivers-1.16.0 that blocks
Code:
emerge -1av --nodeps xf86-video-sis
should bypass it. A semi-permanent fix:
Code:
nano /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.16.ebuild
edit last line !<=x11-drivers/xf86-video-sis-0.10.7 to read !<x11-drivers/xf86-video-sis-0.10.7
Code:
ebuild /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.16.ebuild digest
Code:
nano /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.17.ebuild
edit next to last line !<=x11-drivers/xf86-video-sis-0.10.7 to read !<x11-drivers/xf86-video-sis-0.10.7
Code:
ebuild /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.17.ebuild digest
These changes should remove the block as long as either ebuild is effective.

A gentoo developer has semi-promised a version upgrade that should be a permanent fix. When a version upgrade appears and causes a problem remove /etc/portage/patches/x11-drivers/xf86-video-sis-0.10.7/triennial_update.patch .
_________________
Defund the FCC.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Fri Jun 05, 2015 12:14 am    Post subject: Reply with quote

That worked as far as installing it.
I'm still receiving "Caught signal 4 (illegal instruction). Server aborting"


I ran theses steps:
Code:

emerge -1v linux-headers glibc gcc       
emerge -ev @system
emerge -ev @selected


And, ran through all the unblocking instructions. I'm stuck.
Man, I really want this to work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum