LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-21-2010, 08:07 PM   #16
kcnewslackuser
Member
 
Registered: Jan 2010
Posts: 68

Original Poster
Rep: Reputation: 0
driver issues


I guess i did something wrong or something maybe i was suppose type ./before the sh file or something to run it i donno. But anyways i rebooted and tried it all again and it has the same problem when trying to run 3d stuff the screen turns black and locks up and only plays the music to the game
 
Old 09-21-2010, 08:23 PM   #17
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
after reading what you just posted...
I remembered there was one other thing I did...(sorry I missed that)
I added nomodeset to lilo.

try rebooting again and when you get to the
lilo boot screen press the tab key and add
nomodeset to the line.

for example if "linux" is the one you pick...
then when you press the tab key (before you press enter)...
the line should be something like:

linux nomodeset

then press enter...and let us know how it went
 
Old 09-21-2010, 08:34 PM   #18
kcnewslackuser
Member
 
Registered: Jan 2010
Posts: 68

Original Poster
Rep: Reputation: 0
driver issues

I did everything you said but unfortunately its still doing the same thing. I tried it with supertux and the supertuxcart game. Supertux crashes the screen and only plays sound. And the cart game shows up on the screen in window mode but it displays everything ran together like it doesnt know how to display the graphics properly.
 
Old 09-21-2010, 08:42 PM   #19
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
Quote:
Originally Posted by kcnewslackuser View Post
I did everything you said but unfortunately its still doing the same thing. I tried it with supertux and the supertuxcart game. Supertux crashes the screen and only plays sound. And the cart game shows up on the screen in window mode but it displays everything ran together like it doesnt know how to display the graphics properly.
could you post your /var/log/Xorg0.log and /var/log/dmesg files?
it sounds like when the game crashes...
the whole system does not go down correct?
then try posting the results of the following commands
(as root) right after you run the game so we can see if
any error messages show up in the log files.

Code:
tail /var/log/messages
 
Old 09-21-2010, 08:54 PM   #20
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
The output of
Code:
glxinfo | grep rend
might be useful as well.
 
Old 09-21-2010, 08:55 PM   #21
kcnewslackuser
Member
 
Registered: Jan 2010
Posts: 68

Original Poster
Rep: Reputation: 0
driver issues

here is pastebin links to what you asked for

http://pastebin.com/Apgc6CZw
http://pastebin.com/sg4p9KRy
http://pastebin.com/4a1CM3JZ
 
Old 09-21-2010, 08:58 PM   #22
kcnewslackuser
Member
 
Registered: Jan 2010
Posts: 68

Original Poster
Rep: Reputation: 0
driver issues

And this is what T3slider said might be useful .

http://pastebin.com/tGaTwVEM
 
Old 09-21-2010, 09:25 PM   #23
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
looking through the logs it looks like the driver is not
getting loaded with kernel modesetting turned on.

for example, I see this in my logs once everything was in place
Quote:
Sep 21 14:16:46 emachinesw3503 kernel: [drm] Initialized drm 1.1.0 20060810
Sep 21 14:16:46 emachinesw3503 kernel: [drm] radeon kernel modesetting enabled.
Sep 21 14:16:46 emachinesw3503 kernel: [drm] radeon: Initializing kernel modesetting.
 
Old 09-21-2010, 09:27 PM   #24
kcnewslackuser
Member
 
Registered: Jan 2010
Posts: 68

Original Poster
Rep: Reputation: 0
driver issues

Then what do i do to get it to load or whatever ?
 
Old 09-21-2010, 09:42 PM   #25
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
Quote:
Originally Posted by kcnewslackuser View Post
Then what do i do to get it to load or whatever ?
it would probably(hopefully) help to maybe go over
everything again and double check that everything is in place.

