Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Corrupt display using XFCE4.2, Beryl and XGL [Solved]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Fri Dec 29, 2006 9:51 pm    Post subject: Reply with quote

Yep, same thing happens.

EDIT: Hmm, it think it might have been something in the xorg.conf, I've just copied yours Nebvin but changed the settings that were different, and it seems to be alright now (Fingers crossed). Still can't understand why Beryl isn't being loaded when GDM is loaded though.

EDIT: This is wierd this, every so often, if I start up Opera, Opera will go corrupt like in the second photo I posted but everywhere else on the screen is fine.
_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sat Dec 30, 2006 11:55 am    Post subject: Reply with quote

It's this XGL making the screen all corrupt, I just started X and XGL using startxgl and I could see the three windows but the screen messed up again.

Nebvin, did you follow those guides word for word or did you make any adjustments to them?
_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
Nebvin
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2002
Posts: 83
Location: Alberta, Canada

PostPosted: Sat Dec 30, 2006 2:13 pm    Post subject: Reply with quote

Word for word. Only difference is I am using Gnome and you have XFCE.

To answer a previous question of yours, Beryl is not loading with GDM because it is a window manager. XFCE normally uses xfwm (from the xfwm4 package) but when using Beryl xfwm doesn't get loaded at all, it is replaced by Beryl, which uses Emerald to actually display window borders. GDM has no need for a window manager.
_________________
Nebbie
"There are 10 types of people in the world, those that understand binary and those that don't."
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sat Dec 30, 2006 3:50 pm    Post subject: Reply with quote

Here's my Xorg.0.log, xorg.conf and my make.conf, maybe I missed something in that.

Code:
Section "ServerLayout"
        Identifier     "Simple Layout"
        Screen      0  "aticonfig-Screen[0]" 0 0
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
        Option "AIGLX"   "false"
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dbe"     # Double buffer extension
        SubSection "extmod"
                Option      "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "freetype"
        Load  "dri"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "kbd"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "gb"
   Option       "XkbVariant" "gb"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "Auto"   # Auto detect
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
   Option      "Emulate3Buttons"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
        Option "Capabilities"               "0x00000800" #Enable V-Sync
        Option "backingstore"               "true"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1680x1050" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "dri"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "false"
EndSection


Code:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="cups crypt dri glitz -gnome -kde ipv6 nls pam pdf png python ssl X zlib"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="radeon fglrx vesa"
PORTDIR_OVERLAY="/usr/local/layman/xeffects"

GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk "

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"


I'll upload the Xorg.0.log.

http://rapidshare.com/files/9537117/Xorg.0.log.html
_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
Nebvin
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2002
Posts: 83
Location: Alberta, Canada

PostPosted: Sat Dec 30, 2006 4:48 pm    Post subject: Reply with quote

Your Xorg log is almost identical to mine, although one thing I found was that ati-drivers appear to have been compiled when you had Xorg 7.1.0 installed, and now you have 7.1.1 installed. Perhaps try recompiling ati-drivers? It's a long shot, your ati-drivers are still compatible with 7.1.1, but there may have been a bug fix or something that effects teh way ati-drivers gets compiled.

Other then that, the only thing I can suggest is trying Gnome. Or a 2.6.19 kernel. Those are the only 2 things left that are different on your machine. Another thing to try is old ati-drivers. I'll have a peek and see what everyone thinks is the best stable version at the moment. I need to run the latest because it's the first that supports my X1950 Pro, but perhaps ATI added a bug to the drivers when they added that support.
_________________
Nebbie
"There are 10 types of people in the world, those that understand binary and those that don't."
Back to top
View user's profile Send private message
Nebvin
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2002
Posts: 83
Location: Alberta, Canada

PostPosted: Sat Dec 30, 2006 4:58 pm    Post subject: Reply with quote

Something else thats kind of a long shot, that line I added to xorg.conf to enable vsync apperently doesn't work for me, I'm still getting 600+ fps in Xgl (and tearing while moving windows). The tearing issue is more of a problem for LCDs then CRTs, and it appears you are using a CRT from your xorg.conf and pictures. You might want to remove that line from xorg.conf just incase I got my information wrong and you are enabling/disabling something that is causing these problems for you.

On the same subject, if anyone that is browsing this thread knows how to enable vsync on X1950 Pro with XGL, please let me know!
_________________
Nebbie
"There are 10 types of people in the world, those that understand binary and those that don't."
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sat Dec 30, 2006 5:43 pm    Post subject: Reply with quote

Hmm, well I actually had to recompile the drivers from ATI's website again because I was missing the aticonfig program. I copied and pasted your xorg.conf and just made the relevant adjustments.

Can I use a different kernel without having to reinstall Gentoo?

Oh, and did you check out my Xorg.0.log by any chance?

And I'm actually using a 20.1" WS monitor, NEC 20WGX2.
_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
Nebvin
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2002
Posts: 83
Location: Alberta, Canada

PostPosted: Sat Dec 30, 2006 6:29 pm    Post subject: Reply with quote

I meant, run
Code:
emerge ati-drivers


