Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Apr 2014, 19:41
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Video
i945gm video driver problem and solution
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Author Message
Wilsonb

Joined: 03 Jul 2007
Posts: 57

PostPosted: Sat 14 Jul 2007, 14:07    Post subject:  

Dougal wrote:
Quote:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)


To me that looks like a device node is missing...


Thanks, how do add it?
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Sat 14 Jul 2007, 18:01    Post subject:  

Wilsonb wrote:
Dougal wrote:
Quote:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)


To me that looks like a device node is missing...


Thanks, how do add it?


You'll need the mknod utility, found in the devx (or just taken from another distro...).
Then run:
Code:
mknod /dev/dri/card0 -m 0666 c 226 0


I hope those parameters are correct -- I had to google to find them.

Maybe Kirk can just make it and post the file here...

You should obviously have a look in /dev and see that it's really missing.

Another possible thing: in the thread where I found that info, it was mentioned that the driver might create that node on-the-fly, when you start X -- maybe you'll need to have the mknod utility so it can do it.

Where is Kirk? He should know better than me about these things.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
kirk

Joined: 11 Nov 2005
Posts: 1365
Location: florida

PostPosted: Sun 15 Jul 2007, 00:10    Post subject:  

Quote:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)


It's not that unusual to get that a few times. Do a lsmod and make sure you have:

intel_agp
agpgart

You might have somthing other than intel_agp, but you must have agpgart.

This looks bad:

Quote:
[drm] failed to load kernel module "i915"


Do a depmod -a and try again. I just tried dri on my laptop, it works fine. But this has an ati card. I'll try 217 on my wife's laptop (which has a 945gm) with the package I posted above and let you know how it goes. Might take a few days, she uses it a bit.
Back to top
View user's profile Send private message 
Wilsonb

Joined: 03 Jul 2007
Posts: 57

PostPosted: Sun 15 Jul 2007, 02:48    Post subject:  

Thank you so much for your time/effort.

I'm antisapating the results of the same chipset. I had it working with previpus build 2.16. (Dri Active for 945g.

Speaking of chipset, (stupid question), does puppy keep seperate hardware profiles? Selecting a specifichardware config at boot,depending on system booting up from
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Sun 15 Jul 2007, 06:08    Post subject:  

Wilsonb wrote:
does puppy keep seperate hardware profiles? Selecting a specifichardware config at boot,depending on system booting up from


Yes. In /etc/X11 you'll see xorg.conf files with profile names and they'll be copied over xorg.conf when you change HW.
Al the rest is autodetected at every boot.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
kirk

Joined: 11 Nov 2005
Posts: 1365
Location: florida

PostPosted: Sun 15 Jul 2007, 20:49    Post subject:  

Wilsonb,

I tried it on my wife's laptop (computer) and dri works. Here's what you should try.

1) Make a new pup_save file. You can boot with "puppy pfix=ram" boot option from CD and then reboot, this will get you another pup_save file.

2) Copy usr folder from the 945gm-stuff.tar.bz2 I posted above to /. DO NOT use the lib folder from the 945gm-stuff.tar.bz2 package. That's only for 2.16, you should have that stuff anyway. Which brings us to step 3.

3) Make sure you have /lib/modules/2.6.21.5/kernel/drivers/char/drm/drm.ko & i810.ko (or maybe i915.ko, don't remember). If you copy a module from the zdrv, make sure you do a depmod -a.

4) Add the
Quote:
Load "dri"
to your xorg.conf and restart X.

5) Test it out!
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 1877
Location: The Blue Marble

PostPosted: Tue 17 Jul 2007, 07:35    Post subject:  

Kirk,

Thanks for your tip. For the longest time I thought I couldn't get gxine to play DVD on xorg - in fact that was the advice I told a few ppl earlier. Your post allowed me to fix it - and now my Acer uses xorg (instead of Xvesa) with full acceleration and gxine plays even better than before.

cheers!
James

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Video
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0762s ][ Queries: 13 (0.0178s) ][ GZIP on ]