LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-04-2011, 04:27 PM   #1
Nocturnal_Spook
LQ Newbie
 
Registered: Jul 2011
Location: Inside your computer
Distribution: Slackware 13.37
Posts: 24

Rep: Reputation: 0
Monitor will not work with X


Hello everybody,

I recently installed Slackware 13.37 and every time I start X the lights on my monitor flash on and off and my monitor goes black and does not come back. I tried most of the window environments (X, Cholesterol-free, etc) and I'm running out of ideas.
 
Old 07-04-2011, 05:31 PM   #2
Nocturnal_Spook
LQ Newbie
 
Registered: Jul 2011
Location: Inside your computer
Distribution: Slackware 13.37
Posts: 24

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Nocturnal_Spook View Post
Hello everybody,

I recently installed Slackware 13.37 and every time I start X the lights on my monitor flash on and off and my monitor goes black and does not come back. I tried most of the window environments (X, Cholesterol-free, etc) and I'm running out of ideas.
No one? I'm using a Dell monitor.

Here's my specs for it: http://support.dell.com/support/edoc...4500/index.htm


I'm not sure how to get in to the output for X or Linux.
 
Old 07-04-2011, 05:36 PM   #3
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Seriously, you expect an answer in an hour? Please be patient. Folks don't just sit around waiting for new people to post problems on here. What video card do you have? Can you hit control+alt+backspace once the monitor goes black to see if you can get back to a terminal? Can you try to remotely login from another machine to see if you can get at the /var/log/Xorg.0.log file?

Adam
 
Old 07-04-2011, 05:49 PM   #4
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
I already suggested that to Nocturnal_Spook, perhaps he forgot to read my post.

Also, be sure to enclose the requested information in [code][/code] tags. Keeps formatting and it's easier to read.
 
Old 07-04-2011, 05:54 PM   #5
Nocturnal_Spook
LQ Newbie
 
Registered: Jul 2011
Location: Inside your computer
Distribution: Slackware 13.37
Posts: 24

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by adamk75 View Post
Seriously, you expect an answer in an hour? Please be patient. Folks don't just sit around waiting for new people to post problems on here. What video card do you have? Can you hit control+alt+backspace once the monitor goes black to see if you can get back to a terminal? Can you try to remotely login from another machine to see if you can get at the /var/log/Xorg.0.log file?

Adam
I wasn't expecting an answer but I saw a lot of people looked at it and no one answer and that's what I was really commenting on. The video card is AGP 4X. I'm new to this distro so I do not know how to remotely log in from another machine.

Thanks.

---------- Post added 07-04-11 at 06:55 PM ----------

Quote:
Originally Posted by Diantre View Post
I already suggested that to Nocturnal_Spook, perhaps he forgot to read my post.

Also, be sure to enclose the requested information in [code][/code] tags. Keeps formatting and it's easier to read.
I'm not sure how to and I've been trying to figure it out all morning.

Last edited by Nocturnal_Spook; 07-04-2011 at 05:56 PM.
 
Old 07-04-2011, 06:57 PM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Angry

Quote:
Originally Posted by Nocturnal_Spook View Post
I wasn't expecting an answer but I saw a lot of people looked at it and no one answer and that's what I was really commenting on.
If people don't have an answer or suggestion, it's best that they don't reply. If they reply, your post is removed from the "zero reply threads" list, which means that not as many people are going to look at it.


Quote:
The video card is AGP 4X. I'm new to this distro so I do not know how to remotely log in from another machine.

Thanks.
What make and model is the video card. If you're not sure, check the output of 'lspci | grep -i vga' and it should tell you.

As for logging in remotely... Do you have another machine on the same network? Does it have the 'ssh' program installed (ssh comes with every linux distribution, OS X, and there are also ports for it for Windows). If so, you would just 'ssh username@ip-address-of-slackware-box'. You can find out that IP address by using 'ifconfig'.

Adam
 
Old 07-04-2011, 07:09 PM   #7
Nocturnal_Spook
LQ Newbie
 
Registered: Jul 2011
Location: Inside your computer
Distribution: Slackware 13.37
Posts: 24

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by adamk75 View Post
If people don't have an answer or suggestion, it's best that they don't reply. If they reply, your post is removed from the "zero reply threads" list, which means that not as many people are going to look at it.




What make and model is the video card. If you're not sure, check the output of 'lspci | grep -i vga' and it should tell you.