If you are running a stable system, you'll have to add
Code:
x11-drivers/ati-drivers

to /etc/portage/package.keywords

If you are running the install script from ATIs webpage, then that might be the source of your problems. I'm not sure if that script will break gentoo's system for organizing opengl providers, but if you can uninstall the ATI drivers (if you are using the ones from their site). After you've uninstalled (or failed to uninstall, but we'll give it a try anyways) your previous drivers, run:
Code:
eselect opengl set xorg-x11
emerge ati-drivers
eselect opengl set ati


You have a working xorg.conf now so you wont need aticonfig. That program may be available in ati-drivers-extra but I don't think that ebuild has been updated yet.

Yeah, I did check out your Xorg log, that is where I found that you were running ati-drivers compiled for an earlier Xorg. The rest of it looks perfect.

You can install another kernel without reinstalling gentoo. As long as you don't destroy important programs like glibc, binutils, or gcc, you should never have to reinstall gentoo on this machine again. You might want to wait to experiment with changing kernels until after your other issues are all sorted out, as problems with the kernel can be a bit more frustrating to solve (as your computer might not even boot). If you do want to try a newer kernel you can update to the latest gentoo-sources (have to add sys-kernel/gentoo-sources to /etc/portage/package.keywords) or run
Code:
layman -a custom-kernels
and check out the threads in this forum for information on the different kernels. Once you've decided on one to use (and I'd recommend sticking with gentoo-sources and genkernel for now if you are new kernel configuration) follow the directions at http://www.gentoo.org/doc/en/kernel-upgrade.xml to upgrade. It is a good idea to get familiar with manually configuring a kernel at some point, but it is not necessary.

Although again I'll point out that it might be a better idea to not change the kernel until we've tried everything else unless you feel the need to experiement on something different right now.
_________________
Nebbie
"There are 10 types of people in the world, those that understand binary and those that don't."
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sat Dec 30, 2006 8:21 pm    Post subject: Reply with quote

Just updated to the Gentoo Sources 2.6.19-r2 kernel, re-emerged the ATI drivers and XGL is still doing the same damn thing.

How do I install the 2.6.19-r2 Beyond kernel?

EDIT: What version of X are you using Nebvin?
_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
Nebvin
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2002
Posts: 83
Location: Alberta, Canada

PostPosted: Sat Dec 30, 2006 9:09 pm    Post subject: Reply with quote

Xorg is 7.1.1, same as yours. beyond2 will probably not help your problem, but you can give it a try. Use layman to get the custom-kernels overlay
Code:
layman -a custom-kernels

and then
Code:
emerge beyond-sources
eselect kernel set linux-2.6.19-beyond2

Then follow the directions from the wiki article I linked to previously.

