Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DRI Kernel Modules (from Modular X) lost
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dark.elixir
n00b
n00b


Joined: 03 Jan 2005
Posts: 13

PostPosted: Sun Apr 02, 2006 8:51 pm    Post subject: DRI Kernel Modules (from Modular X) lost Reply with quote

Hi everyone. Here's the problem:

I was really excited about the new Xorg supporting my ugly and outdated SuperSavage IX video card. I just had to add the "dri" flag to my USE variable, and declare two new variables in my make.conf

Code:
USE="... dri ..."
VIDEO_CARDS="savage s3 vesa fbdev"               # I think s3 is not necessary. The other ones are for backup.
INPUT_DEVICES="keyboard mouse synaptics"


I followed the instructions to migrate from the old Xorg, and EVERYTHING WORKED GREAT!!. I had DRI enabled, was able to run 3D applications 8) . But..... everything went down when I decided to recompile and reinstall my kernel (along with the modules). As I had expected the dri.ko and savage.ko kernel modules were GONE!!!, so my X server is now unable to load those kernel modules and DRI is not working anymore.

I have tried recompiling my video card's driver and the main Xorg package without any succes:
Code:

# emerge xf86-video-savage
# emerge xorg-server


The modules won't appear again!!! Please!!! I need to know WHICH PACKAGE SHOULD I RECOMPILE IN ORDER TO GET THOSE MODULES AGAIN?

I'm pretty sure my Xorg is trying to load those modules (/var/log/Xorg.0.log):

Code:

(II) SAVAGE(0): initializing int10
(II) SAVAGE(0): Primary V_BIOS segment is: 0xc000
(II) SAVAGE(0): VESA BIOS detected
(II) SAVAGE(0): VESA VBE Version 2.0
(II) SAVAGE(0): VESA VBE Total Mem: 15168 kB
(II) SAVAGE(0): VESA VBE OEM: S3 Graphics Incorporated. Paramount video BIOS
(II) SAVAGE(0): VESA VBE OEM Software Rev: 1.0
(II) SAVAGE(0): VESA VBE OEM Vendor: S3 Graphics Incorporated.
(II) SAVAGE(0): VESA VBE OEM Product: VBE 2.0
(II) SAVAGE(0): VESA VBE OEM Product Rev: Rev 1.0
(--) SAVAGE(0): mapping framebuffer @ 0xdc000000 with size 0x1000000
(II) SAVAGE(0): map aperture:0xb181c000
(II) SAVAGE(0): 4740 kB of Videoram needed for 3D; 16384 kB of Videoram available
(II) SAVAGE(0): Sufficient Videoram available for 3D
(II) SAVAGE(0): [drm] bpp: 16 depth: 16
(II) SAVAGE(0): [drm] Sarea 2200+284: 2484
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[b][drm] failed to load kernel module "savage"
(II) SAVAGE(0): [drm] drmOpen failed
(EE) SAVAGE(0): [drm] DRIScreenInit failed.  Disabling DRI.
(EE) SAVAGE(0): DRI isn't enabled[/b]
Back to top
View user's profile Send private message
dmvianna
l33t
l33t


Joined: 22 Mar 2004
Posts: 742
Location: Down Underland

PostPosted: Sun Apr 02, 2006 10:01 pm    Post subject: Reply with quote

Just some thoughts, with no confidence at all:

x11-libs/libdrm
x11-proto/xf86driproto


It might be also a good idea to compile

x11-drivers/xf86-video-vesa

and then

x11-drivers/xf86-video-savage

In light of my experience of the savage driver not compiling without that one being installed beforehand. Good luck! :wink:
_________________
Proprietary is theft. Pierre-Joseph Proudhon, if he had a chance
Powered by a MacBook Pro


Last edited by dmvianna on Sun Apr 02, 2006 10:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
dark.elixir
n00b
n00b


Joined: 03 Jan 2005
Posts: 13

PostPosted: Sun Apr 02, 2006 10:03 pm    Post subject: Reply with quote

Sorry. Already tried both. They compiled without any problem but the modules are still missing.
Back to top
View user's profile Send private message
RoundsToZero
Guru
Guru


Joined: 17 Nov 2003
Posts: 478
Location: New York, NY

PostPosted: Mon Apr 03, 2006 12:53 am    Post subject: Reply with quote

You could try equery b dri.ko and equery b savage.ko. This should show you what package those files belonged to, then you can reinstall those packages. However I see that these are modules that are included in the standard kernel, so why dont you just go back to /usr/src/linux, run make menuconfig, and check under Device Drivers->Character Devices and make sure Direct Rendering Manager and Savage Video Cards are both selected. Then quit out of that, and re-run make and make modules_install. Then you should get your modules back, in /lib/modules/...

EDIT: hm, looks like you got it working in the other thread
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Mon Apr 03, 2006 1:17 am    Post subject: Reply with quote

emerge module-rebuild. That automatically rebuilds modules (as the name implies. :D )
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
Page 1 of 1

 
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