Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
is there a standart vga driver for xorg ? [SOLVED]
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
reup
Guru
Guru


Joined: 13 May 2005
Posts: 419
Location: Nederland

PostPosted: Sat Jul 29, 2006 2:35 pm    Post subject: is there a standart vga driver for xorg ? [SOLVED] Reply with quote

hello all,

since upgrading my system, I lost it all !

I am slowly coming back to apache, mysql, php and the rest, but so far I fail to fix xorg

i dont get kdm loading anymore, gdm gives me the login screen but fail to let me to my sessions (below is what happen when I try to log in)

Code:

reup ~ # tail -f /var/log/Xorg.0.log
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+us" };
    xkb_geometry             { include "pc(pc105)" };
(--) Mouse0: PnP-detected protocol: "ExplorerPS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
(**) RADEON(0): RADEONSaveScreen(2)
(**) RADEON(0): RADEONSaveScreen(0)
(**) RADEON(0): RADEONSaveScreen(3)
(**) RADEON(0): RADEONSaveScreen(1)
(**) RADEON(0): RADEONLeaveVT
(**) RADEON(0): EngineRestore (16/16)
(**) RADEON(0): RADEONRestore
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x555555892f50)
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0):   MC_FB_LOCATION   : 0xffff0000
(**) RADEON(0):   MC_AGP_LOCATION  : 0x003fffc0
(**) RADEON(0):   Map Changed ! Applying ...
(**) RADEON(0):   Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): Wrote: 0x0000003c 0x000101e0 0x00000000 (0x0000a700)
(**) RADEON(0): Wrote: rd=60, fd=480, pd=1
(**) RADEON(0): Ok, leaving now...
(II) Open ACPI successful (/var/run/acpid.socket)
(**) RADEON(0): RADEONEnterVT
(**) RADEON(0): RADEONModeInit()
1600x1200     175.50  1600 1664 1856 2160  1200 1201 1204 1250 (16,16) +H +V
1600x1200     175.50  1600 1664 1856 2160  1200 1201 1204 1250 (16,16) +H +V
(**) RADEON(0): Pitch = 13631696 bytes (virtualX = 1600, displayWidth = 1664)
(**) RADEON(0): dc=17550, of=17550, fd=390, pd=1
(**) RADEON(0): RADEONInit returns 0x555555893900
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x555555893900)
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0):   MC_FB_LOCATION   : 0xe3ffe000
(**) RADEON(0):   MC_AGP_LOCATION  : 0xe47fe400
(**) RADEON(0):   Map Changed ! Applying ...
(**) RADEON(0):   Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): Wrote: 0x0000003c 0x00000186 0x00000000 (0x0000a700)
(**) RADEON(0): Wrote: rd=60, fd=390, pd=0
(**) RADEON(0): GRPH_BUFFER_CNTL from 20025c5c to 20125c5c
(II) RADEON(0): [RESUME] Attempting to re-init Radeon hardware.
(II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x10de/0x00e1; Card 0x1002/0x5159]
(**) RADEON(0): EngineRestore (16/16)
(**) RADEON(0): EngineRestore (16/16)
(**) RADEON(0): RADEONSaveScreen(2)
(II) Mouse0: ps2EnableDataReporting: succeeded
(**) RADEON(0): RADEONCloseScreen
(**) RADEON(0): RADEONDRIStop
(**) RADEON(0): EngineRestore (16/16)
(**) RADEON(0): RADEONDisplayPowerManagementSet(0,0x0)
(**) RADEON(0): RADEONRestore
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x555555892f50)
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0):   MC_FB_LOCATION   : 0xffff0000
(**) RADEON(0):   MC_AGP_LOCATION  : 0x003fffc0
(**) RADEON(0):   Map Changed ! Applying ...
(**) RADEON(0):   Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): Wrote: 0x0000003c 0x000101e0 0x00000000 (0x0000a700)
(**) RADEON(0): Wrote: rd=60, fd=480, pd=1
(**) RADEON(0): Disposing accel...
(**) RADEON(0): Disposing cusor info
(**) RADEON(0): Disposing DGA
(**) RADEON(0): Unmapping memory
(**) RADEON(0): RADEONDRICloseScreen
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0x10034000 at 0x2b86c7ac8000
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.


I try to reemerge the ATI drivers for X11, but still the same errors.

as the only messages I see are about radeon, I guess the error is something to do with it, so is there a standard vga driver for xorg ? so I can remove the entry about ati and see if it works

reup


Last edited by reup on Sun Jul 30, 2006 9:28 am; edited 1 time in total
Back to top
View user's profile Send private message
NotCourse6
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 79