At this point it can really be only 1 of 3 things that I can think of: your video card has some wierd hardware problem (very unlikely), XFCE is doing something weird (could be, but gdm shouldn't be effected then and you are getting corruption there as well), or there is some other program that is causing this, which may be hard to troubleshoot. Easiest way is to upgrade to the latest testing version of all your programs, although you are almost garaunteed to have other problems at some point by doing this. If you want to try anyways:

Add
Code:
ACCEPT_KEYWORDS="~amd64 ~x86"

to make.conf, then
Code:
emerge world -uDav --newuse

To upgrade to the latest. My system is stable enough for me, but I can usually take care of any problem that does crop up. You can always remove the above line from make.conf and rerunning emerge world to go back to your previous versions as well. This isn't recommended though, it is just something you can try if you are feeling really adventurous. System breakage may happen, some programs may give you problems. These versions of programs have not been tested as thouroughly as the stable versions.
_________________
Nebbie
"There are 10 types of people in the world, those that understand binary and those that don't."
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sat Dec 30, 2006 9:13 pm    Post subject: Reply with quote

Cheers, I'll give it a go. I don't mind completely reinstalling Gentoo if needs be, only takes a couple of hours.
_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
Nebvin
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2002
Posts: 83
Location: Alberta, Canada

PostPosted: Sat Dec 30, 2006 9:43 pm    Post subject: Reply with quote

Yeah, I have an E6600 as well, and it's overclocked. Doesn't take long at all to get the system compiled.
_________________
Nebbie
"There are 10 types of people in the world, those that understand binary and those that don't."
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sun Dec 31, 2006 5:15 am    Post subject: Reply with quote

Ok, just done another reinstall of Gentoo, but this time I let X emerge the ATI drivers. Then I unmerged them, re-emerged them and selected ATI opengl and the same thing happened when I ran startxgl, corrupt display. All I did after I installed Gentoo was install X then layman and XGL. I'm pretty sure it's got something to do with the xorg.conf, but what, I don't know.

What motherboard do you have Nebvin and what slot do you have your GFX card in?
_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sun Dec 31, 2006 5:36 am    Post subject: Reply with quote

Jimi... wrote:
Ok, just done another reinstall of Gentoo, but this time I let X emerge the ATI drivers. Then I unmerged them, re-emerged them and selected ATI opengl and the same thing happened when I ran startxgl, corrupt display. All I did after I installed Gentoo was install X then layman and XGL. I'm pretty sure it's got something to do with the xorg.conf, but what, I don't know.

What motherboard do you have Nebvin and what slot do you have your GFX card in?


this is 100% the fault of your xorg.conf, STOP reinstalling gentoo...

try putting this in your "device" section
Code:
Option      "PseudoColorVisuals" "off"

_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sun Dec 31, 2006 6:06 am    Post subject: Reply with quote

rmh3093 wrote:
Jimi... wrote:
Ok, just done another reinstall of Gentoo, but this time I let X emerge the ATI drivers. Then I unmerged them, re-emerged them and selected ATI opengl and the same thing happened when I ran startxgl, corrupt display. All I did after I installed Gentoo was install X then layman and XGL. I'm pretty sure it's got something to do with the xorg.conf, but what, I don't know.

What motherboard do you have Nebvin and what slot do you have your GFX card in?


this is 100% the fault of your xorg.conf, STOP reinstalling gentoo...

try putting this in your "device" section
Code:
Option      "PseudoColorVisuals" "off"


Doesn't work, still getting the display corruption.
_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
Nebvin
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2002
Posts: 83
Location: Alberta, Canada

PostPosted: Sun Dec 31, 2006 6:47 am    Post subject: Reply with quote

It's a Gigabyte DQ6, using the main PCI-E 16x slot. It's newer hardware then what you have, your board should be better supported.

Is it still just Opera that is giving you problems?
_________________
Nebbie
"There are 10 types of people in the world, those that understand binary and those that don't."
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sun Dec 31, 2006 6:49 am    Post subject: Reply with quote

No, everything is working perfectly apart from this damned XGL. :(
_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sun Dec 31, 2006 6:53 am    Post subject: Reply with quote

Jimi... wrote:
No, everything is working perfectly apart from this damned XGL. :(


can you post your xorg.conf again.... (if its different that it was before when you posted it)
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sun Dec 31, 2006 6:55 am    Post subject: Reply with quote

Sure, I think it's exactly the same as Nebvin's actually.

http://rapidshare.com/files/9614037/Xorg.0.log.html
_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sun Dec 31, 2006 7:03 am    Post subject: Reply with quote

Jimi... wrote:
Sure, I think it's exactly the same as Nebvin's actually.

http://rapidshare.com/files/9614037/Xorg.0.log.html

xorg.conf not Xorg.log
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sun Dec 31, 2006 7:05 am    Post subject: Reply with quote

Oops, sorry (it's getting late).

Code:
Section "ServerLayout"
        Identifier     "Simple Layout"
        Screen      0  "Main Screen" 0 0
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
        Option "AIGLX"   "false"
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dbe"     # Double buffer extension
        SubSection "extmod"
                Option      "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "freetype"
        Load  "dri"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "kbd"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "gb"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "ExplorerPS/2"   # Explorer PS/2
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "LCD Monitor"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "ATI Video"
        Driver      "fglrx"
        Option "backingstore"               "true"
        Option      "PseudoColorVisuals" "off"
EndSection

Section "Screen"
        Identifier "Main Screen"
        Device     "ATI Video"
        Monitor    "LCD Monitor"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1680x1050" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "dri"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "false"
EndSection

_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
Nebvin
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2002
Posts: 83
Location: Alberta, Canada

PostPosted: Sun Dec 31, 2006 6:40 pm    Post subject: Reply with quote

If you haven't already, try the stable ati-drivers in portage
Code:
emerge =x11-drivers/ati-drivers-8.27.10-r1

As long as that goes smoothly, remove the current driver from the running kernel and load the new one (or just reset the computer, that will do it too)
Code:
modprobe -r fglrx
modprobe fglrx

_________________
Nebbie
"There are 10 types of people in the world, those that understand binary and those that don't."
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sun Dec 31, 2006 7:12 pm    Post subject: Reply with quote

Nebvin wrote:
If you haven't already, try the stable ati-drivers in portage
Code:
emerge =x11-drivers/ati-drivers-8.27.10-r1

As long as that goes smoothly, remove the current driver from the running kernel and load the new one (or just reset the computer, that will do it too)
Code:
modprobe -r fglrx
modprobe fglrx


yeah im using the 8.27.xx drivers.... they are the last ones to work with vesafb properly so I refuse to upgrade
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Sun Dec 31, 2006 7:50 pm    Post subject: Reply with quote

I tried emerging the 8.27.10-r1 ATI drivers but keep getting the following error:

Code:
install: cannot stat 'fglrx.ko': No such file or directory

_________________
Asus P5W DH Deluxe
Intel C2D E6600
ATI X1900XT
2GB G.Skill HZ
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Sun Dec 31, 2006 8:16 pm    Post subject: Reply with quote

Jimi... wrote:
I tried emerging the 8.27.10-r1 ATI drivers but keep getting the following error:

Code:
install: cannot stat 'fglrx.ko': No such file or directory


that means that it did not compile... what kernel version are you using... you need to do some simple tricks to get it to compile with a 2.6.19 kernel
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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