As for logging in remotely... Do you have another machine on the same network? Does it have the 'ssh' program installed (ssh comes with every linux distribution, OS X, and there are also ports for it for Windows). If so, you would just 'ssh username@ip-address-of-slackware-box'. You can find out that IP address by using 'ifconfig'.

Adam
Well before I do that I ran xorgsetup and got this error:

Code:
R128(0): No DFP detected Error setting MTRR Invalid argument (22)
Basically the X browser crapped out on me because of the MTRR.

Last edited by Nocturnal_Spook; 07-04-2011 at 07:11 PM.
 
Old 07-04-2011, 07:16 PM   #8
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Ahhh, you're using a very old rage128 video card with the r128 driver.

You could try disabling direct rendering by adding these two lines to the Modules section of the /etc/X11/xorg.conf file that is generated by xorgsetup:

Code:
Disable "dri"
Disable "glx"
Adam
 
Old 07-04-2011, 07:55 PM   #9
Nocturnal_Spook
LQ Newbie
 
Registered: Jul 2011
Location: Inside your computer
Distribution: Slackware 13.37
Posts: 24

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by adamk75 View Post
Ahhh, you're using a very old rage128 video card with the r128 driver.

You could try disabling direct rendering by adding these two lines to the Modules section of the /etc/X11/xorg.conf file that is generated by xorgsetup:

Code:
Disable "dri"
Disable "glx"
Adam
xorgsetup won't work for some reason either. Still trying to find out how to get to the xorg.conf file because the computer is missing it's network card and cannot get on the internet.
 
Old 07-04-2011, 09:32 PM   #10
Nocturnal_Spook
LQ Newbie
 
Registered: Jul 2011
Location: Inside your computer
Distribution: Slackware 13.37
Posts: 24

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Nocturnal_Spook View Post
xorgsetup won't work for some reason either. Still trying to find out how to get to the xorg.conf file because the computer is missing it's network card and cannot get on the internet.
Well I took out the damn video card and am now using a nvidia corp. nv5m64 [riva TNT2 model 64/model 64 pro] (rev 15)


Only problem is it still will not work. UGH!!!!!!!
 
