View previous topic :: View next topic |
Author |
Message |
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
Posted: Fri Feb 27, 2015 7:31 pm Post subject: I've ruined my Xorg-server |
|
|
so I've tried to remove xorg-server \ X11 + LXDE
I did:
root# emerge --unmerge xorg-server
and I deleted a few folders and files in the / that was connected to the name "X11" (+I thing I deleted something that called X11RB or something like that)
now, after this I tried to install again xorg-server so I did:
emerge xorg-server
and:
emerge dwm
emerge dmenu
now this is what I get:
http://oi58.tinypic.com/34srvba.jpg
and:
http://oi60.tinypic.com/e7gqig.jpg |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Fri Feb 27, 2015 7:39 pm Post subject: |
|
|
xSqueal,
Welcome to Gentoo.
We need the content of /var/log/Xorg.0.log, as your piccies suggest.
wgetpaste is your friend.
X11RB -> X11R8 .. its all you X stuff _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Fri Feb 27, 2015 8:36 pm Post subject: |
|
|
xSqueal,
it really is much easier with wgetpaste.wgetpaste is a tool for putting files onto the web.
It gives you a URL which you post here.
wgetpaste can alos put command outputs on the web.
Your error, at the moment, in that glx is missing.
Further down you hawe a warning that the ati video driver is missing.
One thing at a time. glx is provided by mesa which you should have. I expect that it was in /X11R8/, which you deteted.
So, install mesa and wgetpaste
You need mesa and we are going to need wgetpaste.
With mesa and wgetpaste installed, I sure X will still fail but post your /var/log/Xorg.0.log _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
Posted: Fri Feb 27, 2015 8:49 pm Post subject: |
|
|
NeddySeagoon wrote: | xSqueal,
it really is much easier with wgetpaste.wgetpaste is a tool for putting files onto the web.
It gives you a URL which you post here.
wgetpaste can alos put command outputs on the web.
Your error, at the moment, in that glx is missing.
Further down you hawe a warning that the ati video driver is missing.
One thing at a time. glx is provided by mesa which you should have. I expect that it was in /X11R8/, which you deteted.
So, install mesa and wgetpaste
You need mesa and we are going to need wgetpaste.
With mesa and wgetpaste installed, I sure X will still fail but post your /var/log/Xorg.0.log |
oh thabk you
I didn't know about that tool
https://bpaste.net/show/c8aedecb9f3f |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Fri Feb 27, 2015 8:58 pm Post subject: |
|
|
xSqueal,
That's better, now I can copy/paste interesting bits from the pastebin. That helps, me to help you and and follow up readers with similar problems.
Now you have glx but this snippit from your log shows all youl Xorg video drivers are missing.
Code: | [ 8265.830] (WW) Warning, couldn't open module ati
[ 8265.830] (II) UnloadModule: "ati"
[ 8265.830] (II) Unloading ati
[ 8265.830] (EE) Failed to load module "ati" (module does not exist, 0)
[ 8265.830] (II) LoadModule: "modesetting"
[ 8265.831] (WW) Warning, couldn't open module modesetting
[ 8265.831] (II) UnloadModule: "modesetting"
[ 8265.831] (II) Unloading modesetting
[ 8265.831] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 8265.831] (II) LoadModule: "fbdev"
[ 8265.831] (WW) Warning, couldn't open module fbdev
[ 8265.831] (II) UnloadModule: "fbdev"
[ 8265.831] (II) Unloading fbdev
[ 8265.831] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 8265.831] (II) LoadModule: "vesa"
[ 8265.831] (WW) Warning, couldn't open module vesa
[ 8265.831] (II) UnloadModule: "vesa"
[ 8265.831] (II) Unloading vesa
[ 8265.831] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 8265.831] (EE) No drivers available.
[ 8265.831] (EE) |
The list is all of the open source drivers that will work with your video card. We need to know which one(s) you really wanted to install, if any.
will show that.
Again, wgetpaste is your friend.
Actually, I only neeh the VIDEO_CARDS and INPUT_DEVICES from make .conf but I hate working through a keyhole, so you may as well post emerge --info now. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
Posted: Fri Feb 27, 2015 9:04 pm Post subject: |
|
|
NeddySeagoon wrote: | xSqueal,
That's better, now I can copy/paste interesting bits from the pastebin. That helps, me to help you and and follow up readers with similar problems.
Now you have glx but this snippit from your log shows all youl Xorg video drivers are missing.
Code: | [ 8265.830] (WW) Warning, couldn't open module ati
[ 8265.830] (II) UnloadModule: "ati"
[ 8265.830] (II) Unloading ati
[ 8265.830] (EE) Failed to load module "ati" (module does not exist, 0)
[ 8265.830] (II) LoadModule: "modesetting"
[ 8265.831] (WW) Warning, couldn't open module modesetting
[ 8265.831] (II) UnloadModule: "modesetting"
[ 8265.831] (II) Unloading modesetting
[ 8265.831] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 8265.831] (II) LoadModule: "fbdev"
[ 8265.831] (WW) Warning, couldn't open module fbdev
[ 8265.831] (II) UnloadModule: "fbdev"
[ 8265.831] (II) Unloading fbdev
[ 8265.831] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 8265.831] (II) LoadModule: "vesa"
[ 8265.831] (WW) Warning, couldn't open module vesa
[ 8265.831] (II) UnloadModule: "vesa"
[ 8265.831] (II) Unloading vesa
[ 8265.831] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 8265.831] (EE) No drivers available.
[ 8265.831] (EE) |
The list is all of the open source drivers that will work with your video card. We need to know which one(s) you really wanted to install, if any.
will show that.
Again, wgetpaste is your friend.
Actually, I only neeh the VIDEO_CARDS and INPUT_DEVICES from make .conf but I hate working through a keyhole, so you may as well post emerge --info now. |
how do I wgetpaste the emerge --info ? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Fri Feb 27, 2015 9:08 pm Post subject: |
|
|
xSqueal,
You could read the man page, or use the -h option.
Code: | emerge --info | wgetpaste |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
Posted: Fri Feb 27, 2015 9:14 pm Post subject: |
|
|
NeddySeagoon wrote: | xSqueal,
You could read the man page, or use the -h option.
Code: | emerge --info | wgetpaste |
|
yeah sorry about that, I should use duckduckgo more
https://bpaste.net/show/683523639ddf |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Fri Feb 27, 2015 9:25 pm Post subject: |
|
|
xSqueal,
Code: | VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l"
INPUT_DEVICES="keyboard mouse evdev" |
INPUT_DEVICES is OK
VIDEO_CARDS is a bit excessive unless you have several video cards installed.
Most of those video chips were used in 286 PCs.
VIDEO_CARDS ="ati vesa" is all you need and vesa is a fallback. vmware is for use only inside a vmware virtual machine.
Fix your video cards and run
Code: | emerge -1 xf86-input-evdev xf86-video-vesa xf86-video-ati |
Now what does the log say? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
Posted: Fri Feb 27, 2015 9:32 pm Post subject: |
|
|
NeddySeagoon wrote: | xSqueal,
Code: | VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l"
INPUT_DEVICES="keyboard mouse evdev" |
INPUT_DEVICES is OK
VIDEO_CARDS is a bit excessive unless you have several video cards installed.
Most of those video chips were used in 286 PCs.
VIDEO_CARDS ="ati vesa" is all you need and vesa is a fallback. vmware is for use only inside a vmware virtual machine.
Fix your video cards and run
Code: | emerge -1 xf86-input-evdev xf86-video-vesa xf86-video-ati |
Now what does the log say? |
Wait, where I need to write VIDEO_CARDS ="ati vesa" ? in the /var/log/Xorg.0.log ? I need to replace this : VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" with this:
VIDEO_CARDS ="ati vesa" ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Fri Feb 27, 2015 9:38 pm Post subject: |
|
|
xSqueal,
Edit the VIDEO_CARDS= in make.conf, unless your really need support for all those cards.
From your Xorg.0.log file, ati is the best driver for your video card, so that needs to be there.
vesa is a slow but safe fallback that is good to have around in case thare are problems with ati.
Jaglover is correct about the INPUT_DEVICES too, you probably only need evdev _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
Posted: Fri Feb 27, 2015 9:43 pm Post subject: |
|
|
NeddySeagoon wrote: | xSqueal,
Edit the VIDEO_CARDS= in make.conf, unless your really need support for all those cards.
From your Xorg.0.log file, ati is the best driver for your video card, so that needs to be there.
vesa is a slow but safe fallback that is good to have around in case thare are problems with ati.
Jaglover is correct about the INPUT_DEVICES too, you probably only need evdev |
where is make.conf ? or should I create one ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Fri Feb 27, 2015 9:59 pm Post subject: |
|
|
xSqueal,
Its at /etc/portage/make.conf
You edited it when you installed originally. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
Posted: Fri Feb 27, 2015 10:24 pm Post subject: |
|
|
NeddySeagoon wrote: | xSqueal,
Its at /etc/portage/make.conf
You edited it when you installed originally. |
Thank you ! now when I do startx its launch it ! (But only one terminal is up, in the first time I had 3 terminals, is that weird ?) |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Fri Feb 27, 2015 10:30 pm Post subject: |
|
|
xSqueal,
Please post the log again, so we can see if its using the best driver.
I am not familiar with your window manager to know what to expect. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
Posted: Fri Feb 27, 2015 10:37 pm Post subject: |
|
|
NeddySeagoon wrote: | xSqueal,
Please post the log again, so we can see if its using the best driver.
I am not familiar with your window manager to know what to expect. |
the log = emerge --info ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Fri Feb 27, 2015 10:38 pm Post subject: |
|
|
xSqueal,
The log is /var/log/Xorg.0.log _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
Posted: Fri Feb 27, 2015 10:46 pm Post subject: |
|
|
NeddySeagoon wrote: | xSqueal,
The log is /var/log/Xorg.0.log |
https://bpaste.net/show/202dbeb7c8f8
and again, thank you for your time and help _________________ New to Gentoo ~~~ <(^.^<) |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Fri Feb 27, 2015 10:57 pm Post subject: |
|
|
You say this worked before, and all you did was remove xorg-server and some packages that sit on top of that?
Your listing makes it look almost as if your kernel isn't configured properly.
Can you post your /etc/X11/xorg.conf or any stuff from /etc/X11/xorg.conf.d/* , and maybe your kernel config? _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Fri Feb 27, 2015 11:05 pm Post subject: |
|
|
xSqueal,
Code: | [ 145.299] (II) [KMS] drm report modesetting isn't supported.
[ 145.299] (EE) Screen 0 deleted because of no matching config section. |
Its not working with the best open source driver for your chipset. Still, as ati was not in your VIDEO_CARDS before today, it wasn,t using the ati driver.
The extract of the log above hints that you don't have ATI Radeon support in your kernel, as depontius is suggesting.
Meanwhile, you are using the old slow vesa 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 |
|
|
xSqueal n00b
Joined: 26 Feb 2015 Posts: 17
|
Posted: Sat Feb 28, 2015 12:20 am Post subject: |
|
|
depontius wrote: | You say this worked before, and all you did was remove xorg-server and some packages that sit on top of that?
Your listing makes it look almost as if your kernel isn't configured properly.
Can you post your /etc/X11/xorg.conf or any stuff from /etc/X11/xorg.conf.d/* , and maybe your kernel config? |
When I do:
Code: | wgetpaste /etc/X11/xorg.conf |
its says:
Code: | No input read. Nothing to past. Aborting |
NeddySeagoon wrote: | xSqueal,
Code: | [ 145.299] (II) [KMS] drm report modesetting isn't supported.
[ 145.299] (EE) Screen 0 deleted because of no matching config section. |
Its not working with the best open source driver for your chipset. Still, as ati was not in your VIDEO_CARDS before today, it wasn,t using the ati driver.
The extract of the log above hints that you don't have ATI Radeon support in your kernel, as depontius is suggesting.
Meanwhile, you are using the old slow vesa driver. |
So what I need to do ?
my kernel:
3.18.7-gentoo _________________ New to Gentoo ~~~ <(^.^<) |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Sat Feb 28, 2015 12:54 am Post subject: |
|
|
To simply make anything work at all, try temporarily leaving only "vesa" for VIDEO_CARDS in /etc/make.conf, and rebuild xorg-server.
Beyond that, I would suggest correctly configuring a kernel for the "radeon" driver, and once you've got that, put it back into /etc/make.conf. I believe that there is stuff in the Wiki about how to configure a kernel for radeon. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
|