PostPosted: Sat Jul 29, 2006 2:43 pm    Post subject: Reply with quote

As far as I know, if you have a radeon card you should be using xf86-video-ati instead of ati-drivers. Here's a copy of my xorg.conf just so you can reference it. I'm using a Radeon Mobility 7500

Code:

#---------------------------[Server Layout]---------------------------
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
       
#---------------------------[Files]---------------------------
Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

#---------------------------[Module]---------------------------
Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
        #from schmobag's xorg.conf (http://www-scf.usc.edu/~btubbs/xorg.conf)
        #Load "GLcore"
        #Load "bitmap"
        #Load "ddc"
        #SubSection "extmod"
        #       Option "omit xfree86-dga"
        #End SubSection
        #Load "int10"
        #Load "radeon"
        #Load "drm"
EndSection

#----------------------------[DRI]-----------------------------
Section "dri"
        Mode 0666
EndSection

#----------------------------[Input Device]--------------------------
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

#----------------------------[Input Device]--------------------------
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
EndSection

#----------------------------[Input Device]--------------------------

## Note: this section is not enabled yet cause I'm figuring it out

#Section "InputDevice"
#  Driver       "synaptics"
#  Identifier   "TouchPad"
#  Option       "Device"        "/dev/input/mouse0"
#  Option       "Protocol"      "auto-dev"
#  Option       "LeftEdge"      "1700"
#  Option       "RightEdge"     "5300"
#  Option       "TopEdge"       "1700"
#  Option       "BottomEdge"    "4200"
#  Option       "FingerLow"     "25"
#  Option       "FingerHigh"    "30"
#  Option       "MaxTapTime"    "180"
#  Option       "MaxTapMove"    "220"
#  Option       "VertScrollDelta" "100"
#  Option       "MinSpeed"      "0.09"
#  Option       "MaxSpeed"      "0.18"
#  Option       "AccelFactor"   "0.0015"
#  Option       "PalmMinWidth" "70"
#  Option       "PalmMinZ" "200"
#  Option       "SHMConfig"     "on"
#  Option       "CircularScrolling" "on"
#EndSection

#----------------------------[Monitor]--------------------------
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

#----------------------------[Device]----------------------------
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "BusType"                   # [<str>]
        #Option     "CPPIOMode"                 # [<bool>]
        #Option     "CPusecTimeout"             # <i>
        #Option     "AGPMode"                   # <i>
        #Option     "AGPFastWrite"              # [<bool>]
        #Option     "AGPSize"                   # <i>
        #Option     "GARTSize"                  # <i>
        #Option     "RingSize"                  # <i>
        #Option     "BufferSize"                # <i>
        #Option     "EnableDepthMoves"          # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "NoBackBuffer"              # [<bool>]
        #Option     "DRIReinit"                 # [<bool>]
        #Option     "PanelOff"                  # [<bool>]
        #Option     "DDCMode"                   # [<bool>]
        #Option     "MonitorLayout"             # [<str>]
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "MergedFB"                  # [<bool>]
        #Option     "CRT2HSync"                 # [<str>]
        #Option     "CRT2VRefresh"              # [<str>]
        #Option     "CRT2Position"              # [<str>]
        #Option     "MetaModes"                 # [<str>]
        #Option     "MergedDPI"                 # [<str>]
        #Option     "NoMergedXinerama"          # [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0"       # [<bool>]
        #Option     "DisplayPriority"           # [<str>]
        #Option     "PanelSize"                 # [<str>]
        #Option     "ForceMinDotClock"          # <freq>
        #Option     "RenderAccel"               # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "DynamicClocks"             # [<bool>]
        #Option     "VGAAccess"                 # [<bool>]
        #Option     "LVDSProbePLL"              # [<bool>]
        #Option     "ReverseDDC"                # [<bool>]
        #Option     "BIOSHotkeys"               # [<bool>]
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
        BusID       "PCI:1:0:0"
        Option      "RenderAccel"       "true"
        Option      "AGPMode"           "4"
        Option      "AGPFastWrite"      "true"
        Option      "EnablePageFlip"    "true"
        Option      "AccelMethod"       "exa"
        Option      "backingstore"      "true"
EndSection
       
#----------------------------[Screen]-----------------------------
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection


Hope that helps.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55450
Location: 56N 3W

PostPosted: Sat Jul 29, 2006 2:45 pm    Post subject: Reply with quote

reup,

The vesa driver is good on x86 and amd64.
With Xorg 6.8 you already have it.

With Xorg 7.0 you will need to add vesa to VIDEO_CARDS in make.conf and emerge x11-drivers/xf86-video-vesa
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
reup
Guru
Guru


Joined: 13 May 2005
Posts: 419
Location: Nederland

PostPosted: Sat Jul 29, 2006 5:03 pm    Post subject: Reply with quote

interesting, after installing the x11-drivers/xf86-video-vesa I had better result , but still it failed, now I can log in but it give me only the background, (I use kde but it is the same thing with fluxbox or other desktop manager)

I am now trying to reemerge xorg-server and it gave me back xf86-video-ati (I do have an ati card)

I will see after the emerge if it worked

thanks for your replies

reup
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55450
Location: 56N 3W

PostPosted: Sat Jul 29, 2006 5:21 pm    Post subject: Reply with quote

reup,

Since Xorg starts and gives you the graphical log in, your problem is not related to Xorg.

Run revdep-rebuild and try again after that completes. Its a part of gentoolkit, which you may need to emerge
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
reup
Guru
Guru


Joined: 13 May 2005
Posts: 419
Location: Nederland

PostPosted: Sat Jul 29, 2006 5:53 pm    Post subject: Reply with quote

yes, this is not a xorg problem, I just tryed xstart xterm and it works.

I did the revdep-rebuild this morning, and emerge all the one needed except kde-base/qtruby kde-base/korundum x11-libs/qt because tey fail, but now that I knwo this is not a xorg problem, it make sense that thisis a KDE problem, those 3 packet are needed for kde

I will try to emerge a simple blackbox or other and see if I have the same problem

reup
Back to top
View user's profile Send private message
reup
Guru
Guru


Joined: 13 May 2005
Posts: 419
Location: Nederland

PostPosted: Sat Jul 29, 2006 8:11 pm    Post subject: Reply with quote

anyone now how I can switch from one qt to another ?
Code:

eix -I qt
* x11-libs/qt
     Available versions:  3.3.4-r8 3.3.6-r1 4.1.2 4.1.3 4.1.4 *4.2.0_pre1
     Installed:           3.3.6-r1 4.1.4
     Homepage:            http://www.trolltech.com/
     Description:         The Qt toolkit is a comprehensive C++ application development framework.


2 are install, I knwo that 4.1.4 fail, that could be my problem, everytime I try to reemerge qt because of revdep-rebuild, it fail
Iwouldlike to force my system to use qt3

reup
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55450
Location: 56N 3W

PostPosted: Sat Jul 29, 2006 9:11 pm    Post subject: Reply with quote

reup,

The choice is not yours to make. By design, applications will use one or the other. You probably need both versions.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
reup
Guru
Guru


Joined: 13 May 2005
Posts: 419
Location: Nederland

PostPosted: Sat Jul 29, 2006 9:18 pm    Post subject: Reply with quote

well, that is probably my problem, qt4 fail at install, but probably kde 35 is trying to use it

I install as well blackbox and it fail the same way.

I run xdmp between this box and my other gentoo (laptop) and on the broken one, I can open a session from the laptop, while from the laptop, I cannot open a session from the main box.

reemerging qt4 now. will see
reup
Back to top
View user's profile Send private message
BRPXQZME
Apprentice
Apprentice


Joined: 23 Mar 2006
Posts: 163
Location: Centreville, VA

PostPosted: Sun Jul 30, 2006 3:39 am    Post subject: Reply with quote

I've had this problem before with funny CFLAGS... turns out, fontconfig hated -ftree-vectorize. GCC4 + funny CFLAGS = death, pain and suffering.

Might not be that for you, though.
_________________
Firefox is spelled F-i-r-e-f-o-x - only the first letter capitalized (i.e. not FireFox, not Foxfire, FoxFire or whatever else a number of folk seem to think it to be called.) The preferred abbreviation is "Fx" or "fx".

FF = Final Fantasy.
Back to top
View user's profile Send private message
reup
Guru
Guru


Joined: 13 May 2005
Posts: 419
Location: Nederland

PostPosted: Sun Jul 30, 2006 9:27 am    Post subject: Reply with quote

I think I will go the best road, I am downgrading from 3.5.3 to 3.5.2, the one I had before problem arise.

I should stop this topic as the subject has been answers already and now I am on a different problem.

thanks all for your help, I will add resolve to the subject and lets summerize :

is there a standart vga driver for xorg ?

NeddySeagoon wrote:


The vesa driver is good on x86 and amd64.
With Xorg 6.8 you already have it.

With Xorg 7.0 you will need to add vesa to VIDEO_CARDS in make.conf and emerge x11-drivers/xf86-video-vesa

_________________
reup

"Don't wiggle the tail of the frog in the oil of the frying peanuts"
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