Old 07-04-2011, 09:38 PM   #11
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
The xorg.conf is located in /etc/X11 (you don't need the internet), but a default one does not exist. A default xorg.conf-vesa ships with Slackware but it is very old. The settings and comments may get you started. You can avoid all the hoopla your post started by being specific. "I just installed ... and it doesn't work" ain't gonna do it. You specified the computer spec sheet later, but no monitor or graphics card data (its not at the DELL link you provided). Basically, your thought process should be in this case:
  1. Can I boot into text mode (CLI)? This is the Slackware default and obviously works since you where able to install.
  2. What graphics card GPU do I have (lspci or pop open the case and look)?
  3. Is my GPU supported in X?
  4. Is X automagically finding the correct driver?
  5. What Monitor do I have? LCD or CRT? What are the horizontal and vertical scan frequencies?
  6. What error messages are printed during boot (see /var/log/messages, dmesg and /var/log/syslog)?
  7. What error messages display when I run startx (see /var/log/Xorg.0.log)
If you can get into CLI, then you will be able to edit anything to get X working. Internet, ssh etc not required. Post the answers and then we will try to help.
 
Old 07-04-2011, 10:35 PM   #12
Nocturnal_Spook
LQ Newbie
 
Registered: Jul 2011
Location: Inside your computer
Distribution: Slackware 13.37
Posts: 24

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beowulf999 View Post
The xorg.conf is located in /etc/X11 (you don't need the internet), but a default one does not exist. A default xorg.conf-vesa ships with Slackware but it is very old. The settings and comments may get you started. You can avoid all the hoopla your post started by being specific. "I just installed ... and it doesn't work" ain't gonna do it. You specified the computer spec sheet later, but no monitor or graphics card data (its not at the DELL link you provided). Basically, your thought process should be in this case:
  1. Can I boot into text mode (CLI)? This is the Slackware default and obviously works since you where able to install.
  2. What graphics card GPU do I have (lspci or pop open the case and look)?
  3. Is my GPU supported in X?
  4. Is X automagically finding the correct driver?
  5. What Monitor do I have? LCD or CRT? What are the horizontal and vertical scan frequencies?
  6. What error messages are printed during boot (see /var/log/messages, dmesg and /var/log/syslog)?
  7. What error messages display when I run startx (see /var/log/Xorg.0.log)
If you can get into CLI, then you will be able to edit anything to get X working. Internet, ssh etc not required. Post the answers and then we will try to help.
  1. Yes. The CLI is working.
  2. nvidia corp. nv5m64 [riva TNT2 model 64/model 64 pro] (rev 15)
  3. Yes.
  4. Since I can see the CLI I'm assuming yes.
  5. CRT. http://support.dell.com/support/edoc...PECS/specs.htm
  6. I'm not sure how to get to those files because all I have is Desktop, Videos, Downloads, etc.
  7. No screens error.
 
Old 07-04-2011, 10:42 PM   #13
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by Nocturnal_Spook View Post
I'm not sure how to get to those files because all I have is Desktop, Videos, Downloads, etc.
You're looking at the files in your home directory, beowulf999 just gave you the full paths for the files, try cat on them, or less, or more, or most. And there are many other ways to "get" to those files.

Code:
less /var/log/messages
 
Old 07-05-2011, 11:10 PM   #14
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Nocturnal_Spook,

You may need to create a file or two so that X knows about your hardware. Sometimes "plug and play" doesn't work so well.
Log in as "root" and do this:
Code:
# cd /etc/X11/xorg.conf.d
# touch monitor.conf
Now edit this file with your favorite editor, for example
Code:
# nano monitor.conf
Add the following lines:
Code:
Section "Monitor"
Identifier     "Monitor0"
    VendorName     "Dell"
    ModelName      "E551c"
    HorizSync       30.0 - 54.0
    VertRefresh     50.0 - 120.0q
    Option         "DPI" "96 x 96"
    Option         "DPMS"
EndSection
Now check the output of
Code:
# lsmod
Do you see a module called 'nouveau'? If so fine and dandy BUT this will interfere with the proprietary Nvidia drivers if you installed them from either Slackbuilds.org or nvidia.com. Your TNT2 should work just fine with the nouveau driver. If you want the proprietary drivers, make sure you install nvidia-
71.86.14 but when you do you will need to blacklist the nouveau driver (a package in on the Slackware install DVD in /extra). If you don't see 'nouveau' and perhaps also nv, then you may have skipped some installation packages. With 'nouveau' you don't need /etc/X11/xorg.conf.d/device.conf

Code:
Section "Device"
    Identifier  "Device0"
    Driver  "nouveau"
    VendorName "Nvidia"
    BoardName "TNT2"
EndSection
but it will be handy if you blacklist 'nouveau' use 'nv' or 'nvidia'.

For KDE and any nvidia driver, you may also need to create a file called /etc/X11/xorg.conf.d/disable-composite.conf:
Code:
Section "Extensions"
   Option "Composite" "Disable"
EndSection
You can place various files into /etc/X11/xorg.conf.d to fine tune or fix X.

When I gave you the paths to various files, I had hoped you would take the initiative to look up how to navigate the command line - especially since you were able to install Slackware. In Linux, as in Unix, 99% of the power is in the CLI. To run Linux you must learn the CLI because you have more control there than in any graphical desktop. This is true for any linux distro and it is also true for MS Windows and OS X.

To get you started:
Code:
mkdir     create directory
cd        change directory
ls        list directory
ls -l     list directory, long
lsmod     list loaded modules
lspci     list pci devices
lsusb     list usb devices
mc        Midnight Commander, text based visual file manager
man cmd   view 'man' page for 'cmd', as in "man mkdir"
You may also want to check out:
http://linuxcommand.org/
http://tldp.org/LDP/gs/node1.html

Also, the search function in LQ is pretty handy. Its not like this is a Slackware specific issue. Configuring X has gotten better, and the automagic stuff is great when it works, but you still should learn some basic nut and bolts.
 
Old 07-06-2011, 12:45 AM   #15
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
You really should post the contents of /var/log/Xorg.0.log
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How would I get a TV monitor to work? darkstarbyte Linux - Hardware 2 12-20-2010 10:59 PM
monitor won't work Timo4God Red Hat 4 05-17-2004 04:04 PM
Need help trying to get dual monitor to work please l2ich84 Linux - Newbie 9 02-10-2004 10:56 AM
Monitor Problem: no GUI will work. KernelPayne Linux - Hardware 2 10-11-2003 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration