Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
|
|
04-19-2006, 09:41 AM
|
#1
|
Member
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65
Rep:
|
Intel 82915G/GV/910GL Dri not working at all
My direct rendering worked just fine until today when I upgraded Mesa to 6.5-r2 (because I wanted to upgrade my opengl version to 1.3 because it was 1.2 and I wanted to play glest ) and then I did some stupid things I guess ... combined the binaries snapshots from dri.freedesktop.org and stuff like that.
After I got mad with it I decided to remove everything ... and I did that including my gentoo-sources but I did not remove the mesa because I did not seem that mesa was the problem.
I've reinstalled gentoo-sources, built the i915 module in it and then tried to run Xorg7.
Everytime I try to run it with (Load glx and Load dri) My monitor blacks out but when I remove the modules everything goes fine just no direct rendering ... I'm listing some info in the next lines :
Code:
rrr # dmesg |grep drm
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized i915 1.4.0 20060119 on minor 0
rrr # dmesg |grep agp
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 915G Chipset.
agpgart: Detected 32508K stolen memory.
agpgart: AGP aperture is 256M @ 0xe0000000
This is my xorg log with glx and dri loaded (note: this is what I recover after a couple of ctrl+alt+del 's):
/var/log/Xorg.0.log
http://86.122.192.88/xorg/Xorg.0.log
and my xorg.conf:
http://86.122.192.88/xorg/xorg.conf
|
|
|
04-19-2006, 12:59 PM
|
#2
|
Member
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262
Rep:
|
Might be the problem is a missing library. Check /var/log/kdm.log and try running GTK apps from a console so you can see errors. Although there are no instructions for Xorg7.0 that I could find, I had to install most libraries that looked like libx???n.deb . (Debian)
Also, in your xorg.conf, YOU MUST NOT HAVE:
Code:
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
My modules:
Code:
Section "Module"
#broken Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
# Load "speedo"
Load "type1"
Load "vbe"
EndSection
Also, if you want xkb to work (<Ctl><Alt><F1>, etc), you have to set aside /etc/X11/xkb and put a symlink there to /usr/share/X11/xkb . Although for me, that link was somehow removed after a day or so, inexplicably. (Debian Sarge)
Last edited by Quantumstate; 04-19-2006 at 01:06 PM.
|
|
|
04-19-2006, 01:14 PM
|
#3
|
Member
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65
Original Poster
Rep:
|
I don't know if you saw my xorg.conf but i've attached in my first post ... i already have the paths that u told me and these are my modules:
Code:
Section "Module"
Load "glx"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "dri"
Load "freetype"
Load "type1"
EndSection
|
|
|
04-19-2006, 01:24 PM
|
#4
|
Member
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262
Rep:
|
I did see your xorg.conf. That's why I'm saying this.
Listen carefully now: NOT, NOT those lines! You must not have those lines. They are a big part of your problem.
|
|
|
04-19-2006, 01:34 PM
|
#5
|
Member
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65
Original Poster
Rep:
|
oh ... sorry ... thought you wrote with CAPITAL letter that those lines i didnt had to have I still understood something else ... sorry again
|
|
|
04-19-2006, 03:49 PM
|
#6
|
Member
Registered: May 2005
Location: North Carolina
Distribution: Gentoo
Posts: 123
Rep:
|
could you post your /proc/config.gz
I redid my kernel without editing my xorg, and now direct rendering doesn't work on my computer (it did b4 i changed the kernel)
thx
|
|
|
04-19-2006, 04:02 PM
|
#7
|
Member
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262
Rep:
|
I don't have a /proc/config.gz . (Debian Sarge) Is this the kernel parameters?
I'm in the process now of recompiling 2.6.16, due to advice here. I have direct rendering with Xorg 7.0, but video is slow and CPU is pegged, so I suspect kernel DRM or Mesa.
If you haven't already, follow these steps.
|
|
|
04-20-2006, 04:58 AM
|
#8
|
Member
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65
Original Poster
Rep:
|
Due to further changes that you said to do ( removing those lines from xorg.conf) I can't seem to get it working ... but I have observed that if i uncomment the dri module it works and only if I uncomment the glx module it freezes when I start Xorg.
Where does the glx module come from? (Xorg ?!)
Should I reinstall Xorg (7) ?
Note: I use to have the Load dri and glx modules commented out in xorg.conf
|
|
|
04-20-2006, 02:38 PM
|
#9
|
Member
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262
Rep:
|
kg4, you've removed the DRM kernel module, and now no direct rendering. This proves that you were improperly depending on it, rather than DRM from Xorg. (In Debian, /usr/lib/xorg/modules/linux/libdrm.so) I don't know what version of Xorg you're running, but I'm running 7.0, and used this. Also, tell us what AGP chipset you have, as I asked in the other thread.
Quote:
Originally Posted by rrr-jr
Note: I use to have the Load dri and glx modules commented out in xorg.conf
|
Set it exactly like mine, as I say.
Last edited by Quantumstate; 04-20-2006 at 03:01 PM.
|
|
|
04-20-2006, 03:46 PM
|
#10
|
Member
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262
Rep:
|
If your Xorg DRM library is there, and you are running v7.0, but
# grep "Direct rendering" /var/log/Xorg.0.log
(WW) R128(0): Direct rendering disabled
... check earlier in the log, and see if you have:
Code:
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
compiled for 7.0.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
There are no instructions for installing v7.0 that I could find, but in addition to all the libx???n libraries you need to install, it's a good idea to install all the protocol modules as well. I don't know about other distros, but in Debian the protocol modules start with x11-proto-???.
Last edited by Quantumstate; 04-20-2006 at 04:26 PM.
|
|
|
04-24-2006, 12:42 PM
|
#11
|
Member
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65
Original Poster
Rep:
|
Quote:
Originally Posted by Quantumstate
# grep "Direct rendering" /var/log/Xorg.0.log
|
this gives me the following ...:
Code:
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xf884c000
(II) I810(0): [drm] mapped SAREA 0xf884c000 to 0xb7b8b000
(II) I810(0): [drm] framebuffer handle = 0xe0020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): [drm] Registers = 0xf2000000
(II) I810(0): [drm] ring buffer = 0xe0000000
(II) I810(0): [drm] init sarea width,height = 1280 x 1024 (pitch 2048)
(II) I810(0): [drm] Mapping front buffer
(II) I810(0): [drm] Front Buffer = 0xe0020000
(II) I810(0): [drm] Back Buffer = 0xef000000
(II) I810(0): [drm] Depth Buffer = 0xee800000
(II) I810(0): [drm] textures = 0xe0c20000
(II) I810(0): [drm] Initialized kernel agp heap manager, 37486592
(II) I810(0): [drm] dma control initialized, using IRQ 16
(II) I810(0): [drm] installed DRM signal handler
I said earlier that not the drm module gives me problems but the glx, which if I uncomment in xorg.conf it freezes my whole computer.
Code:
# grep glx /var/log/Xorg.0.log
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
Last edited by rrr-jr; 04-24-2006 at 12:43 PM.
|
|
|
06-23-2006, 02:51 PM
|
#12
|
Member
Registered: Sep 2003
Location: USA
Distribution: Ubuntu Linux
Posts: 103
Rep:
|
I notice your driver is i810. Shouldn't you use an i910 driver? I have i915 and everything seems to work fine except for direct rendering.
|
|
|
All times are GMT -5. The time now is 04:35 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
|
|