1. make sure you are starting with the nomodeset option
(which can be added to lilo.conf so that you don't have to keep typing
it in each time you start your machine).
2. make sure the drivers are correctly blacklisted -
show us the contents of the file you created in /etc/modprobe.d/.
3. make sure the drivers are loaded with kms enabled before
starting X. - show us the file you created in /etc/rc.d/rc4.d/.
4. check the make sure the execute bit is set - show us the results
of (for example in my case it would be)
Code:
ls -al /etc/rc.d/rc4.d/S50-load-radeon.sh
-rwxr-xr-- 1 root root 315 2010-08-16 01:24 /etc/rc.d/rc4.d/S50-load-radeon.sh*
Also, could you post your /var/log/Xorg0.log file?

Last edited by aocab; 09-21-2010 at 09:47 PM.
 
Old 09-21-2010, 09:44 PM   #26
kcnewslackuser
Member
 
Registered: Jan 2010
Posts: 68

Original Poster
Rep: Reputation: 0
driver issues

What do you mean by kms enabled
 
Old 09-21-2010, 10:05 PM   #27
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
Quote:
Originally Posted by kcnewslackuser View Post
What do you mean by kms enabled
the file created in /etc/rc.d/rc4.d/...
is supposed to load the radeon driver with kernel modesetting
turned on (the modeset=1 option)

http://en.wikipedia.org/wiki/Mode-setting

for me this card/driver combo with kms is weird.

I have to disable kms when booting and make sure
the drivers do not get loaded.

if I let the driver load automatically
it tries to load with kms enabled but fails
and resorts to userspace modesetting.

and I have the problems I mentioned.

instead, I load the driver with kms enabled
before I startx (which is what the file in
/etc/rc.d/rc4.d/ is supposed to do).

and then the problems are gone.

Last edited by aocab; 09-21-2010 at 10:07 PM.
 
Old 09-21-2010, 10:12 PM   #28
kcnewslackuser
Member
 
Registered: Jan 2010
Posts: 68

Original Poster
Rep: Reputation: 0
driver issues

well the files you wanted me to mcedit say the stuff you wanted them to have in them and i did the chmod command you said. So what else would need to be done then ?
 
Old 09-21-2010, 10:17 PM   #29
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by aocab View Post
instead, I load the driver with kms enabled
before I startx (which is what the file in
/etc/rc.d/rc4.d/ is supposed to do).
If kcnewslackuser is starting in runlevel 3, the new file will never be run...correct? I would suspect that is the problem...maybe
Code:
modprobe -v drm              #  
modprobe -v radeon modeset=1 #Load radeon kernel-module with KMS support
should be placed into rc.local or at the very least be copied over to rc3.d/.

That said I have no experience with radeon drivers so I'm shooting in the dark.
 
Old 09-21-2010, 10:20 PM   #30
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
Quote:
Originally Posted by T3slider View Post
If kcnewslackuser is starting in runlevel 3, the new file will never be run...correct? I would suspect that is the problem...maybe
Code:
modprobe -v drm              #  
modprobe -v radeon modeset=1 #Load radeon kernel-module with KMS support
should be placed into rc.local or at the very least be copied over to rc3.d/.

That said I have no experience with radeon drivers so I'm shooting in the dark.
yes but when he runs startx...
doesn't it then go into runlevel 4?
maybe the /etc/rc.d/rc.sysvinit file is not executable?

I do not load the driver from rc.local myself because
I do not like the way the display changes half way
through the boot up process when the driver gets loaded.

loading it the way I do...yes it still changes but
I don't really notice it since it happens so close
to when x starts (I briefly see one line of small text).

Otherwise the text is normal the first half of booting...
and then the display changes and the text is small
for the next half.

Last edited by aocab; 09-21-2010 at 10:38 PM.
 
  


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
rndis_host driver issue ouain Linux - Networking 0 07-02-2009 04:30 PM
Video/Driver Issue lisa86 Slackware 4 08-26-2008 03:06 AM
I think nvidia driver issue oldsko0l Linux - Software 6 05-19-2006 01:00 AM
nVidia driver issue Kronan Linux - Hardware 7 11-16-2005 06:50 AM
Driver Issue mobassir Linux - Software 15 05-12-2004 04:21 AM

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

All times are GMT -5. The time now is 07:23 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