Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
06-21-2007, 11:16 AM
#1
Member
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432
Rep:
Direct Renering when I restart X without reboot.
I have an ATI 9600, running on Slack 11, with 2.4.33.3.
When I boot my computer and load X, Direct rendering works.
When I close X and restart it again later (without rebooting) Direct Rendering does not work.
Why? How can I fix it?
Thanks.
Code:
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AR [Radeon 9600] (prog-if 00 [VGA])
Subsystem: Giga-byte Technology Unknown device 4040
Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 9
Memory at d8000000 (32-bit, prefetchable) [size=128M]
I/O ports at d800 [size=256]
Memory at c7000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at d7fe0000 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
01:00.1 Display controller: ATI Technologies Inc RV350 AR [Radeon 9600] (Secondary)
Subsystem: Giga-byte Technology Unknown device 4041
Flags: bus master, 66MHz, medium devsel, latency 64
Memory at c8000000 (32-bit, prefetchable) [size=128M]
Memory at c6800000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2
Code:
Module Size Used by Tainted: P
usb-storage 66848 0
fglrx 390760 0
snd-seq-oss 23104 0 (unused)
snd-seq-midi-event 3208 0 [snd-seq-oss]
snd-seq 33552 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 28928 0
snd-mixer-oss 11928 0 [snd-pcm-oss]
nfsd 72880 8 (autoclean)
keybdev 2020 0 (unused)
mousedev 4308 1
hid 22020 0 (unused)
usbmouse 2072 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
uhci 25404 0 (unused)
usbcore 61484 1 [usb-storage hid usbmouse uhci]
snd-cs46xx 62536 2
gameport 1436 0 [snd-cs46xx]
snd-ac97-codec 68160 0 [snd-cs46xx]
snd-pcm 52804 1 [snd-pcm-oss snd-cs46xx snd-ac97-codec]
snd-timer 13168 0 [snd-seq snd-pcm]
snd-rawmidi 12224 0 [snd-cs46xx]
snd-seq-device 3716 0 [snd-seq-oss snd-seq snd-rawmidi]
snd 34304 1 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-cs46xx snd-ac97-codec snd-pcm snd-timer snd-rawmidi snd-seq-device]
soundcore 3684 8 [snd]
snd-page-alloc 4980 0 [snd-seq-oss snd-seq snd-mixer-oss snd-cs46xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
pcmcia_core 42820 0
ide-scsi 10224 0
3c59x 26832 1
06-21-2007, 12:03 PM
#2
Member
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654
Rep:
after you close X try: rmmod -f fglrx
then restart X, if that works you can add the line to your .xinitrc
06-21-2007, 08:02 PM
#3
Member
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432
Original Poster
Rep:
That worked! Now where/how do I put it in my .xinitrc?
06-22-2007, 10:03 AM
#4
Member
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654
Rep:
sorry, I think .xinitrc is not the best place for it. Its probably better to create a script in /etc/X11
something like this:
Code:
echo "Removing fglrx: rmmod -f fglrx"
rmmod -f fglrx
call it whatever you want, then chmod +x /etc/X11/<filename>
then in your ~/.xinitrc:
Code:
sh /etc/X11/<filename>
...
# plus any other commands you need
#
startxfce4 #or whatever WM you use
i can't remember if this is exactly how I did it (I'm at a different computer right now) but something along these lines should work.
I might have a thread here about this somewhere...
<edit> here it
is
Last edited by bioe007; 06-22-2007 at 10:06 AM .
06-23-2007, 12:10 AM
#5
Member
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432
Original Poster
Rep:
the script should be: ????
echo "Removing fglrx: rmmod -f fglrx"
su -c rmmmod -f fglrx
Shouldn't my .xinitrc be in my home directory? I'm not seeing it there.
Last edited by mpyusko; 06-23-2007 at 12:13 AM .
06-24-2007, 04:40 PM
#6
Member
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654
Rep:
sorry to be clear:
make a script (as root)
Code:
vi /etc/X11/fixmymodules
#!bin/sh
echo "Removing fglrx: rmmod -f fglrx"
rmmod -f fglrx
save the file, and make it exectutable: chmod +x /etc/X11/fixmymodules
then edit ~/.xinitrc
Code:
sh /etc/X11/fixmymodules
...
# plus any other commands you need
#
startxfce4 #or whatever WM you use
i think that should work.
All times are GMT -5. The time now is 02:53 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News